Skip to content

Commit 96c6eed

Browse files
author
Somadutta Bhatta
committed
[PWGCF] radialFlowDecorr: add centrality-estimator systematic, alphabetical systematic order
1 parent cb8db5e commit 96c6eed

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

‎PWGCF/EbyEFluctuations/Tasks/radialFlowDecorr.cxx‎

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,11 @@ struct RadialFlowDecorr {
113113
// Systematic-variation selector for DATA. Base is the main measurement; each
114114
// variation reads its own DataMean object (systSuffix) for the correlation step.
115115
// kSystEff and kSystEffPtDep scale the efficiency by cfgEffVarPercent; kSystEffPtDep
116-
// always uses the pT-dependent shape.
116+
// always uses the pT-dependent shape. kSystCent is run with a different
117+
// cfgCentralityChoice than the base (base FT0C, variation FT0M).
117118
enum ESystType {
118119
kSystBase = 0,
120+
kSystCent,
119121
kSystDCA,
120122
kSystEff,
121123
kSystEffPtDep,
@@ -128,7 +130,7 @@ struct RadialFlowDecorr {
128130
};
129131
// Suffix appended to the DataMean CCDB path per systematic (Base -> no suffix).
130132
inline static const std::vector<std::string> systSuffix = {
131-
"", "_systDCA", "_systEff", "_systEffpTDep", "_systFlat",
133+
"", "_systCent", "_systDCA", "_systEff", "_systEffpTDep", "_systFlat",
132134
"_systNITS", "_systNTPC", "_systPileup", "_systVz"};
133135

134136
static constexpr float KinvalidCentrality = -1.0f;
@@ -182,7 +184,7 @@ struct RadialFlowDecorr {
182184
Configurable<int> cfgNchOMax{"cfgNchOMax", 800, "Max Nch range for OO collisions"};
183185

184186
Configurable<int> cfgSys{"cfgSys", 1, "Which collision system? 1-->PbPb, 2-->NeNe, 3-->OO, 4-->pp"};
185-
Configurable<int> cfgSystType{"cfgSystType", 0, "Systematic variation: 0=Base,1=systDCA,2=systEff,3=systEffpTDep,4=systFlat,5=systNITS,6=systNTPC,7=systPileup,8=systVz"};
187+
Configurable<int> cfgSystType{"cfgSystType", 0, "Systematic variation: 0=Base,1=systCent,2=systDCA,3=systEff,4=systEffpTDep,5=systFlat,6=systNITS,7=systNTPC,8=systPileup,9=systVz"};
186188
Configurable<int> cfgNBootstrap{"cfgNBootstrap", 16, "Number of Poisson bootstrap samples (base data run only)"};
187189
Configurable<int> cfgBootstrapSeed{"cfgBootstrapSeed", 0, "TRandom3 seed for bootstrap (0 = machine-random per job)"};
188190

@@ -1031,6 +1033,9 @@ struct RadialFlowDecorr {
10311033
void init(InitContext&)
10321034
{
10331035
TH1::SetDefaultSumw2(true);
1036+
if (cfgSystType == kSystCent && cfgCentralityChoice == kCentFT0C) {
1037+
LOGF(warning, "cfgSystType=systCent but cfgCentralityChoice is still FT0C (the base estimator).");
1038+
}
10341039
// Nch axes by system
10351040
if (cfgSys == kPbPb) {
10361041
nChAxis = {cfgNchPbMax / 2, KBinOffset, cfgNchPbMax + KBinOffset, "Nch", "PV-contributor track multiplicity"};

0 commit comments

Comments
 (0)