Skip to content

Commit 847753f

Browse files
Preet-BhanjanPreet Pati
andauthored
[PWGCF] v2 four particle cumulant pion, kaon, proton (#9651)
Co-authored-by: Preet Pati <preet@preet-2.local>
1 parent 496111b commit 847753f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

PWGCF/Flow/Tasks/flowPbpbPikp.cxx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,14 @@ struct FlowPbpbPikp {
7070
O2_DEFINE_CONFIGURABLE(cfgCutPtMin, float, 0.2f, "Minimal pT for ref tracks")
7171
O2_DEFINE_CONFIGURABLE(cfgCutPtMax, float, 3.0f, "Maximal pT for ref tracks")
7272
O2_DEFINE_CONFIGURABLE(cfgCutEta, float, 0.8f, "Eta range for tracks")
73+
O2_DEFINE_CONFIGURABLE(cfgTpcCluster, int, 70, "Number of TPC clusters")
7374
O2_DEFINE_CONFIGURABLE(cfgCutChi2prTPCcls, float, 2.5, "Chi2 per TPC clusters")
7475
O2_DEFINE_CONFIGURABLE(cfgUseNch, bool, false, "Use Nch for flow observables")
7576
O2_DEFINE_CONFIGURABLE(cfgNbootstrap, int, 10, "Number of subsamples")
7677
O2_DEFINE_CONFIGURABLE(cfgFillWeights, bool, true, "Fill NUA weights")
78+
O2_DEFINE_CONFIGURABLE(cfgOutputNUAWeights, bool, false, "Fill and output NUA weights")
79+
O2_DEFINE_CONFIGURABLE(cfgEfficiency, std::string, "", "CCDB path to efficiency object")
80+
O2_DEFINE_CONFIGURABLE(cfgAcceptance, std::string, "", "CCDB path to acceptance object")
7781
O2_DEFINE_CONFIGURABLE(cfgTpcNsigmaCut, float, 2.0f, "TPC N-sigma cut for pions, kaons, protons")
7882
O2_DEFINE_CONFIGURABLE(cfgTofPtCut, float, 0.5f, "Minimum pt to use TOF N-sigma")
7983
O2_DEFINE_CONFIGURABLE(cfgCutDCAxy, float, 2.0f, "DCAxy range for tracks")
@@ -133,6 +137,10 @@ struct FlowPbpbPikp {
133137
fPtAxis = new TAxis(nPtBins, ptBins);
134138

135139
TObjArray* oba = new TObjArray();
140+
oba->Add(new TNamed("ChFull22", "ChFull22"));
141+
for (int i = 0; i < fPtAxis->GetNbins(); i++)
142+
oba->Add(new TNamed(Form("ChFull22_pt_%i", i + 1), "ChFull22_pTDiff"));
143+
136144
oba->Add(new TNamed("Ch08Gap22", "Ch08Gap22"));
137145
for (int i = 0; i < fPtAxis->GetNbins(); i++)
138146
oba->Add(new TNamed(Form("Ch08Gap22_pt_%i", i + 1), "Ch08Gap22_pTDiff"));
@@ -145,10 +153,24 @@ struct FlowPbpbPikp {
145153
oba->Add(new TNamed("Pr08Gap22", "Pr08Gap22"));
146154
for (int i = 0; i < fPtAxis->GetNbins(); i++)
147155
oba->Add(new TNamed(Form("Pr08Gap22_pt_%i", i + 1), "Pr08Gap22_pTDiff"));
156+
148157
oba->Add(new TNamed("ChFull24", "ChFull24"));
149158
for (int i = 0; i < fPtAxis->GetNbins(); i++)
150159
oba->Add(new TNamed(Form("ChFull24_pt_%i", i + 1), "ChFull24_pTDiff"));
151160

161+
oba->Add(new TNamed("Ch08Gap24", "Ch08Gap24"));
162+
for (int i = 0; i < fPtAxis->GetNbins(); i++)
163+
oba->Add(new TNamed(Form("Ch08Gap24_pt_%i", i + 1), "Ch08Gap24_pTDiff"));
164+
oba->Add(new TNamed("Pi08Gap24", "Pi08Gap24"));
165+
for (int i = 0; i < fPtAxis->GetNbins(); i++)
166+
oba->Add(new TNamed(Form("Pi08Gap24_pt_%i", i + 1), "Pi08Gap24_pTDiff"));
167+
oba->Add(new TNamed("Ka08Gap24", "Ka08Gap24"));
168+
for (int i = 0; i < fPtAxis->GetNbins(); i++)
169+
oba->Add(new TNamed(Form("Ka08Gap24_pt_%i", i + 1), "Ka08Gap24_pTDiff"));
170+
oba->Add(new TNamed("Pr08Gap24", "Pr08Gap24"));
171+
for (int i = 0; i < fPtAxis->GetNbins(); i++)
172+
oba->Add(new TNamed(Form("Pr08Gap24_pt_%i", i + 1), "Pr08Gap24_pTDiff"));
173+
152174
fFC->SetName("FlowContainer");
153175
fFC->SetXAxis(fPtAxis);
154176
fFC->Initialize(oba, axisMultiplicity, cfgNbootstrap);
@@ -177,6 +199,8 @@ struct FlowPbpbPikp {
177199
fGFW->AddRegion("poiNpr", -0.8, -0.4, 1 + fPtAxis->GetNbins(), 8);
178200
fGFW->AddRegion("olNpr", -0.8, -0.4, 1 + fPtAxis->GetNbins(), 64);
179201

202+
// reference particles
203+
corrconfigs.push_back(fGFW->GetCorrelatorConfig("full {2 -2}", "ChFull22", kFALSE));
180204
corrconfigs.push_back(fGFW->GetCorrelatorConfig("refN08 {2} refP08 {-2}", "Ch08Gap22", kFALSE));
181205
corrconfigs.push_back(fGFW->GetCorrelatorConfig("refN08 {2} refP08 {-2}", "Pi08Gap22", kFALSE));
182206
corrconfigs.push_back(fGFW->GetCorrelatorConfig("refN08 {2} refP08 {-2}", "Ka08Gap22", kFALSE));
@@ -187,6 +211,8 @@ struct FlowPbpbPikp {
187211
corrconfigs.push_back(fGFW->GetCorrelatorConfig("refN08 {2 2} refP08 {-2 -2}", "Ka08Gap24", kFALSE));
188212
corrconfigs.push_back(fGFW->GetCorrelatorConfig("refN08 {2 2} refP08 {-2 -2}", "Pr08Gap24", kFALSE));
189213

214+
// pt differential pois
215+
corrconfigs.push_back(fGFW->GetCorrelatorConfig("poi full | ol {2 -2}", "ChFull22", kTRUE));
190216
corrconfigs.push_back(fGFW->GetCorrelatorConfig("poiN refN08 | olN {2} refP08 {-2}", "Ch08Gap22", kTRUE));
191217
corrconfigs.push_back(fGFW->GetCorrelatorConfig("poiNpi refN08 | olNpi {2} refP08 {-2}", "Pi08Gap22", kTRUE));
192218
corrconfigs.push_back(fGFW->GetCorrelatorConfig("poiNk refN08 | olNk {2} refP08 {-2}", "Ka08Gap22", kTRUE));

0 commit comments

Comments
 (0)