Skip to content

Commit 0d88c93

Browse files
committed
Add qa for new centrality tables
1 parent 13533b2 commit 0d88c93

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Common/Tasks/centralityQa.cxx

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ struct CentralityQa {
155155
histos.add("hCentNTPV", ";NTPV centrality (%)", kTH1D, {{nBins, 0, 105.}});
156156
histos.add("hCentNGlobal", ";NGlobal centrality (%)", kTH1D, {{nBins, 0, 105.}});
157157
histos.add("hCentMFT", ";MFT centrality (%)", kTH1D, {{nBins, 0, 105.}});
158+
histos.add("hCentFT0MLightIonAnchorCols", ";FT0MLightIonAnchorCols centrality (%)", kTH1D, {{nBins, 0, 105.}});
159+
histos.add("hCentFT0MLightIonAnchorBCs", ";FT0MLightIonAnchorBCs centrality (%)", kTH1D, {{nBins, 0, 105.}});
158160

159161
// profiles of midrapidity multiplicity density
160162
histos.add("hCentProfileFV0A", ";FV0A centrality (%)", kTProfile, {{nBins, 0, 105.}});
@@ -167,6 +169,8 @@ struct CentralityQa {
167169
histos.add("hCentProfileNTPV", ";NTPV centrality (%)", kTProfile, {{nBins, 0, 105.}});
168170
histos.add("hCentProfileNGlobal", ";NGlobal centrality (%)", kTProfile, {{nBins, 0, 105.}});
169171
histos.add("hCentProfileMFT", ";MFT centrality (%)", kTProfile, {{nBins, 0, 105.}});
172+
histos.add("hCentProfileFT0MLightIonAnchorCols", ";FT0MLightIonAnchorCols centrality (%)", kTProfile, {{nBins, 0, 105.}});
173+
histos.add("hCentProfileFT0MLightIonAnchorBCs", ";FT0MLightIonAnchorBCs centrality (%)", kTProfile, {{nBins, 0, 105.}});
170174

171175
histos.add("hMultEta05VsCentFV0A", ";FV0A centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
172176
histos.add("hMultEta05VsCentFT0M", ";FT0M centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
@@ -178,6 +182,8 @@ struct CentralityQa {
178182
histos.add("hMultEta05VsCentNTPV", ";NTPV centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
179183
histos.add("hMultEta05VsCentNGlobal", ";NGlobal centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
180184
histos.add("hMultEta05VsCentMFT", ";MFT centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
185+
histos.add("hMultEta05VsCentFT0MLightIonAnchorCols", ";FT0MLightIonAnchorCols centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
186+
histos.add("hMultEta05VsCentFT0MLightIonAnchorBCs", ";FT0MLightIonAnchorBCs centrality (%); Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {{nBins, 0, 105.}, axisMultiplicityPV});
181187

182188
if (isMC) {
183189
histos.add("hMultEta05VsGenMultFV0A", ";Multiplicity FV0A; Multiplicity PV contributors (|#it{#eta}| < 0.5)", kTH2D, {axisMultiplicity, axisMultiplicityPV});
@@ -656,6 +662,28 @@ struct CentralityQa {
656662
}
657663
PROCESS_SWITCH(CentralityQa, processRun3_MFT, "Process with Run 3 MFT estimator", false);
658664

665+
void processRun3_FT0MLightIonAnchorCol(soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0MLightIonAnchorCols>::iterator const& col)
666+
{
667+
if (!isCollisionAccepted(col)) {
668+
return;
669+
}
670+
histos.fill(HIST("hCentFT0MLightIonAnchorCols"), col.centFT0MLightIonAnchorCol());
671+
histos.fill(HIST("hCentProfileFT0MLightIonAnchorCols"), col.centFT0MLightIonAnchorCol(), col.multNTracksPVetaHalf());
672+
histos.fill(HIST("hMultEta05VsCentFT0MLightIonAnchorCols"), col.centFT0MLightIonAnchorCol(), col.multNTracksPVetaHalf());
673+
}
674+
PROCESS_SWITCH(CentralityQa, processRun3_FT0MLightIonAnchorCol, "Process with Run 3 FT0MLightIonAnchorCol estimator", false);
675+
676+
void processRun3_FT0MLightIonAnchorBC(soa::Join<aod::Collisions, aod::EvSels, aod::Mults, aod::CentFT0MLightIonAnchorBCs>::iterator const& col)
677+
{
678+
if (!isCollisionAccepted(col)) {
679+
return;
680+
}
681+
histos.fill(HIST("hCentFT0MLightIonAnchorBCs"), col.centFT0MLightIonAnchorBC());
682+
histos.fill(HIST("hCentProfileFT0MLightIonAnchorBCs"), col.centFT0MLightIonAnchorBC(), col.multNTracksPVetaHalf());
683+
histos.fill(HIST("hMultEta05VsCentFT0MLightIonAnchorBCs"), col.centFT0MLightIonAnchorBC(), col.multNTracksPVetaHalf());
684+
}
685+
PROCESS_SWITCH(CentralityQa, processRun3_FT0MLightIonAnchorBC, "Process with Run 3 FT0MLightIonAnchorBC estimator", false);
686+
659687
void processMonteCarloRun3_FV0A(soa::Join<aod::Collisions, aod::McCollisionLabels, aod::EvSels, aod::Mults, aod::CentFV0As>::iterator const& col,
660688
soa::Join<aod::McCollisions, aod::MultMCExtras> const& /*mcCollisions*/,
661689
soa::Join<aod::BCs, aod::Run3MatchedToBCSparse> const& /*bcs*/)

0 commit comments

Comments
 (0)