Skip to content

Add boolean to enable/disable TPC QA plots + add centralityVsNch QA plot#5123

Merged
njacazio merged 7 commits into
AliceO2Group:masterfrom
romainschotter:master
Mar 13, 2024
Merged

Add boolean to enable/disable TPC QA plots + add centralityVsNch QA plot#5123
njacazio merged 7 commits into
AliceO2Group:masterfrom
romainschotter:master

Conversation

@romainschotter

Copy link
Copy Markdown
Collaborator
  • Add boolean to enable/disable TPC QA plots
  • Add centralityVsNch QA plot in real and MC data processing functions


// TOF PID
// Positive track
if (fabs(v0.posTOFDeltaTLaPr()) < maxDeltaTimeProton)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @romainschotter, is this not equivalent to the preceding block? Or maybe I am missing something?... sorry if so!

histos.add("AntiLambda/h3dNegNsigmaTPCvsTrackPt", "h3dNegNsigmaTPCvsTrackPt", kTH3F, {axisCentrality, axisPtCoarse, axisNsigmaTPC});
histos.add("AntiLambda/h3dPosTPCsignalVsTrackPt", "h3dPosTPCsignalVsTrackPt", kTH3F, {axisCentrality, axisPtCoarse, axisTPCsignal});
histos.add("AntiLambda/h3dNegTPCsignalVsTrackPt", "h3dNegTPCsignalVsTrackPt", kTH3F, {axisCentrality, axisPtCoarse, axisTPCsignal});
if (doTPCQA) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add an if(doTPCQA) statement also to the filling of the histograms (line 610 and others) or the task will crash due to histograms not found... can you please adjust? Thanks!

@njacazio

Copy link
Copy Markdown
Collaborator

I will wait for @romainschotter to comment on the status of the changes before merging

@romainschotter

Copy link
Copy Markdown
Collaborator Author

@njacazio you can go ahead and start merging. I have fixed the issues raised by David. Thank you very much!

@njacazio njacazio merged commit 46e15ff into AliceO2Group:master Mar 13, 2024
wuctlby pushed a commit to wuctlby/O2Physics that referenced this pull request Mar 17, 2024
…lot (AliceO2Group#5123)

* Megalinter again

* Megalinter again v2

* Add TOF selections + fix generated candidates loop

* Fix whitespaces

* Add boolean to enable/disable TPC QA plots + add centralityVsNch QA plot

* Fix clang and whitespaces

* Remove duplicated checks + enable/disable TPC QA plots filling
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request May 17, 2024
…lot (AliceO2Group#5123)

* Megalinter again

* Megalinter again v2

* Add TOF selections + fix generated candidates loop

* Fix whitespaces

* Add boolean to enable/disable TPC QA plots + add centralityVsNch QA plot

* Fix clang and whitespaces

* Remove duplicated checks + enable/disable TPC QA plots filling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants