Skip to content

Commit ee084c1

Browse files
committed
Add QA event loss for eta = 0.8 and minor changes
1 parent ec95efa commit ee084c1

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

PWGLF/TableProducer/Nuspex/hyperRecoTask.cxx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,15 @@ std::shared_ptr<TH1> hImpactParamReco;
9090
std::shared_ptr<TH1> hGen3HLBeforeEvtSel;
9191
std::shared_ptr<TH1> hGen3HLAfterSel;
9292
std::shared_ptr<TH2> hRecoCentralityColvsMultiplicityRecoEta05;
93+
std::shared_ptr<TH2> hRecoCentralityColvsMultiplicityRecoEta08;
9394
std::shared_ptr<TH2> hRecoCentralityColvsImpactParamReco;
95+
std::shared_ptr<TH2> hRecoCentralityColvsFT0Cmultiplicity;
9496
std::shared_ptr<TH2> hGen3HLvsImpactParameterBeforeEvtSel;
9597
std::shared_ptr<TH2> hGen3HLvsImpactParameterAfterSel;
9698
std::shared_ptr<TH2> hGen3HLvsMultiplicityGenEta05BeforeEvtSel;
9799
std::shared_ptr<TH2> hGen3HLvsMultiplicityGenEta05AfterSel;
100+
std::shared_ptr<TH2> hGen3HLvsMultiplicityGenEta08BeforeEvtSel;
101+
std::shared_ptr<TH2> hGen3HLvsMultiplicityGenEta08AfterSel;
98102
std::shared_ptr<TH2> hGen3HLvsMultiplicityFT0CBeforeEvtSel;
99103
std::shared_ptr<TH2> hGen3HLvsMultiplicityFT0CAfterSel;
100104

@@ -334,16 +338,20 @@ struct hyperRecoTask {
334338
// Infomation for generated collisions collisions with at least one rec. event
335339
hImpactParamReco = qaRegistry.add<TH1>("QAEvent/McColAll/hImpactParamReco", "Impact parameter of generated MC events with at least one rec. evt; Impact Parameter (b); Counts", HistType::kTH1D, {impactParamAxis});
336340
hRecoCentralityColvsMultiplicityRecoEta05 = qaRegistry.add<TH2>("QAEvent/McColAll/hRecoCentralityColvsMultiplicityRecoEta05", "Correlation between FT0C centrality and charged particle multiplicity in generated MC events with at least one rec. evt; Multiplicity #eta <0.5; Counts", HistType::kTH2D, {centFT0CAxis, multAxis});
341+
hRecoCentralityColvsMultiplicityRecoEta08 = qaRegistry.add<TH2>("QAEvent/McColAll/hRecoCentralityColvsMultiplicityRecoEta08", "Correlation between FT0C centrality and charged particle multiplicity in generated MC events with at least one rec. evt; Multiplicity #eta <0.8; Counts", HistType::kTH2D, {centFT0CAxis, multAxis});
337342
hRecoCentralityColvsImpactParamReco = qaRegistry.add<TH2>("QAEvent/McColAll/hRecoCentralityColvsImpactParamReco", "Correlation between FT0C centrality and impact parameter in generated MC events with at least one rec. evt; Impact Parameter (b); Counts", HistType::kTH2D, {centFT0CAxis, impactParamAxis});
343+
hRecoCentralityColvsFT0Cmultiplicity = qaRegistry.add<TH2>("QAEvent/McColAll/hRecoCentralityColvsFT0Cmultiplicity", "Correlation between FT0C centrality and FT0C multiplicity in generated MC events with at least one rec. evt; FT0C (%); FT0c multiplicity", HistType::kTH2D, {centFT0CAxis, binsFT0CMultAxis});
338344
// Information of generated 3HL in generated events
339345
hGen3HLBeforeEvtSel = qaRegistry.add<TH1>("QAEvent/McCol3HL/hGen3HLBeforeEvtSel", "3HL generated #it{p}_{T} distribution in all gen evt;#it{p}_{T} (GeV/#it{c}); Counts", HistType::kTH1D, {ptAxis});
340346
hGen3HLvsImpactParameterBeforeEvtSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsImpactParameterBeforeEvtSel", "Correlation 3HL generated #it{p}_{T} and impact parameter in all gen evt;#it{p}_{T} (GeV/#it{c}); Impact parameter (b)", HistType::kTH2D, {ptAxis, impactParamAxis});
341347
hGen3HLvsMultiplicityGenEta05BeforeEvtSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsMultiplicityGenEta05BeforeEvtSel", "Correlation 3HL generated #it{p}_{T} and charged particle multiplicity in all gen evt;#it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.5", HistType::kTH2D, {ptAxis, multAxis});
348+
hGen3HLvsMultiplicityGenEta08BeforeEvtSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsMultiplicityGenEta08BeforeEvtSel", "Correlation 3HL generated #it{p}_{T} and charged particle multiplicity in all gen evt;#it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.8", HistType::kTH2D, {ptAxis, multAxis});
342349
hGen3HLvsMultiplicityFT0CBeforeEvtSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsMultiplicityFT0CBeforeEvtSel", "Correlation 3HL generated #it{p}_{T} and FT0C multiplicity in all gen evt;#it{p}_{T} (GeV/#it{c}); FT0C Multiplicity", HistType::kTH2D, {ptAxis, binsFT0CMultAxis});
343350
// Information of generated 3HL in generated events with at least one rec. event
344351
hGen3HLAfterSel = qaRegistry.add<TH1>("QAEvent/McCol3HL/hGen3HLAfterSel", "3HL generated #it{p}_{T} distribution in gen. evts with at least one rec. evt; #it{p}_{T} (GeV/#it{c}); Counts", HistType::kTH1D, {ptAxis});
345352
hGen3HLvsImpactParameterAfterSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsImpactParameterAfterSel", "Correlation 3HL generated #it{p}_{T} and impact parameter in gen. evts with at least one rec. evt;#it{p}_{T} (GeV/#it{c}); Impact parameter (b)", HistType::kTH2D, {ptAxis, impactParamAxis});
346353
hGen3HLvsMultiplicityGenEta05AfterSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsMultiplicityGenEta05AfterSel", "Correlation 3HL generated #it{p}_{T} and charged particle multiplicity in gen. evts with at least one rec. evt;#it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.5", HistType::kTH2D, {ptAxis, multAxis});
354+
hGen3HLvsMultiplicityGenEta08AfterSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsMultiplicityGenEta08AfterSel", "Correlation 3HL generated #it{p}_{T} and charged particle multiplicity in gen. evts with at least one rec. evt;#it{p}_{T} (GeV/#it{c}); Multiplicity #eta <0.8", HistType::kTH2D, {ptAxis, multAxis});
347355
hGen3HLvsMultiplicityFT0CAfterSel = qaRegistry.add<TH2>("QAEvent/McCol3HL/hGen3HLvsMultiplicityFT0CAfterSel", "Correlation 3HL generated #it{p}_{T} and FT0C multiplicity in gen. evts with at least one rec;#it{p}_{T} (GeV/#it{c}); FT0C Multiplicity", HistType::kTH2D, {ptAxis, binsFT0CMultAxis});
348356
}
349357
}
@@ -435,9 +443,9 @@ struct hyperRecoTask {
435443
hEvents->Fill(1.);
436444

437445
if (std::abs(collision.posZ()) > 10) {
438-
hEvents->Fill(2.);
439446
continue;
440447
}
448+
hEvents->Fill(2.);
441449

442450
if (zorroSelected) {
443451
hEventsZorro->Fill(1.);
@@ -480,9 +488,9 @@ struct hyperRecoTask {
480488
hEvents->Fill(1.);
481489

482490
if (std::abs(collision.posZ()) > 10) {
483-
hEvents->Fill(2.);
484491
continue;
485492
}
493+
hEvents->Fill(2.);
486494

487495
if (cfgEvSelkNoSameBunchPileup) {
488496
if (!collision.selection_bit(aod::evsel::kNoSameBunchPileup)) {
@@ -666,7 +674,7 @@ struct hyperRecoTask {
666674
if (std::abs(posTrack.eta()) > etaMax || std::abs(negTrack.eta()) > etaMax)
667675
continue;
668676

669-
// temporary fix: tpcInnerParam() returns the momentum in all the software tags before: https://github.com/AliceO2Group/AliceO2/pull/12521
677+
// temporary fix: tpcInnhRecoCentralityColvsFT0CmultiplicityerParam() returns the momentum in all the software tags before: https://github.com/AliceO2Group/AliceO2/pull/12521
670678
auto nSigmaTPCpos = computeNSigmaHe3(posTrack);
671679
auto nSigmaTPCneg = computeNSigmaHe3(negTrack);
672680
// ITS only tracks do not have TPC information. TPCnSigma: only lower cut to allow for both hypertriton and hyperhydrogen4 reconstruction
@@ -1055,7 +1063,9 @@ struct hyperRecoTask {
10551063
hEvtMC->Fill(2);
10561064
hImpactParamReco->Fill(mcCollision.impactParameter());
10571065
hRecoCentralityColvsMultiplicityRecoEta05->Fill(centralityFT0C, mcCollision.multMCNParticlesEta05());
1066+
hRecoCentralityColvsMultiplicityRecoEta08->Fill(centralityFT0C, mcCollision.multMCNParticlesEta08());
10581067
hRecoCentralityColvsImpactParamReco->Fill(centralityFT0C, mcCollision.impactParameter());
1068+
hRecoCentralityColvsFT0Cmultiplicity->Fill(centralityFT0C, mcCollision.multMCFT0C());
10591069
}
10601070
// Construct the H3L 4-vector based on the generated daugthers identification by PDG
10611071
ROOT::Math::PxPyPzMVector daugh1, daugh2, mother;
@@ -1096,13 +1106,15 @@ struct hyperRecoTask {
10961106
hGen3HLBeforeEvtSel->Fill(mother.pt());
10971107
hGen3HLvsImpactParameterBeforeEvtSel->Fill(mother.pt(), mcCollision.impactParameter());
10981108
hGen3HLvsMultiplicityGenEta05BeforeEvtSel->Fill(mother.pt(), mcCollision.multMCNParticlesEta05());
1109+
hGen3HLvsMultiplicityGenEta08BeforeEvtSel->Fill(mother.pt(), mcCollision.multMCNParticlesEta08());
10991110
hGen3HLvsMultiplicityFT0CBeforeEvtSel->Fill(mother.pt(), mcCollision.multMCFT0C());
11001111

11011112
// Fill informations for generated 3HL in generated events with at least one reconstructed event
11021113
if (atLeastOneRecoEvt) {
11031114
hGen3HLAfterSel->Fill(mother.pt());
11041115
hGen3HLvsImpactParameterAfterSel->Fill(mother.pt(), mcCollision.impactParameter());
11051116
hGen3HLvsMultiplicityGenEta05AfterSel->Fill(mother.pt(), mcCollision.multMCNParticlesEta05());
1117+
hGen3HLvsMultiplicityGenEta08AfterSel->Fill(mother.pt(), mcCollision.multMCNParticlesEta08());
11061118
hGen3HLvsMultiplicityFT0CAfterSel->Fill(mother.pt(), mcCollision.multMCFT0C());
11071119
}
11081120
}

0 commit comments

Comments
 (0)