Skip to content

Commit ff18cd8

Browse files
committed
Feat: add dndeta task for triplets
1 parent 7f98746 commit ff18cd8

5 files changed

Lines changed: 584 additions & 5 deletions

File tree

PWGCF/Femto/Core/pairHistManager.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,14 @@ class PairHistManager
760760
mTrueMinv = getMinv(mTrueParticle1, mTrueParticle2);
761761
mTrueKstar = getKstar(mTrueParticle1, mTrueParticle2);
762762

763+
// in the pure mc-truth path there is no reco counterpart, so the generated values are also
764+
// stored in the reco members; they are used by getKinematic(), i.e. by the kinematic histograms
765+
// of the pair cleaner and of the close pair rejection
766+
mKt = mTrueKt;
767+
mMt = mTrueMt;
768+
mMassInv = mTrueMinv;
769+
mKstar = mTrueKstar;
770+
763771
if (mPlotBertschPratt) {
764772
std::tie(mTrueQout, mTrueQside, mTrueQlong) = computeBertschPrattLCMS(mTrueParticle1, mTrueParticle2);
765773
}

PWGCF/Femto/Core/tripletHistManager.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,10 +438,19 @@ class TripletHistManager
438438
mTrueMt = getMt(mTrueParticle1, mTrueParticle2, mTrueParticle3);
439439
mTrueQ3 = getQ3(mTrueParticle1, mTrueParticle2, mTrueParticle3);
440440

441+
// in the pure mc-truth path there is no reco counterpart, so the generated values are also
442+
// stored in the reco members; they are used by getKinematic(), i.e. by the kinematic histograms
443+
// of the triplet cleaner and of the close triplet rejection
444+
mMt = mTrueMt;
445+
mQ3 = mTrueQ3;
446+
441447
if (mPlotKstar) {
442448
mTrueKstar12 = getKstar(mTrueParticle1, mTrueParticle2);
443449
mTrueKstar13 = getKstar(mTrueParticle1, mTrueParticle3);
444450
mTrueKstar23 = getKstar(mTrueParticle2, mTrueParticle3);
451+
mKstar12 = mTrueKstar12;
452+
mKstar13 = mTrueKstar13;
453+
mKstar23 = mTrueKstar23;
445454
}
446455
}
447456

PWGCF/Femto/Tasks/CMakeLists.txt

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ o2physics_add_dpl_workflow(femto-pair-mc-particle-mc-particle
9494
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
9595
COMPONENT_NAME Analysis)
9696

97-
o2physics_add_dpl_workflow(femto-pair-efficiency
98-
SOURCES femtoPairEfficiency.cxx
99-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
100-
COMPONENT_NAME Analysis)
101-
10297
o2physics_add_dpl_workflow(femto-triplet-track-track-track
10398
SOURCES femtoTripletTrackTrackTrack.cxx
10499
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
@@ -114,7 +109,22 @@ o2physics_add_dpl_workflow(femto-triplet-track-track-cascade
114109
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
115110
COMPONENT_NAME Analysis)
116111

112+
o2physics_add_dpl_workflow(femto-triplet-mc-particle-mc-particle-mc-particle
113+
SOURCES femtoTripletMcParticleMcParticleMcParticle.cxx
114+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
115+
COMPONENT_NAME Analysis)
116+
117117
o2physics_add_dpl_workflow(femto-dndeta-pair
118118
SOURCES femtoDndetaPair.cxx
119119
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
120120
COMPONENT_NAME Analysis)
121+
122+
o2physics_add_dpl_workflow(femto-dndeta-triplet
123+
SOURCES femtoDndetaTriplet.cxx
124+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
125+
COMPONENT_NAME Analysis)
126+
127+
o2physics_add_dpl_workflow(femto-pair-efficiency
128+
SOURCES femtoPairEfficiency.cxx
129+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
130+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)