@@ -74,6 +74,10 @@ class FemtoDreamContainerThreeBody
7474
7575 mHistogramRegistry ->add ((folderName + " /relTripletDist" ).c_str (), (" ; " + femtoObs + " ; Entries" ).c_str (), kTH1F , {femtoObsAxis});
7676 mHistogramRegistry ->add ((folderName + " /relTripletQ3Mult" ).c_str (), (" ; " + femtoObs + " ; Multiplicity" ).c_str (), kTH2F , {femtoObsAxis, multAxis});
77+ mHistogramRegistry ->add ((folderName + " /mT1" ).c_str (), " ;mT; Q3" , kTH2F , {{1000 , 0 , 25 }, femtoObsAxis});
78+ mHistogramRegistry ->add ((folderName + " /mT2" ).c_str (), " ;mT; Q3" , kTH2F , {{1000 , 0 , 25 }, femtoObsAxis});
79+ mHistogramRegistry ->add ((folderName + " /mT3" ).c_str (), " ;mT; Q3" , kTH2F , {{1000 , 0 , 25 }, femtoObsAxis});
80+ mHistogramRegistry ->add ((folderName + " /mTAverage" ).c_str (), " ;mT; Q3" , kTH2F , {{1000 , 0 , 25 }, femtoObsAxis});
7781 }
7882
7983 // / Initializes specialized Monte Carlo truth histograms for the task in case of three-body femtoscopy
@@ -145,6 +149,7 @@ class FemtoDreamContainerThreeBody
145149 template <o2::aod::femtodreamMCparticle::MCType mc, typename T>
146150 void setTriplet_base (const float femtoObs, T const & /* part1*/ , T const & /* part2*/ , T const & /* part3*/ , const int mult)
147151 {
152+ // FILL MAIN Q3 info
148153 mHistogramRegistry ->fill (HIST (mFolderSuffix [mEventType ]) + HIST (o2::aod::femtodreamMCparticle::MCTypeName[mc]) + HIST (" /relTripletDist" ), femtoObs);
149154 mHistogramRegistry ->fill (HIST (mFolderSuffix [mEventType ]) + HIST (o2::aod::femtodreamMCparticle::MCTypeName[mc]) + HIST (" /relTripletQ3Mult" ), femtoObs, mult);
150155 }
@@ -180,6 +185,15 @@ class FemtoDreamContainerThreeBody
180185 void setTriplet (T const & part1, T const & part2, T const & part3, const int mult, const float femtoObs)
181186 {
182187 float femtoObsMC;
188+ float mT1 = FemtoDreamMath::getmT (part1, mMassOne , part2, mMassTwo );
189+ float mT2 = FemtoDreamMath::getmT (part2, mMassTwo , part3, mMassThree );
190+ float mT3 = FemtoDreamMath::getmT (part1, mMassOne , part3, mMassThree );
191+ float mTAverage = (mT1 + mT2 + mT3 ) / 3 .;
192+ // FILL mT info
193+ mHistogramRegistry ->fill (HIST (mFolderSuffix [mEventType ]) + HIST (o2::aod::femtodreamMCparticle::MCTypeName[o2::aod::femtodreamMCparticle::MCType::kRecon ]) + HIST (" /mT1" ), mT1 , femtoObs);
194+ mHistogramRegistry ->fill (HIST (mFolderSuffix [mEventType ]) + HIST (o2::aod::femtodreamMCparticle::MCTypeName[o2::aod::femtodreamMCparticle::MCType::kRecon ]) + HIST (" /mT2" ), mT2 , femtoObs);
195+ mHistogramRegistry ->fill (HIST (mFolderSuffix [mEventType ]) + HIST (o2::aod::femtodreamMCparticle::MCTypeName[o2::aod::femtodreamMCparticle::MCType::kRecon ]) + HIST (" /mT3" ), mT3 , femtoObs);
196+ mHistogramRegistry ->fill (HIST (mFolderSuffix [mEventType ]) + HIST (o2::aod::femtodreamMCparticle::MCTypeName[o2::aod::femtodreamMCparticle::MCType::kRecon ]) + HIST (" /mTAverage" ), mTAverage , femtoObs);
183197
184198 if (mHistogramRegistry ) {
185199 setTriplet_base<o2::aod::femtodreamMCparticle::MCType::kRecon >(femtoObs, part1, part2, part3, mult);
0 commit comments