@@ -201,9 +201,14 @@ struct NonPromptCascadeTask {
201201 Configurable<float > cfgMinCosPA{" cfgMinCosPA" , -1 .f , " Minimum cosine of pointing angle" };
202202 Configurable<LabeledArray<float >> cfgCutsPID{" particlesCutsPID" , {cutsPID[0 ], nParticles, nCutsPID, particlesNames, cutsNames}, " Nuclei PID selections" };
203203 Configurable<bool > cfgSkimmedProcessing{" cfgSkimmedProcessing" , true , " Skimmed dataset processing" };
204- Configurable< bool > cfgReducedOutput{ " cfgReducedOutput " , true , " Reduce the number of histos in output " };
204+
205205 Configurable<std::string> cfgTriggersOfInterest{" cfgTriggersOfInterest" , " fTrackedOmega,fOmegaHighMult" , " Triggers of interest, comma separated for Zorro" };
206206
207+ Configurable<float > cfgMaxMult{" cfgMaxMult" , 8000 .f , " Upper range of multiplicty histo" };
208+ Configurable<float > cfgMinMult{" cfgMinMult" , 3000 .f , " Lower range of FT0M histo in zoomed histo" };
209+ Configurable<float > cfgMaxCent{" cfgMaxCent" , 8 .0025f , " Upper range of FT0M histo" };
210+
211+
207212 Zorro mZorro ;
208213 OutputObj<ZorroSummary> mZorroSummary {" ZorroSummary" };
209214 SliceCache cache;
@@ -219,10 +224,13 @@ struct NonPromptCascadeTask {
219224 std::unordered_map<std::string, std::shared_ptr<TH2>> mHistsPerRunNtracktVsCent ;
220225 std::unordered_map<std::string, std::shared_ptr<TH2>> mHistsPerRunNtracktVsCentZoom ;
221226
222- AxisSpec multAxis = {8000 , 0 , 8000 , " Multiplicity FT0M" };
223- AxisSpec centAxis = {1621 , -0.025 , 81.025 , " Centrality" };
224- AxisSpec centAxisZoom = {1601 , -0.0025 , 8.0025 , " Centrality" };
225- AxisSpec multAxisZoom = {5000 , 3000 , 8000 , " Multiplicity FT0M" };
227+ int nBinsMult = cfgMaxMult;
228+ int nBinsMultZoom = cfgMaxMult - cfgMinMult;
229+ int nBinsCentZoom = (cfgMaxCent + 0.0025 )/0.005 ;
230+ AxisSpec multAxis = {nBinsMult, 0 , cfgMaxMult, " Multiplicity FT0M" };
231+ AxisSpec centAxis = {101 , -0.025 , 101.025 , " Centrality" };
232+ AxisSpec centAxisZoom = {nBinsCentZoom, -0.0025 , cfgMaxCent, " Centrality" };
233+ AxisSpec multAxisZoom = {nBinsMultZoom, cfgMinMult, cfgMaxMult, " Multiplicity FT0M" };
226234 AxisSpec nTracksAxis = {100 , 0 ., 100 ., " NTracksGlobal" };
227235
228236 void initCCDB (aod::BCsWithTimestamps::iterator const & bc)
@@ -343,20 +351,16 @@ struct NonPromptCascadeTask {
343351 std::string histNameMvCZ = " mult/hMultVsCentZoom_run" + std::to_string (mRunNumber );
344352 std::string histNameTvC = " mult/hNTracksVsCent_run" + std::to_string (mRunNumber );
345353 std::string histNameTvCZ = " mult/hNTracksVsCentZoom_run" + std::to_string (mRunNumber );
346- if (!mHistsPerRunMultVsCentZoom .contains (histNameMvCZ)) {
354+ if (!mHistsPerRunMultVsCent .contains (histNameMvC)) {
355+ mHistsPerRunMultVsCent [histNameMvC] = std::get<std::shared_ptr<TH2>>(mRegistry .add (histNameMvC.c_str (), histNameMvC.c_str (), HistType::kTH2F , {centAxis, multAxis}));
347356 mHistsPerRunMultVsCentZoom [histNameMvCZ] = std::get<std::shared_ptr<TH2>>(mRegistry .add (histNameMvCZ.c_str (), histNameMvCZ.c_str (), HistType::kTH2F , {centAxisZoom, multAxisZoom}));
357+ mHistsPerRunNtracktVsCent [histNameTvC] = std::get<std::shared_ptr<TH2>>(mRegistry .add (histNameTvC.c_str (), histNameTvC.c_str (), HistType::kTH2F , {centAxis, nTracksAxis}));
348358 mHistsPerRunNtracktVsCentZoom [histNameTvCZ] = std::get<std::shared_ptr<TH2>>(mRegistry .add (histNameTvCZ.c_str (), histNameTvCZ.c_str (), HistType::kTH2F , {centAxisZoom, nTracksAxis}));
349- if (!cfgReducedOutput) {
350- mHistsPerRunMultVsCent [histNameMvC] = std::get<std::shared_ptr<TH2>>(mRegistry .add (histNameMvC.c_str (), histNameMvC.c_str (), HistType::kTH2F , {centAxis, multAxis}));
351- mHistsPerRunNtracktVsCent [histNameTvC] = std::get<std::shared_ptr<TH2>>(mRegistry .add (histNameTvC.c_str (), histNameTvC.c_str (), HistType::kTH2F , {centAxis, nTracksAxis}));
352- }
353359 }
360+ mHistsPerRunMultVsCent [histNameMvC]->Fill (coll.centFT0M (), coll.multFT0M ());
354361 mHistsPerRunMultVsCentZoom [histNameMvCZ]->Fill (coll.centFT0M (), coll.multFT0M ());
362+ mHistsPerRunNtracktVsCent [histNameTvC]->Fill (coll.centFT0M (), coll.multNTracksGlobal ());
355363 mHistsPerRunNtracktVsCentZoom [histNameTvCZ]->Fill (coll.centFT0M (), coll.multNTracksGlobal ());
356- if (!cfgReducedOutput) {
357- mHistsPerRunMultVsCent [histNameMvC]->Fill (coll.centFT0M (), coll.multFT0M ());
358- mHistsPerRunNtracktVsCent [histNameTvC]->Fill (coll.centFT0M (), coll.multNTracksGlobal ());
359- }
360364 // run integrated histos
361365 mRegistry .fill (HIST (" hMultVsCent" ), coll.centFT0M (), coll.multFT0M ());
362366 mRegistry .fill (HIST (" hMultVsCentZoom" ), coll.centFT0M (), coll.multFT0M ());
0 commit comments