Skip to content

Commit fe1c340

Browse files
Add FV0A Centrality
1 parent f9b8b21 commit fe1c340

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ enum CentEstimator {
9090
kCentFT0M,
9191
kCentFT0CVariant1,
9292
kCentMFT,
93-
kCentNGlobal
93+
kCentNGlobal,
94+
kCentFV0A
9495
};
9596

9697
struct derivedlambdakzeroanalysis {
@@ -106,7 +107,7 @@ struct derivedlambdakzeroanalysis {
106107

107108
Configurable<bool> doPPAnalysis{"doPPAnalysis", false, "if in pp, set to true"};
108109
Configurable<std::string> irSource{"irSource", "T0VTX", "Estimator of the interaction rate (Recommended: pp --> T0VTX, Pb-Pb --> ZNC hadronic)"};
109-
Configurable<int> centralityEstimator{"centralityEstimator", kCentFT0C, "Run 3 centrality estimator (0:CentFT0C, 1:CentFT0M, 3:CentFT0CVariant1, 4:CentMFT, 5:CentNGlobal)"};
110+
Configurable<int> centralityEstimator{"centralityEstimator", kCentFT0C, "Run 3 centrality estimator (0:CentFT0C, 1:CentFT0M, 2:CentFT0CVariant1, 3:CentMFT, 4:CentNGlobal, 5:CentFV0A)"};
110111

111112
Configurable<bool> doEventQA{"doEventQA", false, "do event QA histograms"};
112113
Configurable<bool> doCompleteTopoQA{"doCompleteTopoQA", false, "do topological variable QA histograms"};
@@ -1127,6 +1128,8 @@ struct derivedlambdakzeroanalysis {
11271128
return collision.centMFT();
11281129
else if (centralityEstimator == kCentNGlobal)
11291130
return collision.centNGlobal();
1131+
else if (centralityEstimator == kCentFV0A)
1132+
return collision.centFV0A();
11301133

11311134
return -1.f;
11321135
}

0 commit comments

Comments
 (0)