Skip to content

Commit 85ac022

Browse files
authored
[PWGCF] Add c34 cummulant (#13580)
1 parent 921cb24 commit 85ac022

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

PWGCF/Flow/Tasks/flowGfwTask.cxx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ struct FlowGfwTask {
9191
O2_DEFINE_CONFIGURABLE(cfgEfficiencyNch, std::string, "", "CCDB path to Nch efficiency object")
9292
O2_DEFINE_CONFIGURABLE(cfgAcceptance, std::string, "", "CCDB path to acceptance object")
9393
O2_DEFINE_CONFIGURABLE(cfgMagnetField, std::string, "GLO/Config/GRPMagField", "CCDB path to Magnet field object")
94-
O2_DEFINE_CONFIGURABLE(cfgDCAzPt, bool, true, "switch for DCAz pt dependent")
94+
O2_DEFINE_CONFIGURABLE(cfgDCAzPt, bool, false, "switch for DCAz pt dependent")
9595
O2_DEFINE_CONFIGURABLE(cfgTrackSelRun3ITSMatch, bool, false, "Track selection for ITS matches")
9696
O2_DEFINE_CONFIGURABLE(cfgUseAdditionalEventCut, bool, false, "Use additional event cut on mult correlations")
9797
O2_DEFINE_CONFIGURABLE(cfgUseAdditionalTrackCut, bool, false, "Use additional track cut on phi")
@@ -104,12 +104,12 @@ struct FlowGfwTask {
104104
O2_DEFINE_CONFIGURABLE(cfgNoCollInTimeRangeStandard, bool, false, "kNoCollInTimeRangeStandard");
105105
O2_DEFINE_CONFIGURABLE(cfgEvSelkIsGoodITSLayersAll, bool, false, "kIsGoodITSLayersAll")
106106
O2_DEFINE_CONFIGURABLE(cfgMultCut, bool, false, "Use additional event cut on mult correlations");
107-
O2_DEFINE_CONFIGURABLE(cfgV0AT0A5Sigma, bool, false, "V0A T0A 5 sigma cut")
107+
O2_DEFINE_CONFIGURABLE(cfgV0AT0ANSigma, bool, false, "V0A T0A n sigma cut")
108+
O2_DEFINE_CONFIGURABLE(cfgNSigma, float, 5.0f, "N sigma cut")
108109
O2_DEFINE_CONFIGURABLE(cfgGlobalTracks, bool, false, "Global tracks")
109110
O2_DEFINE_CONFIGURABLE(cfgGlobalplusITS, bool, false, "Global and ITS tracks")
110111
O2_DEFINE_CONFIGURABLE(cfgGlobalonly, bool, false, "Global only tracks")
111112
O2_DEFINE_CONFIGURABLE(cfgITSonly, bool, false, "ITS only tracks")
112-
O2_DEFINE_CONFIGURABLE(cfgFineBinning, bool, false, "Manually change to fine binning")
113113

114114
ConfigurableAxis axisVertex{"axisVertex", {20, -10, 10}, "vertex axis for histograms"};
115115
ConfigurableAxis axisPhi{"axisPhi", {60, 0.0, constants::math::TwoPI}, "phi axis for histograms"};
@@ -190,6 +190,7 @@ struct FlowGfwTask {
190190
kc34Nch05,
191191
kc22etagapft0c,
192192
kc32etagapft0c,
193+
kc34ft0c,
193194

194195
// Count the total number of enum
195196
kCount_ExtraProfile
@@ -407,6 +408,7 @@ struct FlowGfwTask {
407408

408409
registry.add("c22etagapft0c", ";FT0C Amplitude ; C_{2}{2} (|#eta| < 0.8) ", {HistType::kTProfile, {axisFT0CAmp}});
409410
registry.add("c32etagapft0c", ";FT0C Amplitude ; C_{3}{2} (|#eta| < 0.8) ", {HistType::kTProfile, {axisFT0CAmp}});
411+
registry.add("c34etagapft0c", ";FT0C Amplitude ; C_{3}{4} (|#eta| < 0.8) ", {HistType::kTProfile, {axisFT0CAmp}});
410412
} // End doprocessData
411413

412414
const AxisSpec axisZpos{48, -12., 12., "Vtx_{z} (cm)"};
@@ -490,6 +492,7 @@ struct FlowGfwTask {
490492

491493
bootstrapArray[i][kc22etagapft0c] = registry.add<TProfile>(Form("BootstrapContainer_%d/c22etagapftoc", i), ";FT0C Amplitude ; C_{2}{2} (|#eta| < 0.8)", {HistType::kTProfile, {axisFT0CAmp}});
492494
bootstrapArray[i][kc32etagapft0c] = registry.add<TProfile>(Form("BootstrapContainer_%d/c32etagapftoc", i), ";FT0C Amplitude ; C_{3}{2} (|#eta| < 0.8)", {HistType::kTProfile, {axisFT0CAmp}});
495+
bootstrapArray[i][kc34ft0c] = registry.add<TProfile>(Form("BootstrapContainer_%d/c34etagapftoc", i), ";FT0C Amplitude ; C_{3}{4} (|#eta| < 0.8)", {HistType::kTProfile, {axisFT0CAmp}});
493496
}
494497

495498
o2::framework::AxisSpec axis = axisPt;
@@ -753,10 +756,9 @@ struct FlowGfwTask {
753756
registry.fill(HIST("hEventCount"), kAFTERMULTCUTS);
754757
}
755758

756-
// V0A T0A 5 sigma cut
757-
float five = 5;
758-
if (cfgV0AT0A5Sigma) {
759-
if (std::abs(collision.multFV0A() - fT0AV0AMean->Eval(collision.multFT0A())) > five * fT0AV0ASigma->Eval(collision.multFT0A()))
759+
// V0A T0A N sigma cut
760+
if (cfgV0AT0ANSigma) {
761+
if (std::abs(collision.multFV0A() - fT0AV0AMean->Eval(collision.multFT0A())) > cfgNSigma * fT0AV0ASigma->Eval(collision.multFT0A()))
760762
return false;
761763
}
762764

@@ -1061,9 +1063,6 @@ struct FlowGfwTask {
10611063
}
10621064
}
10631065

1064-
if (cfgFineBinning)
1065-
fGFW->Fill(track.eta(), 1, track.phi(), wacc * weff, 1);
1066-
10671066
} // End of track loop
10681067

10691068
// Only one type of track will be plotted
@@ -1102,9 +1101,10 @@ struct FlowGfwTask {
11021101
fillProfile(corrconfigs.at(7), HIST("c34Nch05"), nch);
11031102
}
11041103

1105-
// C22 and C32 vs FT0C amplitude
1104+
// C22, C32 and C34 vs FT0C amplitude
11061105
fillProfile(corrconfigs.at(4), HIST("c22etagapft0c"), ft0cAmp);
11071106
fillProfile(corrconfigs.at(6), HIST("c32etagapft0c"), ft0cAmp);
1107+
fillProfile(corrconfigs.at(7), HIST("c34etagapft0c"), ft0cAmp);
11081108

11091109
// Filling Bootstrap Samples
11101110
int sampleIndex = static_cast<int>(cfgNbootstrap * lRandom);
@@ -1144,6 +1144,7 @@ struct FlowGfwTask {
11441144
// Filling Bootstrap Samples for FT0C Amplitudes
11451145
fillProfile(corrconfigs.at(4), bootstrapArray[sampleIndex][kc22etagapft0c], ft0cAmp);
11461146
fillProfile(corrconfigs.at(6), bootstrapArray[sampleIndex][kc32etagapft0c], ft0cAmp);
1147+
fillProfile(corrconfigs.at(7), bootstrapArray[sampleIndex][kc34ft0c], ft0cAmp);
11471148

11481149
// Filling Flow Container
11491150
for (uint l_ind = 0; l_ind < corrconfigs.size(); l_ind++) {

0 commit comments

Comments
 (0)