Skip to content

Commit a02daf7

Browse files
ikantakIsabel Kantak
andauthored
[PWGEM] Change pcmQCMC pT histograms from kTH1F to kTH1D (#15545)
Co-authored-by: Isabel Kantak <kantak@physi.uni-heidelberg.de>
1 parent 5be9c9c commit a02daf7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

PWGEM/PhotonMeson/Core/V0PhotonCandidate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct V0PhotonCandidate {
7171
eleTPCSignal = ele.tpcSignal();
7272
eleITSClusterSizes = ele.itsClusterSizes();
7373

74-
chi2ndf = v0DecayVtx.GetChi2() / v0DecayVtx.GetNDF();
74+
chi2ndf = v0PV.GetChi2() / v0PV.GetNDF();
7575
pca = posDecayVtx.GetDistanceFromParticle(eleDecayVtx);
7676
eta = RecoDecay::eta(std::array{px, py, pz});
7777
posEta = RecoDecay::eta(std::array{posPx, posPy, posPz});

PWGEM/PhotonMeson/Tasks/pcmQCMC.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ struct PCMQCMC {
233233
const AxisSpec axis_rapidity{{0.0, +0.8, +0.9}, "rapidity |y_{#gamma}|"};
234234

235235
if (doprocessGen) {
236-
fRegistry.add("Generated/hPt", "pT;p_{T} (GeV/c)", kTH1F, {axis_pt}, true);
237-
fRegistry.add("Generated/hPtY", "Generated info", kTH2F, {axis_pt, axis_rapidity}, true);
238-
fRegistry.add("Generated/hPt_ConversionPhoton", "converted photon pT;p_{T} (GeV/c)", kTH1F, {axis_pt}, true);
236+
fRegistry.add("Generated/hPt", "pT;p_{T} (GeV/c)", kTH1D, {axis_pt}, true);
237+
fRegistry.add("Generated/hPtY", "Generated info", kTH2D, {axis_pt, axis_rapidity}, true);
238+
fRegistry.add("Generated/hPt_ConversionPhoton", "converted photon pT;p_{T} (GeV/c)", kTH1D, {axis_pt}, true);
239239
fRegistry.add("Generated/hY_ConversionPhoton", "converted photon y;rapidity y", kTH1F, {{40, -2.0f, 2.0f}}, true);
240240
fRegistry.add("Generated/hPhi_ConversionPhoton", "converted photon #varphi;#varphi (rad.)", kTH1F, {{180, 0, o2::constants::math::TwoPI}}, true);
241241
fRegistry.add("Generated/hXY", "conversion point in XY MC;V_{x} (cm);V_{y} (cm)", kTH2F, {{800, -100.0f, 100.0f}, {800, -100.0f, 100.0f}}, true);

0 commit comments

Comments
 (0)