Skip to content

Commit 7b8480e

Browse files
authored
[PWGCF] Changed several histograms back to Doubles (#10608)
1 parent 75cb458 commit 7b8480e

File tree

1 file changed

+59
-59
lines changed

1 file changed

+59
-59
lines changed

PWGCF/MultiparticleCorrelations/Tasks/threeParticleCorrelations.cxx

Lines changed: 59 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -122,71 +122,71 @@ struct ThreeParticleCorrelations {
122122
const AxisSpec lambdaInvMassAxis{100, 1.08, 1.16};
123123

124124
// QA & PID
125-
rQARegistry.add("hTrackPt", "hTrackPt", {HistType::kTH1F, {{100, 0, 4}}});
126-
rQARegistry.add("hTrackEta", "hTrackEta", {HistType::kTH1F, {{100, -1, 1}}});
127-
rQARegistry.add("hTrackPhi", "hTrackPhi", {HistType::kTH1F, {{100, (-1. / 2) * constants::math::PI, (5. / 2) * constants::math::PI}}});
128-
rQARegistry.add("hEventCentrality", "hEventCentrality", {HistType::kTH1F, {{centralityAxis}}});
129-
rQARegistry.add("hEventCentrality_MC", "hEventCentrality_MC", {HistType::kTH1F, {{centralityAxis}}});
130-
rQARegistry.add("hEventZvtx", "hEventZvtx", {HistType::kTH1F, {{zvtxAxis}}});
131-
132-
rQARegistry.add("hdEdx", "hdEdx", {HistType::kTH2F, {{56, 0.2, 3.0}, {180, 20, 200}}});
133-
rQARegistry.add("hdEdxPion", "hdEdxPion", {HistType::kTH2F, {{56, 0.2, 3.0}, {180, 20, 200}}});
134-
rQARegistry.add("hdEdxKaon", "hdEdxKaon", {HistType::kTH2F, {{56, 0.2, 3.0}, {180, 20, 200}}});
135-
rQARegistry.add("hdEdxProton", "hdEdxProton", {HistType::kTH2F, {{56, 0.2, 3.0}, {180, 20, 200}}});
136-
rQARegistry.add("hBeta", "hBeta", {HistType::kTH2F, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
137-
rQARegistry.add("hBetaPion", "hBetaPion", {HistType::kTH2F, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
138-
rQARegistry.add("hBetaKaon", "hBetaKaon", {HistType::kTH2F, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
139-
rQARegistry.add("hBetaProton", "hBetaProton", {HistType::kTH2F, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
140-
rQARegistry.add("hNSigmaPion", "hNSigmaPion", {HistType::kTH2F, {{201, -5.025, 5.025}, {201, -5.025, 5.025}}});
141-
rQARegistry.add("hNSigmaKaon", "hNSigmaKaon", {HistType::kTH2F, {{201, -5.025, 5.025}, {201, -5.025, 5.025}}});
142-
rQARegistry.add("hNSigmaProton", "hNSigmaProton", {HistType::kTH2F, {{201, -5.025, 5.025}, {201, -5.025, 5.025}}});
143-
144-
rQARegistry.add("hTPCPion", "hTPCPion", {HistType::kTH2F, {{trackPtAxis}, {241, -6, 6}}});
145-
rQARegistry.add("hTPCKaon", "hTPCKaon", {HistType::kTH2F, {{trackPtAxis}, {241, -6, 6}}});
146-
rQARegistry.add("hTPCProton", "hTPCProton", {HistType::kTH2F, {{trackPtAxis}, {241, -6, 6}}});
147-
rQARegistry.add("hTOFPion", "hTOFPion", {HistType::kTH2F, {{trackPtAxis}, {1000, -50, 50}}});
148-
rQARegistry.add("hTOFKaon", "hTOFKaon", {HistType::kTH2F, {{trackPtAxis}, {1000, -50, 50}}});
149-
rQARegistry.add("hTOFProton", "hTOFProton", {HistType::kTH2F, {{trackPtAxis}, {1000, -50, 50}}});
150-
151-
rQARegistry.add("hInvMassLambda", "hInvMassLambda", {HistType::kTH3F, {{lambdaInvMassAxis}, {v0PtAxis}, {centralityAxis}}});
152-
rQARegistry.add("hInvMassAntiLambda", "hInvMassAntiLambda", {HistType::kTH3F, {{lambdaInvMassAxis}, {v0PtAxis}, {centralityAxis}}});
153-
rQARegistry.add("hNLambdas", "hNLambdas", {HistType::kTH3F, {{2, -2, 2}, {v0PtAxis}, {centralityAxis}}});
125+
rQARegistry.add("hTrackPt", "hTrackPt", {HistType::kTH1D, {{100, 0, 4}}});
126+
rQARegistry.add("hTrackEta", "hTrackEta", {HistType::kTH1D, {{100, -1, 1}}});
127+
rQARegistry.add("hTrackPhi", "hTrackPhi", {HistType::kTH1D, {{100, (-1. / 2) * constants::math::PI, (5. / 2) * constants::math::PI}}});
128+
rQARegistry.add("hEventCentrality", "hEventCentrality", {HistType::kTH1D, {{centralityAxis}}});
129+
rQARegistry.add("hEventCentrality_MC", "hEventCentrality_MC", {HistType::kTH1D, {{centralityAxis}}});
130+
rQARegistry.add("hEventZvtx", "hEventZvtx", {HistType::kTH1D, {{zvtxAxis}}});
131+
132+
rQARegistry.add("hdEdx", "hdEdx", {HistType::kTH2D, {{56, 0.2, 3.0}, {180, 20, 200}}});
133+
rQARegistry.add("hdEdxPion", "hdEdxPion", {HistType::kTH2D, {{56, 0.2, 3.0}, {180, 20, 200}}});
134+
rQARegistry.add("hdEdxKaon", "hdEdxKaon", {HistType::kTH2D, {{56, 0.2, 3.0}, {180, 20, 200}}});
135+
rQARegistry.add("hdEdxProton", "hdEdxProton", {HistType::kTH2D, {{56, 0.2, 3.0}, {180, 20, 200}}});
136+
rQARegistry.add("hBeta", "hBeta", {HistType::kTH2D, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
137+
rQARegistry.add("hBetaPion", "hBetaPion", {HistType::kTH2D, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
138+
rQARegistry.add("hBetaKaon", "hBetaKaon", {HistType::kTH2D, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
139+
rQARegistry.add("hBetaProton", "hBetaProton", {HistType::kTH2D, {{56, 0.2, 3.0}, {70, 0.4, 1.1}}});
140+
rQARegistry.add("hNSigmaPion", "hNSigmaPion", {HistType::kTH2D, {{201, -5.025, 5.025}, {201, -5.025, 5.025}}});
141+
rQARegistry.add("hNSigmaKaon", "hNSigmaKaon", {HistType::kTH2D, {{201, -5.025, 5.025}, {201, -5.025, 5.025}}});
142+
rQARegistry.add("hNSigmaProton", "hNSigmaProton", {HistType::kTH2D, {{201, -5.025, 5.025}, {201, -5.025, 5.025}}});
143+
144+
rQARegistry.add("hTPCPion", "hTPCPion", {HistType::kTH2D, {{trackPtAxis}, {241, -6, 6}}});
145+
rQARegistry.add("hTPCKaon", "hTPCKaon", {HistType::kTH2D, {{trackPtAxis}, {241, -6, 6}}});
146+
rQARegistry.add("hTPCProton", "hTPCProton", {HistType::kTH2D, {{trackPtAxis}, {241, -6, 6}}});
147+
rQARegistry.add("hTOFPion", "hTOFPion", {HistType::kTH2D, {{trackPtAxis}, {1000, -50, 50}}});
148+
rQARegistry.add("hTOFKaon", "hTOFKaon", {HistType::kTH2D, {{trackPtAxis}, {1000, -50, 50}}});
149+
rQARegistry.add("hTOFProton", "hTOFProton", {HistType::kTH2D, {{trackPtAxis}, {1000, -50, 50}}});
150+
151+
rQARegistry.add("hInvMassLambda", "hInvMassLambda", {HistType::kTH3D, {{lambdaInvMassAxis}, {v0PtAxis}, {centralityAxis}}});
152+
rQARegistry.add("hInvMassAntiLambda", "hInvMassAntiLambda", {HistType::kTH3D, {{lambdaInvMassAxis}, {v0PtAxis}, {centralityAxis}}});
153+
rQARegistry.add("hNLambdas", "hNLambdas", {HistType::kTH3D, {{2, -2, 2}, {v0PtAxis}, {centralityAxis}}});
154154

155155
// PhiStar
156-
rPhiStarRegistry.add("hSEProtonPreCut", "hSEProtonPreCut", {HistType::kTH2F, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
157-
rPhiStarRegistry.add("hSEProtonPostCut", "hSEProtonPostCut", {HistType::kTH2F, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
158-
rPhiStarRegistry.add("hMEProtonPreCut", "hMEProtonPreCut", {HistType::kTH2F, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
159-
rPhiStarRegistry.add("hMEProtonPostCut", "hMEProtonPostCut", {HistType::kTH2F, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
156+
rPhiStarRegistry.add("hSEProtonPreCut", "hSEProtonPreCut", {HistType::kTH2D, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
157+
rPhiStarRegistry.add("hSEProtonPostCut", "hSEProtonPostCut", {HistType::kTH2D, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
158+
rPhiStarRegistry.add("hMEProtonPreCut", "hMEProtonPreCut", {HistType::kTH2D, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
159+
rPhiStarRegistry.add("hMEProtonPostCut", "hMEProtonPostCut", {HistType::kTH2D, {{80, -0.2, 0.2}, {40, -0.1, 0.1}}});
160160

161161
// Efficiency
162-
rMCRegistry.add("hGenerated", "hGenerated", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
163-
rMCRegistry.add("hGenPionP", "hGenPionP", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
164-
rMCRegistry.add("hGenPionN", "hGenPionN", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
165-
rMCRegistry.add("hGenKaonP", "hGenKaonP", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
166-
rMCRegistry.add("hGenKaonN", "hGenKaonN", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
167-
rMCRegistry.add("hGenProtonP", "hGenProtonP", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
168-
rMCRegistry.add("hGenProtonN", "hGenProtonN", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
169-
rMCRegistry.add("hReconstructed", "hReconstructed", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
170-
rMCRegistry.add("hRecPionP", "hRecPionP", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
171-
rMCRegistry.add("hRecPionN", "hRecPionN", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
172-
rMCRegistry.add("hRecKaonP", "hRecKaonP", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
173-
rMCRegistry.add("hRecKaonN", "hRecKaonN", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
174-
rMCRegistry.add("hRecProtonP", "hRecProtonP", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
175-
rMCRegistry.add("hRecProtonN", "hRecProtonN", {HistType::kTH2F, {{trackPtAxis}, {trackEtaAxis}}});
162+
rMCRegistry.add("hGenerated", "hGenerated", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
163+
rMCRegistry.add("hGenPionP", "hGenPionP", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
164+
rMCRegistry.add("hGenPionN", "hGenPionN", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
165+
rMCRegistry.add("hGenKaonP", "hGenKaonP", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
166+
rMCRegistry.add("hGenKaonN", "hGenKaonN", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
167+
rMCRegistry.add("hGenProtonP", "hGenProtonP", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
168+
rMCRegistry.add("hGenProtonN", "hGenProtonN", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
169+
rMCRegistry.add("hReconstructed", "hReconstructed", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
170+
rMCRegistry.add("hRecPionP", "hRecPionP", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
171+
rMCRegistry.add("hRecPionN", "hRecPionN", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
172+
rMCRegistry.add("hRecKaonP", "hRecKaonP", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
173+
rMCRegistry.add("hRecKaonN", "hRecKaonN", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
174+
rMCRegistry.add("hRecProtonP", "hRecProtonP", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
175+
rMCRegistry.add("hRecProtonN", "hRecProtonN", {HistType::kTH2D, {{trackPtAxis}, {trackEtaAxis}}});
176176

177177
// Purity
178-
rMCRegistry.add("hSelectPionP", "hSelectPionP", {HistType::kTH1F, {trackPtAxis}});
179-
rMCRegistry.add("hSelectPionN", "hSelectPionN", {HistType::kTH1F, {trackPtAxis}});
180-
rMCRegistry.add("hSelectKaonP", "hSelectKaonP", {HistType::kTH1F, {trackPtAxis}});
181-
rMCRegistry.add("hSelectKaonN", "hSelectKaonN", {HistType::kTH1F, {trackPtAxis}});
182-
rMCRegistry.add("hSelectProtonP", "hSelectProtonP", {HistType::kTH1F, {trackPtAxis}});
183-
rMCRegistry.add("hSelectProtonN", "hSelectProtonN", {HistType::kTH1F, {trackPtAxis}});
184-
rMCRegistry.add("hTrueSelectPionP", "hTrueSelectPionP", {HistType::kTH1F, {trackPtAxis}});
185-
rMCRegistry.add("hTrueSelectPionN", "hTrueSelectPionN", {HistType::kTH1F, {trackPtAxis}});
186-
rMCRegistry.add("hTrueSelectKaonP", "hTrueSelectKaonP", {HistType::kTH1F, {trackPtAxis}});
187-
rMCRegistry.add("hTrueSelectKaonN", "hTrueSelectKaonN", {HistType::kTH1F, {trackPtAxis}});
188-
rMCRegistry.add("hTrueSelectProtonP", "hTrueSelectProtonP", {HistType::kTH1F, {trackPtAxis}});
189-
rMCRegistry.add("hTrueSelectProtonN", "hTrueSelectProtonN", {HistType::kTH1F, {trackPtAxis}});
178+
rMCRegistry.add("hSelectPionP", "hSelectPionP", {HistType::kTH1D, {trackPtAxis}});
179+
rMCRegistry.add("hSelectPionN", "hSelectPionN", {HistType::kTH1D, {trackPtAxis}});
180+
rMCRegistry.add("hSelectKaonP", "hSelectKaonP", {HistType::kTH1D, {trackPtAxis}});
181+
rMCRegistry.add("hSelectKaonN", "hSelectKaonN", {HistType::kTH1D, {trackPtAxis}});
182+
rMCRegistry.add("hSelectProtonP", "hSelectProtonP", {HistType::kTH1D, {trackPtAxis}});
183+
rMCRegistry.add("hSelectProtonN", "hSelectProtonN", {HistType::kTH1D, {trackPtAxis}});
184+
rMCRegistry.add("hTrueSelectPionP", "hTrueSelectPionP", {HistType::kTH1D, {trackPtAxis}});
185+
rMCRegistry.add("hTrueSelectPionN", "hTrueSelectPionN", {HistType::kTH1D, {trackPtAxis}});
186+
rMCRegistry.add("hTrueSelectKaonP", "hTrueSelectKaonP", {HistType::kTH1D, {trackPtAxis}});
187+
rMCRegistry.add("hTrueSelectKaonN", "hTrueSelectKaonN", {HistType::kTH1D, {trackPtAxis}});
188+
rMCRegistry.add("hTrueSelectProtonP", "hTrueSelectProtonP", {HistType::kTH1D, {trackPtAxis}});
189+
rMCRegistry.add("hTrueSelectProtonN", "hTrueSelectProtonN", {HistType::kTH1D, {trackPtAxis}});
190190

191191
// Correlations
192192
rSECorrRegistry.add("hSameLambdaPion_SGNL", "Same-event #Lambda - #pi correlator (SGNL region)", {HistType::kTHnSparseF, {{phiAxis}, {etaAxis}, {centralityAxis}, {zvtxAxis}, {2, -2, 2}, {2, -2, 2}}});

0 commit comments

Comments
 (0)