From 825b6e067542bed6f45e663ec6d6ed797263798e Mon Sep 17 00:00:00 2001 From: abmodak <67369858+abmodak@users.noreply.github.com> Date: Mon, 21 Sep 2026 15:18:52 +0200 Subject: [PATCH 1/2] Remove extra event selection condition Removed the reject flange event check from FT0 loop. --- .../TableProducer/longrangeMaker.cxx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx b/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx index b79806b4d63..8cf7445244f 100644 --- a/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx +++ b/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx @@ -118,8 +118,7 @@ struct LongrangeMaker { Configurable isApplyGoodZvtxFT0vsPV{"isApplyGoodZvtxFT0vsPV", false, "Enable GoodZvtxFT0vsPV cut"}; Configurable isApplyGoodITSLayersAll{"isApplyGoodITSLayersAll", false, "Enable GoodITSLayersAll cut"}; Configurable isApplyExtraCorrCut{"isApplyExtraCorrCut", false, "Enable extra NPVtracks vs FTOC correlation cut"}; - Configurable isApplyBestCollIndex{"isApplyBestCollIndex", true, "bestCollIndex"}; - Configurable isrejectFlangeEvent{"isrejectFlangeEvent", false, "At least one channel with -350 TDC < time < -450 TDC"}; + Configurable isApplyBestCollIndex{"isApplyBestCollIndex", true, "bestCollIndex"}; Configurable isApplyNoCollInTimeRangeStandard{"isApplyNoCollInTimeRangeStandard", false, "Enable NoCollInTimeRangeStandard cut"}; Configurable isApplyNoCollInTimeRangeStrict{"isApplyNoCollInTimeRangeStrict", false, "Enable NoCollInTimeRangeStrict cut"}; Configurable isApplyNoCollInRofStandard{"isApplyNoCollInRofStandard", false, "Enable NoCollInRofStandard cut"}; @@ -301,7 +300,7 @@ struct LongrangeMaker { x->SetBinLabel(13, "ApplyNoHighMultCollInPrevRof"); x->SetBinLabel(14, "ApplyOccupancySelection"); x->SetBinLabel(15, "ZvertexSelection"); - x->SetBinLabel(16, "reject flange event"); + histos.add("hSelectionResult", "hSelectionResult", kTH1I, {{5, -0.5, 4.5}}); histos.add("hMftTrkSel", "hMftTrkSel", kTH1D, {axisTrackSel}, false); @@ -475,15 +474,7 @@ struct LongrangeMaker { // ft0 loop if (col.has_foundFT0()) { - const auto& ft0 = col.foundFT0(); - if (cfgevtsel.isrejectFlangeEvent) { - constexpr int IsFlangeEventId = 7; - std::bitset<8> ft0TriggerMask = ft0.triggerMask(); - if (ft0TriggerMask[IsFlangeEventId]) { - return; - } - } - histos.fill(HIST("EventHist"), 16); + const auto& ft0 = col.foundFT0(); for (std::size_t iCh = 0; iCh < ft0.channelA().size(); iCh++) { auto chanelid = ft0.channelA()[iCh]; float ampl = ft0.amplitudeA()[iCh]; From 02f17f3af573da9d3cb73eb1abe9d74b4068ae9c Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 21 Sep 2026 13:20:24 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- .../TableProducer/longrangeMaker.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx b/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx index 8cf7445244f..b49e5a6f554 100644 --- a/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx +++ b/PWGCF/TwoParticleCorrelations/TableProducer/longrangeMaker.cxx @@ -118,7 +118,7 @@ struct LongrangeMaker { Configurable isApplyGoodZvtxFT0vsPV{"isApplyGoodZvtxFT0vsPV", false, "Enable GoodZvtxFT0vsPV cut"}; Configurable isApplyGoodITSLayersAll{"isApplyGoodITSLayersAll", false, "Enable GoodITSLayersAll cut"}; Configurable isApplyExtraCorrCut{"isApplyExtraCorrCut", false, "Enable extra NPVtracks vs FTOC correlation cut"}; - Configurable isApplyBestCollIndex{"isApplyBestCollIndex", true, "bestCollIndex"}; + Configurable isApplyBestCollIndex{"isApplyBestCollIndex", true, "bestCollIndex"}; Configurable isApplyNoCollInTimeRangeStandard{"isApplyNoCollInTimeRangeStandard", false, "Enable NoCollInTimeRangeStandard cut"}; Configurable isApplyNoCollInTimeRangeStrict{"isApplyNoCollInTimeRangeStrict", false, "Enable NoCollInTimeRangeStrict cut"}; Configurable isApplyNoCollInRofStandard{"isApplyNoCollInRofStandard", false, "Enable NoCollInRofStandard cut"}; @@ -300,7 +300,7 @@ struct LongrangeMaker { x->SetBinLabel(13, "ApplyNoHighMultCollInPrevRof"); x->SetBinLabel(14, "ApplyOccupancySelection"); x->SetBinLabel(15, "ZvertexSelection"); - + histos.add("hSelectionResult", "hSelectionResult", kTH1I, {{5, -0.5, 4.5}}); histos.add("hMftTrkSel", "hMftTrkSel", kTH1D, {axisTrackSel}, false); @@ -474,7 +474,7 @@ struct LongrangeMaker { // ft0 loop if (col.has_foundFT0()) { - const auto& ft0 = col.foundFT0(); + const auto& ft0 = col.foundFT0(); for (std::size_t iCh = 0; iCh < ft0.channelA().size(); iCh++) { auto chanelid = ft0.channelA()[iCh]; float ampl = ft0.amplitudeA()[iCh];