Skip to content

Commit c696d9c

Browse files
authored
[PWGCF] separate eta range (#14304)
1 parent 47452ef commit c696d9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct FlowTask {
7373
O2_DEFINE_CONFIGURABLE(cfgCutPtMin, float, 0.2f, "Minimal pT for all tracks")
7474
O2_DEFINE_CONFIGURABLE(cfgCutPtMax, float, 10.0f, "Maximal pT for all tracks")
7575
O2_DEFINE_CONFIGURABLE(cfgCutEta, float, 0.8f, "Eta range for tracks")
76-
O2_DEFINE_CONFIGURABLE(cfgEtaPtPt, float, 0.4, "eta range for pt-pt correlations")
76+
O2_DEFINE_CONFIGURABLE(cfgEtaVnPt, float, 0.4, "eta range for pt in vn-pt correlations")
7777
Configurable<LabeledArray<double>> cfgPtPtGaps{"cfgPtPtGaps", {LongArrayDouble[0], 4, 2, {"subevent 1", "subevent 2", "subevent 3", "subevent 4"}, {"etamin", "etamax"}}, "{etamin,etamax} for all ptpt-subevents"};
7878
O2_DEFINE_CONFIGURABLE(cfgEtaGapPtPtEnabled, bool, false, "switch of subevent pt-pt correlations")
7979
O2_DEFINE_CONFIGURABLE(cfgCutChi2prTPCcls, float, 2.5f, "max chi2 per TPC clusters")
@@ -710,7 +710,7 @@ struct FlowTask {
710710
template <DataType dt, typename TTrack>
711711
inline void fillPtSums(TTrack track, float weff)
712712
{
713-
if (std::abs(track.eta()) < cfgEtaPtPt) {
713+
if (std::abs(track.eta()) < cfgEtaVnPt) {
714714
(dt == kGen) ? fFCptgen->fill(1., track.pt()) : fFCpt->fill(weff, track.pt());
715715
}
716716
std::size_t index = 0;
@@ -1126,7 +1126,7 @@ struct FlowTask {
11261126
continue;
11271127
bool withinPtPOI = (cfgCutPtPOIMin < track.pt()) && (track.pt() < cfgCutPtPOIMax); // within POI pT range
11281128
bool withinPtRef = (cfgCutPtRefMin < track.pt()) && (track.pt() < cfgCutPtRefMax); // within RF pT range
1129-
bool withinEtaGap08 = (std::abs(track.eta()) < cfgEtaPtPt);
1129+
bool withinEtaGap08 = (std::abs(track.eta()) < cfgCutEta);
11301130
if (cfgOutputNUAWeights) {
11311131
if (cfgOutputNUAWeightsRefPt) {
11321132
if (withinPtRef) {
@@ -1276,7 +1276,7 @@ struct FlowTask {
12761276
continue;
12771277
bool withinPtPOI = (cfgCutPtPOIMin < mcParticle.pt()) && (mcParticle.pt() < cfgCutPtPOIMax); // within POI pT range
12781278
bool withinPtRef = (cfgCutPtRefMin < mcParticle.pt()) && (mcParticle.pt() < cfgCutPtRefMax); // within RF pT range
1279-
bool withinEtaGap08 = (std::abs(mcParticle.eta()) < cfgEtaPtPt);
1279+
bool withinEtaGap08 = (std::abs(mcParticle.eta()) < cfgCutEta);
12801280

12811281
if (withinPtRef) {
12821282
registry.fill(HIST("MCGen/MChPhi"), mcParticle.phi());

0 commit comments

Comments
 (0)