@@ -195,6 +195,7 @@ struct TrHeAnalysis {
195195 Configurable<int > cfgMassMethod{" cfgMassMethod" , 0 , " 0: Using built in 1: mass calculated with beta 2: mass calculated with the event time" };
196196 Configurable<bool > cfgEnableItsClusterSizeCut{" cfgEnableItsClusterSizeCut" , false , " Enable ITS cluster size cut" };
197197 Configurable<bool > cfgEnableTofMassCut{" cfgEnableTofMassCut" , false , " Enable TOF mass cut" };
198+ Configurable<float > cfgTofMassCutPt{" cfgTofMassCutPt" , 1 .6f , " Pt value for which the TOF-cut starts to be used" };
198199 // Set the multiplity event limits
199200 Configurable<float > cfgLowMultCut{" cfgLowMultCut" , 0 .0f , " Accepted multiplicity percentage lower limit" };
200201 Configurable<float > cfgHighMultCut{" cfgHighMultCut" , 100 .0f , " Accepted multiplicity percentage higher limit" };
@@ -400,7 +401,7 @@ struct TrHeAnalysis {
400401 continue ;
401402 }
402403 }
403- if (cfgEnableTofMassCut) {
404+ if (cfgEnableTofMassCut && track. pt () > cfgTofMassCutPt ) {
404405 if (getMass (track) < cfgCutMinTofMassH3 || getMass (track) > cfgCutMaxTofMassH3) {
405406 histos.fill (HIST (" histogram/cuts" ), 13 );
406407 continue ;
@@ -565,7 +566,7 @@ struct TrHeAnalysis {
565566 continue ;
566567 }
567568 }
568- if (cfgEnableTofMassCut) {
569+ if (cfgEnableTofMassCut && track. pt () > cfgTofMassCutPt ) {
569570 if (getMass (track) < cfgCutMinTofMassH3 || getMass (track) > cfgCutMaxTofMassH3) {
570571 histos.fill (HIST (" histogram/cuts" ), 13 );
571572 continue ;
0 commit comments