Skip to content

Commit d6fd502

Browse files
Add files via upload
1 parent 3a692c9 commit d6fd502

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

PWGCF/TwoParticleCorrelations/Tasks/longRangeDihadronCor.cxx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ struct LongRangeDihadronCor {
107107
O2_DEFINE_CONFIGURABLE(cfgLocalEfficiency, bool, false, "Use local efficiency object")
108108
O2_DEFINE_CONFIGURABLE(cfgUseEventWeights, bool, false, "Use event weights for mixed event")
109109
O2_DEFINE_CONFIGURABLE(cfgDrawEtaPhiDis, bool, false, "draw eta-phi distribution for detectors in used")
110-
O2_DEFINE_CONFIGURABLE(cfgRejectOutsideDetectors, bool, false, "Rejection of outside ring channels of the FT0 detector")
111-
O2_DEFINE_CONFIGURABLE(cfgRejectInsideDetectors, bool, false, "Rejection of inside ring channels of the FT0 detector")
110+
O2_DEFINE_CONFIGURABLE(cfgRejectFT0AInside, bool, false, "Rejection of inside ring channels of the FT0A detector")
111+
O2_DEFINE_CONFIGURABLE(cfgRejectFT0AOutside, bool, false, "Rejection of outside ring channels of the FT0A detector")
112+
O2_DEFINE_CONFIGURABLE(cfgRejectFT0CInside, bool, false, "Rejection of inside ring channels of the FT0C detector")
113+
O2_DEFINE_CONFIGURABLE(cfgRejectFT0COutside, bool, false, "Rejection of outside ring channels of the FT0C detector")
112114
struct : ConfigurableGroup {
113115
O2_DEFINE_CONFIGURABLE(cfgMultCentHighCutFunction, std::string, "[0] + [1]*x + [2]*x*x + [3]*x*x*x + [4]*x*x*x*x + 10.*([5] + [6]*x + [7]*x*x + [8]*x*x*x + [9]*x*x*x*x)", "Functional for multiplicity correlation cut");
114116
O2_DEFINE_CONFIGURABLE(cfgMultCentLowCutFunction, std::string, "[0] + [1]*x + [2]*x*x + [3]*x*x*x + [4]*x*x*x*x - 3.*([5] + [6]*x + [7]*x*x + [8]*x*x*x + [9]*x*x*x*x)", "Functional for multiplicity correlation cut");
@@ -651,15 +653,15 @@ struct LongRangeDihadronCor {
651653
id = ft0.channelC()[iCh];
652654
id = id + Ft0IndexA;
653655
ampl = ft0.amplitudeC()[iCh];
654-
if ((cfgRejectInsideDetectors && (id >= kFT0CInnerRingMin && id <= kFT0CInnerRingMax)) || (cfgRejectOutsideDetectors && (id >= kFT0COuterRingMin && id <= kFT0COuterRingMax)))
656+
if ((cfgRejectFT0CInside && (id >= kFT0CInnerRingMin && id <= kFT0CInnerRingMax)) || (cfgRejectFT0COutside && (id >= kFT0COuterRingMin && id <= kFT0COuterRingMax)))
655657
ampl = 0.;
656658
registry.fill(HIST("FT0Amp"), id, ampl);
657659
ampl = ampl / cstFT0RelGain[iCh];
658660
registry.fill(HIST("FT0AmpCorrect"), id, ampl);
659661
} else if (fitType == kFT0A) {
660662
id = ft0.channelA()[iCh];
661663
ampl = ft0.amplitudeA()[iCh];
662-
if ((cfgRejectInsideDetectors && (id >= kFT0AInnerRingMin && id <= kFT0AInnerRingMax)) || (cfgRejectOutsideDetectors && (id >= kFT0AOuterRingMin && id <= kFT0AOuterRingMax)))
664+
if ((cfgRejectFT0AInside && (id >= kFT0AInnerRingMin && id <= kFT0AInnerRingMax)) || (cfgRejectFT0AOutside && (id >= kFT0AOuterRingMin && id <= kFT0AOuterRingMax)))
663665
ampl = 0.;
664666
registry.fill(HIST("FT0Amp"), id, ampl);
665667
ampl = ampl / cstFT0RelGain[iCh];

0 commit comments

Comments
 (0)