File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,10 @@ struct CFFilterAll {
140140 struct : ConfigurableGroup {
141141 std::string prefix = " EventSel" ;
142142 Configurable<float > zvtx{" zvtx" , 10 .f , " Max. z-Vertex (cm)" };
143- Configurable<bool > eventSel{" eventSel" , true , " Use sel8" };
143+ Configurable<bool > useSel8{" useSel8" , true , " Use sel8" };
144+ Configurable<bool > useIsTriggerTvx{" useIsTriggerTvx" , false , " Use TVX trigger" };
145+ Configurable<bool > useNoTimeFrameBorder{" useNoTimeFrameBorder" , false , " Use time frame border cut" };
146+ Configurable<bool > useNoItsRofFrameBorder{" useNoItsRofFrameBorder" , false , " Use ITS ROF border cut" };
144147 } EventSelection;
145148
146149 // Configs for tracks
@@ -1051,7 +1054,18 @@ struct CFFilterAll {
10511054 if (std::abs (col.posZ ()) > EventSelection.zvtx .value ) {
10521055 return false ;
10531056 }
1054- if (EventSelection.eventSel .value && !col.sel8 ()) {
1057+ // full cut on sel 8
1058+ if (EventSelection.useSel8 .value && !col.sel8 ()) {
1059+ return false ;
1060+ }
1061+ // allow cut on components of sel8 in case we dont need ROF cut in 2026 anymore
1062+ if (EventSelection.useIsTriggerTvx .value && !col.selection_bit (aod::evsel::kIsTriggerTVX )) {
1063+ return false ;
1064+ }
1065+ if (EventSelection.useNoTimeFrameBorder .value && !col.selection_bit (aod::evsel::kNoTimeFrameBorder )) {
1066+ return false ;
1067+ }
1068+ if (EventSelection.useNoItsRofFrameBorder .value && !col.selection_bit (aod::evsel::kNoITSROFrameBorder )) {
10551069 return false ;
10561070 }
10571071 return true ;
You can’t perform that action at this time.
0 commit comments