Skip to content

Commit 9e1fbae

Browse files
committed
separate max eta range for full region and subevent region
1 parent 50409a3 commit 9e1fbae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ struct FlowTask {
7373
O2_DEFINE_CONFIGURABLE(cfgCutPtMax, float, 10.0f, "Maximal pT for all tracks")
7474
O2_DEFINE_CONFIGURABLE(cfgCutEta, float, 0.8f, "Eta range for tracks")
7575
O2_DEFINE_CONFIGURABLE(cfgEtaPtPt, float, 0.4, "eta range for pt-pt correlations")
76-
O2_DEFINE_CONFIGURABLE(cfgEtaGapPtPt, float, 0.2, "eta gap for pt-pt correlations, cfgEtaGapPtPt<|eta|<cfgEtaPtPt")
76+
O2_DEFINE_CONFIGURABLE(cfgEtaSubPtPt, float, 0.8, "eta range for subevent pt-pt correlations")
77+
O2_DEFINE_CONFIGURABLE(cfgEtaGapPtPt, float, 0.2, "eta gap for pt-pt correlations, cfgEtaGapPtPt<|eta|<cfgEtaSubPtPt")
7778
O2_DEFINE_CONFIGURABLE(cfgEtaGapPtPtEnabled, bool, false, "switch of subevent pt-pt correlations")
7879
O2_DEFINE_CONFIGURABLE(cfgCutChi2prTPCcls, float, 2.5f, "max chi2 per TPC clusters")
7980
O2_DEFINE_CONFIGURABLE(cfgCutTPCclu, float, 50.0f, "minimum TPC clusters")
@@ -656,6 +657,9 @@ struct FlowTask {
656657
{
657658
if (std::abs(track.eta()) < cfgEtaPtPt) {
658659
(dt == kGen) ? fFCptgen->fill(1., track.pt()) : fFCpt->fill(weff, track.pt());
660+
}
661+
662+
if (std::abs(track.eta()) < cfgEtaSubPtPt) {
659663
if (cfgEtaGapPtPtEnabled) {
660664
if (track.eta() < -1. * cfgEtaGapPtPt) {
661665
(dt == kGen) ? fFCptgen->fillSub1(1., track.pt()) : fFCpt->fillSub1(weff, track.pt());

0 commit comments

Comments
 (0)