6969#include < cstdint>
7070#include < cstdlib>
7171#include < cstring>
72+ #include < memory>
7273#include < string>
7374#include < unordered_set>
7475#include < vector>
@@ -400,7 +401,6 @@ struct he3HadronFemto {
400401 o2::aod::ITSResponse mResponseITS ;
401402
402403 std::vector<bool > mGoodCollisions ;
403- std::vector<bool > mRecoMcCollisions ;
404404 std::vector<int > mMcCollisionIdToRecoCollisionId ;
405405 std::vector<uint32_t > mCollisionSelectionFlags ;
406406 std::vector<SVCand> mTrackPairs ;
@@ -421,39 +421,12 @@ struct he3HadronFemto {
421421 {" hVtxZ" , " Vertex distribution in Z;Z (cm)" , {HistType::kTH1F , {{400 , -20.0 , 20.0 }}}},
422422 {" hCentralityFT0A" , " ;Centrality FT0A (%)" , {HistType::kTH1F , {{100 , 0 , 100.0 }}}},
423423 {" hCentralityFT0C" , " ;Centrality FT0C (%)" , {HistType::kTH1F , {{100 , 0 , 100.0 }}}},
424- {" hNcontributor" , " Number of primary vertex contributor" , {HistType::kTH1F , {{2000 , 0 .0f , 2000 .0f }}}},
424+ {" hNcontributor" , " Number of primary vertex contributor" , {HistType::kTH1F , {{200 , 0 .0f , 2000 .0f }}}},
425425 {" hTrackSel" , " Accepted tracks" , {HistType::kTH1F , {{Selections::kAll , -0.5 , static_cast <double >(Selections::kAll ) - 0.5 }}}},
426426 {" hEmptyPool" , " svPoolCreator did not find track pairs false/true" , {HistType::kTH1F , {{2 , -0.5 , 1.5 }}}},
427427 {" hhe3HadInvMass" , " ; M(^{3}He + p) (GeV/#it{c}^{2})" , {HistType::kTH1F , {{300 , 3 .74f , 4 .34f }}}},
428428 {" hhe3HadKstar" , " ; #it{k}* (GeV/#it{c})" , {HistType::kTH1F , {{300 , 0 .f , 0 .8f }}}},
429429 {" hKstarRecVsKstarGen" , " ; #it{k}*_{gen} (GeV/#it{c}); #it{k}*_{rec} (GeV/#it{c})" , {HistType::kTH2F , {{400 , 0 .f , 0 .8f }, {400 , 0 .f , 0 .8f }}}},
430-
431- {" He3/hDCAxyHe3" , " ^{3}He;DCA_{xy} (cm)" , {HistType::kTH1F , {{200 , -0 .5f , 0 .5f }}}},
432- {" He3/hDCAzHe3" , " ^{3}He;DCA_{z} (cm)" , {HistType::kTH1F , {{200 , -1 .0f , 1 .0f }}}},
433- {" He3/hNClsHe3ITS" , " ^{3}He;N_{ITS} Cluster" , {HistType::kTH1F , {{20 , -10 .0f , 10 .0f }}}},
434- {" He3/hChi2NClHe3ITS" , " ^{3}He;Chi2_{ITS} Ncluster" , {HistType::kTH1F , {{100 , 0 , 100 .0f }}}},
435- {" He3/hHe3Pt" , " ^{3}He; #it{p}_{T} (GeV/#it{c})" , {HistType::kTH1F , {{240 , -6 .0f , 6 .0f }}}},
436- {" He3/h2dEdxHe3candidates" , " dEdx distribution; #it{p} (GeV/#it{c}); dE/dx (a.u.)" , {HistType::kTH2F , {{200 , -5 .0f , 5 .0f }, {100 , 0 .0f , 2000 .0f }}}},
437- {" He3/h2NsigmaHe3ITS" , " NsigmaHe3 ITS distribution; signed #it{p}_{T} (GeV/#it{c}); n#sigma_{ITS}(^{3}He); Centrality FT0C (%)" , {HistType::kTH3F , {{100 , -5 .0f , 5 .0f }, {120 , -3 .0f , 3 .0f }, {100 , 0 .0f , 100 .0f }}}},
438- {" He3/h2NsigmaHe3ITS_preselection" , " NsigmaHe3 ITS distribution; signed #it{p}_{T} (GeV/#it{c}); n#sigma_{ITS}(^{3}He); Centrality FT0C (%)" , {HistType::kTH3F , {{50 , -5 .0f , 5 .0f }, {120 , -3 .0f , 3 .0f }, {100 , 0 .0f , 100 .0f }}}},
439- {" He3/h2NsigmaHe3TPC" , " NsigmaHe3 TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(^{3}He); Centrality FT0C (%)" , {HistType::kTH3F , {{100 , -5 .0f , 5 .0f }, {200 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }}}},
440- {" He3/h2NsigmaHe3TPC_preselection" , " NsigmaHe3 TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(^{3}He); Centrality FT0C (%)" , {HistType::kTH3F , {{100 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
441-
442- {" Had/hDCAxyHad" , " had;DCA_{xy} (cm)" , {HistType::kTH1F , {{200 , -0 .5f , 0 .5f }}}},
443- {" Had/hDCAzHad" , " had;DCA_{z} (cm)" , {HistType::kTH1F , {{200 , -1 .0f , 1 .0f }}}},
444- {" Had/hNClsHadITS" , " had;N_{ITS} Cluster" , {HistType::kTH1F , {{20 , -10 .0f , 10 .0f }}}},
445- {" Had/hChi2NClHadITS" , " had;Chi2_{ITS} Ncluster" , {HistType::kTH1F , {{100 , 0 , 100 .0f }}}},
446- {" Had/hHadronPt" , " had; #it{p}_{T} (GeV/#it{c})" , {HistType::kTH1F , {{120 , -3 .0f , 3 .0f }}}},
447- {" Had/h2NsigmaHadronITS" , " NsigmaHadron ITS distribution; #it{p}_{T}(GeV/#it{c}); n#sigma_{ITS}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {200 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }}}},
448- {" Had/h2NsigmaHadronITS_preselection" , " NsigmaHadron ITS distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{ITS}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
449- {" Had/h2NsigmaHadronTPC" , " NsigmaHadron TPC distribution; #it{p}_{T}(GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {200 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }}}},
450- {" Had/h2NsigmaHadronTPC_preselection" , " NsigmaHadron TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
451- {" Had/h2NsigmaHadronTPC_mcBackground" , " NsigmaHadron TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
452- {" Had/h2NsigmaHadronTPC_mcSignal" , " NsigmaHadron TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
453- {" Had/h2NsigmaHadronTOF" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {200 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }}}},
454- {" Had/h2NsigmaHadronTOF_preselection" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
455- {" Had/h2NsigmaHadronTOF_mcBackground" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
456- {" Had/h2NsigmaHadronTOF_mcSignal" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , {HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }}}},
457430 },
458431 OutputObjHandlingPolicy::AnalysisObject,
459432 false ,
@@ -540,44 +513,76 @@ struct he3HadronFemto {
540513 mQaRegistry .get <TH1 >(HIST (" hEmptyPool" ))->GetXaxis ()->SetBinLabel (1 , " False" );
541514 mQaRegistry .get <TH1 >(HIST (" hEmptyPool" ))->GetXaxis ()->SetBinLabel (2 , " True" );
542515
516+ if (doprocessSameEvent || doprocessMixedEvent || doprocessMC || doprocessPurity || doprocessPurityMc) {
517+ mQaRegistry .add <TH1 >(" He3/hDCAxyHe3" , " ^{3}He;DCA_{xy} (cm)" , HistType::kTH1F , {{200 , -0 .5f , 0 .5f }});
518+ mQaRegistry .add <TH1 >(" He3/hDCAzHe3" , " ^{3}He;DCA_{z} (cm)" , HistType::kTH1F , {{200 , -1 .0f , 1 .0f }});
519+ mQaRegistry .add <TH1 >(" He3/hNClsHe3ITS" , " ^{3}He;N_{ITS} Cluster" , HistType::kTH1F , {{20 , -10 .0f , 10 .0f }});
520+ mQaRegistry .add <TH1 >(" He3/hChi2NClHe3ITS" , " ^{3}He;Chi2_{ITS} Ncluster" , HistType::kTH1F , {{100 , 0 , 100 .0f }});
521+ mQaRegistry .add <TH1 >(" He3/hHe3Pt" , " ^{3}He; #it{p}_{T} (GeV/#it{c})" , HistType::kTH1F , {{240 , -6 .0f , 6 .0f }});
522+ mQaRegistry .add <TH2 >(" He3/h2dEdxHe3candidates" , " dEdx distribution; #it{p} (GeV/#it{c}); dE/dx (a.u.)" , HistType::kTH2F , {{200 , -5 .0f , 5 .0f }, {100 , 0 .0f , 2000 .0f }});
523+ mQaRegistry .add <TH3 >(" He3/h2NsigmaHe3ITS" , " NsigmaHe3 ITS distribution; signed #it{p}_{T} (GeV/#it{c}); n#sigma_{ITS}(^{3}He); Centrality FT0C (%)" , HistType::kTH3F , {{100 , -5 .0f , 5 .0f }, {120 , -3 .0f , 3 .0f }, {100 , 0 .0f , 100 .0f }});
524+ mQaRegistry .add <TH3 >(" He3/h2NsigmaHe3ITS_preselection" , " NsigmaHe3 ITS distribution; signed #it{p}_{T} (GeV/#it{c}); n#sigma_{ITS}(^{3}He); Centrality FT0C (%)" , HistType::kTH3F , {{50 , -5 .0f , 5 .0f }, {120 , -3 .0f , 3 .0f }, {100 , 0 .0f , 100 .0f }});
525+ mQaRegistry .add <TH3 >(" He3/h2NsigmaHe3TPC" , " NsigmaHe3 TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(^{3}He); Centrality FT0C (%)" , HistType::kTH3F , {{100 , -5 .0f , 5 .0f }, {100 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }});
526+ mQaRegistry .add <TH3 >(" He3/h2NsigmaHe3TPC_preselection" , " NsigmaHe3 TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(^{3}He); Centrality FT0C (%)" , HistType::kTH3F , {{100 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
527+
528+ mQaRegistry .add <TH1 >(" Had/hDCAxyHad" , " had;DCA_{xy} (cm)" , HistType::kTH1F , {{200 , -0 .5f , 0 .5f }});
529+ mQaRegistry .add <TH1 >(" Had/hDCAzHad" , " had;DCA_{z} (cm)" , HistType::kTH1F , {{200 , -1 .0f , 1 .0f }});
530+ mQaRegistry .add <TH1 >(" Had/hNClsHadITS" , " had;N_{ITS} Cluster" , HistType::kTH1F , {{20 , -10 .0f , 10 .0f }});
531+ mQaRegistry .add <TH1 >(" Had/hChi2NClHadITS" , " had;Chi2_{ITS} Ncluster" , HistType::kTH1F , {{100 , 0 , 100 .0f }});
532+ mQaRegistry .add <TH1 >(" Had/hHadronPt" , " had; #it{p}_{T} (GeV/#it{c})" , HistType::kTH1F , {{120 , -3 .0f , 3 .0f }});
533+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronITS" , " NsigmaHadron ITS distribution; #it{p}_{T}(GeV/#it{c}); n#sigma_{ITS}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {100 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }});
534+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronITS_preselection" , " NsigmaHadron ITS distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{ITS}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {120 , -3 .0f , 3 .0f }, {100 , 0 .0f , 100 .0f }});
535+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTPC" , " NsigmaHadron TPC distribution; #it{p}_{T}(GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {100 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }});
536+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTPC_preselection" , " NsigmaHadron TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
537+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTOF" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {100 , -5 .0f , 5 .0f }, {100 , 0 .0f , 100 .0f }});
538+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTOF_preselection" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
539+
540+ if (doprocessPurityMc) {
541+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTPC_mcBackground" , " NsigmaHadron TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
542+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTPC_mcSignal" , " NsigmaHadron TPC distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TPC}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
543+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTOF_mcBackground" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
544+ mQaRegistry .add <TH3 >(" Had/h2NsigmaHadronTOF_mcSignal" , " NsigmaHadron TOF distribution; #it{p}_{T} (GeV/#it{c}); n#sigma_{TOF}(had); Centrality FT0C (%)" , HistType::kTH3F , {{200 , -5 .0f , 5 .0f }, {400 , -10 .0f , 10 .0f }, {100 , 0 .0f , 100 .0f }});
545+ }
546+ }
547+
543548 if (doprocessEventLossMC) {
544549 hEvtMC = mQaRegistry .add <TH1 >(" EventLoss/hEvtMC" , " ;; " , HistType::kTH1D , {{3 , -0.5 , 2.5 }});
545550 hEvtMC->GetXaxis ()->SetBinLabel (1 , " All gen evts" );
546551 hEvtMC->GetXaxis ()->SetBinLabel (2 , " Gen evts with al least one reconstructed" );
547552 hEvtMC->GetXaxis ()->SetBinLabel (3 , " Gen evts with no reconstructed collisions" );
548553
549- hGenEventsNchEta05 = mQaRegistry .add <TH2 >(" EventLoss/hGenEventsNchEta05" , " ;;" , HistType::kTH2D , {{500 , 0 .0f , 500 .0f }, {2 , -0 .5f , 1 .5f }});
554+ hGenEventsNchEta05 = mQaRegistry .add <TH2 >(" EventLoss/hGenEventsNchEta05" , " ;;" , HistType::kTH2D , {{400 , 0 .0f , 4000 .0f }, {2 , -0 .5f , 1 .5f }});
550555 hGenEventsNchEta05->GetYaxis ()->SetBinLabel (1 , " All gen. events" );
551556 hGenEventsNchEta05->GetYaxis ()->SetBinLabel (2 , " Gen evts with at least 1 rec. collisions" );
552- hGenEventsNchEta08 = mQaRegistry .add <TH2 >(" EventLoss/hGenEventsNchEta08" , " ;;" , HistType::kTH2D , {{500 , 0 .0f , 500 .0f }, {2 , -0 .5f , 1 .5f }});
557+ hGenEventsNchEta08 = mQaRegistry .add <TH2 >(" EventLoss/hGenEventsNchEta08" , " ;;" , HistType::kTH2D , {{400 , 0 .0f , 4000 .0f }, {2 , -0 .5f , 1 .5f }});
553558 hGenEventsNchEta08->GetYaxis ()->SetBinLabel (1 , " All gen. events" );
554559 hGenEventsNchEta08->GetYaxis ()->SetBinLabel (2 , " Gen evts with at least 1 rec. collisions" );
555560
556561 hImpactParamGen = mQaRegistry .add <TH1 >(" EventLoss/hImpactParamGen" , " Impact parameter of generated MC events; Impact Parameter (b); Counts" , HistType::kTH1D , {{200 , 0 .0f , 20 .0f }});
557562 hImpactParamReco = mQaRegistry .add <TH1 >(" EventLoss/hImpactParamReco" , " Impact parameter of generated MC events with at least one rec. evt; Impact Parameter (b); Counts" , HistType::kTH1D , {{200 , 0 .0f , 20 .0f }});
558563 hRecoCentrality = mQaRegistry .add <TH1 >(" EventLoss/hRecoCentrality" , " Centrality distribution of reconstructed MC events passed the event selection; Centrality FT0C (%); Counts" , HistType::kTH1D , {{100 , 0 .0f , 100 .0f }});
559- hRecoCentralityColvsMultiplicityRecoEta05 = mQaRegistry .add <TH2 >(" EventLoss/hRecoCentralityColvsMultiplicityRecoEta05" , " ; Centrality FT0C (%); Multiplicity #eta <0.5" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {500 , 0 .0f , 500 .0f }});
560- hRecoCentralityColvsMultiplicityRecoEta08 = mQaRegistry .add <TH2 >(" EventLoss/hRecoCentralityColvsMultiplicityRecoEta08" , " ; Centrality FT0C (%); Multiplicity #eta <0.8" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {500 , 0 .0f , 500 .0f }});
564+ hRecoCentralityColvsMultiplicityRecoEta05 = mQaRegistry .add <TH2 >(" EventLoss/hRecoCentralityColvsMultiplicityRecoEta05" , " ; Centrality FT0C (%); Multiplicity #eta <0.5" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {400 , 0 .0f , 4000 .0f }});
565+ hRecoCentralityColvsMultiplicityRecoEta08 = mQaRegistry .add <TH2 >(" EventLoss/hRecoCentralityColvsMultiplicityRecoEta08" , " ; Centrality FT0C (%); Multiplicity #eta <0.8" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {400 , 0 .0f , 4000 .0f }});
561566 hRecoCentralityColvsMultiplicityFT0C = mQaRegistry .add <TH2 >(" EventLoss/hRecoCentralityColvsMultiplicityFT0C" , " ; Centrality FT0C (%); FT0C multiplicity" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {500 , 0 .0f , 3000 .0f }});
562567 hRecoCentralityColvsImpactParamReco = mQaRegistry .add <TH2 >(" EventLoss/hRecoCentralityColvsImpactParamReco" , " ; Centrality FT0C (%); Impact Parameter (b)" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {200 , 0 .0f , 20 .0f }});
563568
564569 hImpactParamGenOneReco = mQaRegistry .add <TH1 >(" EventLoss/hImpactParamGenOneReco" , " Impact parameter of generated MC events with at least one rec. evt and passed the event selection; Impact Parameter (b); Counts" , HistType::kTH1D , {{200 , 0 .0f , 20 .0f }});
565570 hGenOneRecoCentrality = mQaRegistry .add <TH1 >(" EventLoss/hGenOneRecoCentrality" , " Centrality distribution of generated MC events with at least one rec. evt and passed the event selection; Centrality FT0C (%); Counts" , HistType::kTH1D , {{100 , 0 .0f , 100 .0f }});
566- hGenCentralityColvsMultiplicityGenEta05 = mQaRegistry .add <TH2 >(" EventLoss/hGenCentralityColvsMultiplicityGenEta05" , " ; Centrality FT0C (%); Multiplicity #eta <0.5" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {500 , 0 .0f , 500 .0f }});
567- hGenCentralityColvsMultiplicityGenEta08 = mQaRegistry .add <TH2 >(" EventLoss/hGenCentralityColvsMultiplicityGenEta08" , " ; Centrality FT0C (%); Multiplicity #eta <0.8" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {500 , 0 .0f , 500 .0f }});
571+ hGenCentralityColvsMultiplicityGenEta05 = mQaRegistry .add <TH2 >(" EventLoss/hGenCentralityColvsMultiplicityGenEta05" , " ; Centrality FT0C (%); Multiplicity #eta <0.5" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {400 , 0 .0f , 4000 .0f }});
572+ hGenCentralityColvsMultiplicityGenEta08 = mQaRegistry .add <TH2 >(" EventLoss/hGenCentralityColvsMultiplicityGenEta08" , " ; Centrality FT0C (%); Multiplicity #eta <0.8" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {400 , 0 .0f , 4000 .0f }});
568573 hGenCentralityColvsMultiplicityFT0C = mQaRegistry .add <TH2 >(" EventLoss/hGenCentralityColvsMultiplicityFT0C" , " ; Centrality FT0C (%); FT0C multiplicity" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {500 , 0 .0f , 3000 .0f }});
569574 hGenCentralityColvsImpactParamGen = mQaRegistry .add <TH2 >(" EventLoss/hGenCentralityColvsImpactParamGen" , " ; Centrality FT0C (%); Impact Parameter (b)" , HistType::kTH2D , {{100 , 0 .0f , 100 .0f }, {200 , 0 .0f , 20 .0f }});
570575
571576 hGenLi4BeforeEvtSel = mQaRegistry .add <TH1 >(" EventLoss/hGenLi4BeforeEvtSel" , " Li4 generated #it{p}_{T} distribution in all gen evt; #it{p}_{T} (GeV/#it{c}); Counts" , HistType::kTH1D , {{240 , 0 .0f , 12 .0f }});
572577 hGenLi4vsImpactParameterBeforeEvtSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsImpactParameterBeforeEvtSel" , " ; #it{p}_{T} (GeV/#it{c}); Impact Parameter (b)" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {200 , 0 .0f , 20 .0f }});
573- hGenLi4vsMultiplicityGenEta05BeforeEvtSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta05BeforeEvtSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.5" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {500 , 0 .0f , 500 .0f }});
574- hGenLi4vsMultiplicityGenEta08BeforeEvtSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta08BeforeEvtSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.8" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {500 , 0 .0f , 500 .0f }});
578+ hGenLi4vsMultiplicityGenEta05BeforeEvtSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta05BeforeEvtSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.5" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {400 , 0 .0f , 4000 .0f }});
579+ hGenLi4vsMultiplicityGenEta08BeforeEvtSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta08BeforeEvtSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.8" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {400 , 0 .0f , 4000 .0f }});
575580 hGenLi4vsMultiplicityFT0CBeforeEvtSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityFT0CBeforeEvtSel" , " ; #it{p}_{T} (GeV/#it{c}); FT0C multiplicity" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {500 , 0 .0f , 3000 .0f }});
576581
577582 hGenLi4AfterSel = mQaRegistry .add <TH1 >(" EventLoss/hGenLi4AfterSel" , " Li4 generated #it{p}_{T} distribution in gen. evts with at least one rec. evt; #it{p}_{T} (GeV/#it{c}); Counts" , HistType::kTH1D , {{240 , 0 .0f , 12 .0f }});
578583 hGenLi4vsImpactParameterAfterSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsImpactParameterAfterSel" , " ; #it{p}_{T} (GeV/#it{c}); Impact Parameter (b)" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {200 , 0 .0f , 20 .0f }});
579- hGenLi4vsMultiplicityGenEta05AfterSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta05AfterSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.5" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {500 , 0 .0f , 500 .0f }});
580- hGenLi4vsMultiplicityGenEta08AfterSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta08AfterSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.8" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {500 , 0 .0f , 500 .0f }});
584+ hGenLi4vsMultiplicityGenEta05AfterSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta05AfterSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.5" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {400 , 0 .0f , 4000 .0f }});
585+ hGenLi4vsMultiplicityGenEta08AfterSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityGenEta08AfterSel" , " ; #it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.8" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {400 , 0 .0f , 4000 .0f }});
581586 hGenLi4vsMultiplicityFT0CAfterSel = mQaRegistry .add <TH2 >(" EventLoss/hGenLi4vsMultiplicityFT0CAfterSel" , " ; #it{p}_{T} (GeV/#it{c}); FT0C multiplicity" , HistType::kTH2D , {{240 , 0 .0f , 12 .0f }, {500 , 0 .0f , 3000 .0f }});
582587 }
583588 }
@@ -647,12 +652,6 @@ struct he3HadronFemto {
647652 }
648653 }
649654
650- if constexpr (isMC) {
651- if (collision.has_mcCollision ()) {
652- mRecoMcCollisions [collision.mcCollisionId ()] = true ;
653- }
654- }
655-
656655 mQaRegistry .fill (HIST (" hEvents" ), 1 );
657656 mQaRegistry .fill (HIST (" hNcontributor" ), collision.numContrib ());
658657 mQaRegistry .fill (HIST (" hCentralityFT0A" ), collision.centFT0A ());
@@ -1336,8 +1335,6 @@ struct he3HadronFemto {
13361335
13371336 mGoodCollisions .clear ();
13381337 mGoodCollisions .resize (collisions.size (), false );
1339- mRecoMcCollisions .clear ();
1340- mRecoMcCollisions .resize (mcCollisions.size (), false );
13411338 mMcCollisionIdToRecoCollisionId .clear ();
13421339 mMcCollisionIdToRecoCollisionId .resize (mcCollisions.size (), -1 );
13431340 mCollisionSelectionFlags .clear ();
0 commit comments