File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ struct UpcTauRl {
100100 Configurable<int > cutMinTPCnClsXrows{" cutMinTPCnClsXrows" , 70 , {" Global track cut" }};
101101 Configurable<float > cutMinTPCnClsXrowsOverNcls{" cutMinTPCnClsXrowsOverNcls" , 0 .8f , {" Global track cut" }};
102102 Configurable<float > cutMaxTPCchi2{" cutMaxTPCchi2" , 4 .f , {" Global track cut" }};
103+ Configurable<bool > cutGoodITSTPCmatching{" cutGoodITSTPCmatching" , true , {" Global track cut" }};
104+ Configurable<float > cutMaxTOFchi2{" cutMaxTOFchi2" , 3 .f , {" Global track cut" }};
103105 } cutGlobalTrack;
104106
105107 struct : ConfigurableGroup {
@@ -838,6 +840,15 @@ struct UpcTauRl {
838840 return false ;
839841 if (track.tpcChi2NCl () > cutGlobalTrack.cutMaxTPCchi2 )
840842 return false ; // TPC chi2
843+ if (cutGlobalTrack.cutGoodITSTPCmatching ) {
844+ if (track.itsChi2NCl () < 0 .)
845+ return false ; // TPC chi2
846+ }
847+ // TOF
848+ if (track.hasTOF ()){
849+ if (track.tpcChi2NCl () > cutGlobalTrack.cutMaxTOFchi2 )
850+ return false ; // TOF chi2
851+ }
841852
842853 return true ;
843854 }
You can’t perform that action at this time.
0 commit comments