Skip to content

Commit 33aaed9

Browse files
victor-gonzalezVictor Gonzalez
andauthored
[PWGCF] DptDpt - Proper particle origin counting resolution (#15649)
Co-authored-by: Victor Gonzalez <victor@cern.ch>
1 parent 37738ef commit 33aaed9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

PWGCF/TwoParticleCorrelations/Tasks/particleOriginAnalysis.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
#include "Framework/RunningWorkflowInfo.h"
3434
#include "Framework/runDataProcessing.h"
3535

36-
#include <TH2F.h>
37-
#include <TH3F.h>
36+
#include <TH2D.h>
37+
#include <TH3D.h>
3838
#include <TPDGCode.h>
3939

4040
#include <cmath>
@@ -337,32 +337,32 @@ struct ParticleOriginAnalysis {
337337
fhPromptVsPt[i] = registry.add<TH1>(
338338
FORMATSTRING("PromptVsPt_%s", tname),
339339
FORMATSTRING("Prompt %s;#it{p}_{T} (GeV/#it{c});counts", tname),
340-
kTH1F, {ptAxis});
340+
kTH1D, {ptAxis});
341341

342342
fhDecayVsPt[i] = registry.add<TH1>(
343343
FORMATSTRING("DecayVsPt_%s", tname),
344344
FORMATSTRING("From decay %s;#it{p}_{T} (GeV/#it{c});counts", tname),
345-
kTH1F, {ptAxis});
345+
kTH1D, {ptAxis});
346346

347347
fhPromptVsCentVsPt[i] = registry.add<TH2>(
348348
FORMATSTRING("PromptVsCentVsPt_%s", tname),
349349
FORMATSTRING("Prompt %s;centrality (%%);#it{p}_{T} (GeV/#it{c})", tname),
350-
kTH2F, {centAxis, ptAxis});
350+
kTH2D, {centAxis, ptAxis});
351351

352352
fhDecayVsCentVsPt[i] = registry.add<TH2>(
353353
FORMATSTRING("DecayVsCentVsPt_%s", tname),
354354
FORMATSTRING("From decay %s;centrality (%%);#it{p}_{T} (GeV/#it{c})", tname),
355-
kTH2F, {centAxis, ptAxis});
355+
kTH2D, {centAxis, ptAxis});
356356

357357
fhMotherVsPtVsCent[i] = registry.add<TH3>(
358358
FORMATSTRING("MotherVsPtVsCent_%s", tname),
359359
FORMATSTRING("Immediate mother of %s;mother;#it{p}_{T} (GeV/#it{c});centrality (%%)", tname),
360-
kTH3F, {motherAxis, ptAxis, centAxis});
360+
kTH3D, {motherAxis, ptAxis, centAxis});
361361

362362
fhAncestorVsPtVsCent[i] = registry.add<TH3>(
363363
FORMATSTRING("AncestorVsPtVsCent_%s", tname),
364364
FORMATSTRING("Earliest ancestor of %s;ancestor;#it{p}_{T} (GeV/#it{c});centrality (%%)", tname),
365-
kTH3F, {motherAxis, ptAxis, centAxis});
365+
kTH3D, {motherAxis, ptAxis, centAxis});
366366

367367
/* label the encoded mother/ancestor axis */
368368
for (int im = 0; im < KNMo; ++im) {
@@ -373,12 +373,12 @@ struct ParticleOriginAnalysis {
373373
fhMotherPDG[i] = registry.add<TH1>(
374374
FORMATSTRING("MotherPDG_%s", tname),
375375
FORMATSTRING("Immediate mother PDG of %s from decay;PDG code;counts", tname),
376-
kTH1F, {pdgAxis});
376+
kTH1D, {pdgAxis});
377377

378378
fhAncestorPDG[i] = registry.add<TH1>(
379379
FORMATSTRING("AncestorPDG_%s", tname),
380380
FORMATSTRING("Earliest ancestor PDG of %s from decay;PDG code;counts", tname),
381-
kTH1F, {pdgAxis});
381+
kTH1D, {pdgAxis});
382382
}
383383
}
384384

0 commit comments

Comments
 (0)