Skip to content

Commit 9030a39

Browse files
committed
Add c34 cummulant
1 parent c603d02 commit 9030a39

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

PWGCF/Flow/Tasks/flowGfwTask.cxx

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ struct FlowGfwTask {
8181
O2_DEFINE_CONFIGURABLE(cfgCutOccupancyLow, int, 0, "Low cut on TPC occupancy")
8282
O2_DEFINE_CONFIGURABLE(cfgCutDCAz, float, 2.0f, "Custom DCA Z cut")
8383
O2_DEFINE_CONFIGURABLE(cfgNbootstrap, int, 10, "Number of subsamples")
84-
O2_DEFINE_CONFIGURABLE(cfgCentEstFt0c, bool, false, "Centrality estimator based on FT0C signal")
84+
O2_DEFINE_CONFIGURABLE(cfgCentEstFt0c, bool, true, "Centrality estimator based on FT0C signal")
8585
O2_DEFINE_CONFIGURABLE(cfgCentEstFt0a, bool, false, "Centrality estimator based on FT0A signal")
8686
O2_DEFINE_CONFIGURABLE(cfgCentEstFt0m, bool, false, " A centrality estimator based on FT0A+FT0C signals.")
8787
O2_DEFINE_CONFIGURABLE(cfgCentEstFv0a, bool, false, "Centrality estimator based on FV0A signal")
@@ -91,10 +91,10 @@ 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")
96-
O2_DEFINE_CONFIGURABLE(cfgUseAdditionalEventCut, bool, false, "Use additional event cut on mult correlations")
97-
O2_DEFINE_CONFIGURABLE(cfgUseAdditionalTrackCut, bool, false, "Use additional track cut on phi")
96+
O2_DEFINE_CONFIGURABLE(cfgUseAdditionalEventCut, bool, true, "Use additional event cut on mult correlations")
97+
O2_DEFINE_CONFIGURABLE(cfgUseAdditionalTrackCut, bool, true, "Use additional track cut on phi")
9898
O2_DEFINE_CONFIGURABLE(cfgOccupancy, bool, false, "Bool for event selection on detector occupancy");
9999
O2_DEFINE_CONFIGURABLE(cfgNoTimeFrameBorder, bool, false, "kNoTimeFrameBorder");
100100
O2_DEFINE_CONFIGURABLE(cfgNoITSROFrameBorder, bool, false, "kNoITSROFrameBorder");
@@ -103,13 +103,13 @@ struct FlowGfwTask {
103103
O2_DEFINE_CONFIGURABLE(cfgIsVertexITSTPC, bool, false, "kIsVertexITSTPC");
104104
O2_DEFINE_CONFIGURABLE(cfgNoCollInTimeRangeStandard, bool, false, "kNoCollInTimeRangeStandard");
105105
O2_DEFINE_CONFIGURABLE(cfgEvSelkIsGoodITSLayersAll, bool, false, "kIsGoodITSLayersAll")
106-
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")
108-
O2_DEFINE_CONFIGURABLE(cfgGlobalTracks, bool, false, "Global tracks")
106+
O2_DEFINE_CONFIGURABLE(cfgMultCut, bool, true, "Use additional event cut on mult correlations");
107+
O2_DEFINE_CONFIGURABLE(cfgV0AT0ANSigma, bool, true, "V0A T0A n sigma cut")
108+
O2_DEFINE_CONFIGURABLE(cfgNSigma, float, 5.0f, "N sigma cut")
109+
O2_DEFINE_CONFIGURABLE(cfgGlobalTracks, bool, true, "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,14 +1144,15 @@ 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++) {
11501151
fillFC(corrconfigs.at(l_ind), centrality, lRandom);
11511152
}
11521153

11531154
} // End of process
1154-
PROCESS_SWITCH(FlowGfwTask, processData, "Process analysis for Run 3 data", false);
1155+
PROCESS_SWITCH(FlowGfwTask, processData, "Process analysis for Run 3 data", true);
11551156

11561157
using TheFilteredMyTracks = soa::Filtered<MyTracks>;
11571158
using TheFilteredMyCollisions = soa::Filtered<MyCollisions>;

0 commit comments

Comments
 (0)