Skip to content

Commit db6d95a

Browse files
author
Sawan Sawan
committed
modified event selection
1 parent 41a08aa commit db6d95a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

PWGLF/Tasks/Resonances/higherMassResonances.cxx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ struct HigherMassResonances {
104104
Configurable<int> configOccCut{"configOccCut", 1000, "Occupancy cut"};
105105
Configurable<bool> isVertexTOFMatched{"isVertexTOFMatched", false, "Vertex TOF Matched"};
106106
Configurable<bool> isNoCollInTimeRangeStandard{"isNoCollInTimeRangeStandard", false, "No collision in time range standard"};
107+
Configurable<bool> isSel8{"isSel8", false, "Event Selection 8"};
107108

108109
// Configurables for event selection
109110
// Configurable<bool> isINELgt0{"isINELgt0", true, "INEL>0 selection"};
@@ -378,8 +379,8 @@ struct HigherMassResonances {
378379
if (fillHist)
379380
rEventSelection.fill(HIST("hEventCut"), 1);
380381

381-
// if (!collision.sel8())
382-
// return false;
382+
if (config.isSel8 && !collision.sel8())
383+
return false;
383384
if (fillHist)
384385
rEventSelection.fill(HIST("hEventCut"), 2);
385386

@@ -416,8 +417,8 @@ struct HigherMassResonances {
416417
if (fillHist)
417418
rEventSelection.fill(HIST("hEventCut"), 8);
418419

419-
// if (config.isTriggerTVX && !collision.selection_bit(aod::evsel::kIsTriggerTVX))
420-
// return false;
420+
if (config.isTriggerTVX && !collision.selection_bit(aod::evsel::kIsTriggerTVX))
421+
return false;
421422
if (fillHist)
422423
rEventSelection.fill(HIST("hEventCut"), 9);
423424

0 commit comments

Comments
 (0)