Skip to content

Commit 825b6e0

Browse files
authored
Remove extra event selection condition
Removed the reject flange event check from FT0 loop.
1 parent 498bb05 commit 825b6e0

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

‎PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx‎

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ struct LongrangeMaker {
118118
Configurable<bool> isApplyGoodZvtxFT0vsPV{"isApplyGoodZvtxFT0vsPV", false, "Enable GoodZvtxFT0vsPV cut"};
119119
Configurable<bool> isApplyGoodITSLayersAll{"isApplyGoodITSLayersAll", false, "Enable GoodITSLayersAll cut"};
120120
Configurable<bool> isApplyExtraCorrCut{"isApplyExtraCorrCut", false, "Enable extra NPVtracks vs FTOC correlation cut"};
121-
Configurable<bool> isApplyBestCollIndex{"isApplyBestCollIndex", true, "bestCollIndex"};
122-
Configurable<bool> isrejectFlangeEvent{"isrejectFlangeEvent", false, "At least one channel with -350 TDC < time < -450 TDC"};
121+
Configurable<bool> isApplyBestCollIndex{"isApplyBestCollIndex", true, "bestCollIndex"};
123122
Configurable<bool> isApplyNoCollInTimeRangeStandard{"isApplyNoCollInTimeRangeStandard", false, "Enable NoCollInTimeRangeStandard cut"};
124123
Configurable<bool> isApplyNoCollInTimeRangeStrict{"isApplyNoCollInTimeRangeStrict", false, "Enable NoCollInTimeRangeStrict cut"};
125124
Configurable<bool> isApplyNoCollInRofStandard{"isApplyNoCollInRofStandard", false, "Enable NoCollInRofStandard cut"};
@@ -301,7 +300,7 @@ struct LongrangeMaker {
301300
x->SetBinLabel(13, "ApplyNoHighMultCollInPrevRof");
302301
x->SetBinLabel(14, "ApplyOccupancySelection");
303302
x->SetBinLabel(15, "ZvertexSelection");
304-
x->SetBinLabel(16, "reject flange event");
303+
305304
histos.add("hSelectionResult", "hSelectionResult", kTH1I, {{5, -0.5, 4.5}});
306305

307306
histos.add("hMftTrkSel", "hMftTrkSel", kTH1D, {axisTrackSel}, false);
@@ -475,15 +474,7 @@ struct LongrangeMaker {
475474

476475
// ft0 loop
477476
if (col.has_foundFT0()) {
478-
const auto& ft0 = col.foundFT0();
479-
if (cfgevtsel.isrejectFlangeEvent) {
480-
constexpr int IsFlangeEventId = 7;
481-
std::bitset<8> ft0TriggerMask = ft0.triggerMask();
482-
if (ft0TriggerMask[IsFlangeEventId]) {
483-
return;
484-
}
485-
}
486-
histos.fill(HIST("EventHist"), 16);
477+
const auto& ft0 = col.foundFT0();
487478
for (std::size_t iCh = 0; iCh < ft0.channelA().size(); iCh++) {
488479
auto chanelid = ft0.channelA()[iCh];
489480
float ampl = ft0.amplitudeA()[iCh];

0 commit comments

Comments
 (0)