Skip to content

Commit db674e4

Browse files
committed
Add conversion QC plots w/o TPC prongs
1 parent 5cfd995 commit db674e4

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

PWGEM/PhotonMeson/Tasks/pcmQC.cxx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ struct PCMQC {
236236
fRegistry.add("V0/hEtaPhi", "#eta vs. #varphi;#varphi (rad.);#eta", kTH2F, {{90, 0, o2::constants::math::TwoPI}, {200, -1.0f, 1.0f}}, false);
237237
fRegistry.add("V0/hXY", "conversion point in XY;V_{x} (cm);V_{y} (cm)", kTH2F, {{400, -100.0f, 100.0f}, {400, -100.0f, 100.0f}}, false);
238238
fRegistry.add("V0/hRZ", "conversion point in RZ;Z (cm);R_{xy} (cm)", kTH2F, {{200, -100, 100}, {200, 0.0f, 100.0f}}, false);
239+
fRegistry.add("V0/hXY_w_o_TPC", "conversion point in XY with only TPC legs;V_{x} (cm);V_{y} (cm)", kTH2F, {{400, -100.0f, 100.0f}, {400, -100.0f, 100.0f}}, false);
240+
fRegistry.add("V0/hRZ_w_o_TPC", "conversion point in RZ with only TPC legs;Z (cm);R_{xy} (cm)", kTH2F, {{200, -100, 100}, {200, 0.0f, 100.0f}}, false);
241+
fRegistry.add("V0/hRPt", "conversion radius against Pt;#it{p}_{T,#gamma} (GeV/#it{c});R_{xy} (cm)", kTH2F, {{2000, 0.0f, 20}, {200, 0.0f, 100.0f}}, false);
239242
fRegistry.add("V0/hCosPA", "V0CosPA;cosine pointing angle in 3D", kTH1F, {{100, 0.99f, 1.0f}}, false);
240243
fRegistry.add("V0/hCosPAXY", "V0CosPA;cosine pointing angle in XY", kTH1F, {{100, 0.99f, 1.0f}}, false);
241244
fRegistry.add("V0/hCosPARZ", "V0CosPA;cosine pointing angle in RZ", kTH1F, {{100, 0.99f, 1.0f}}, false);
@@ -408,13 +411,18 @@ struct PCMQC {
408411
fRegistry.fill(HIST("Event/") + HIST(event_types[ev_id]) + HIST("hMultFT0MvsMultNTracksPV"), collision.multFT0A() + collision.multFT0C(), collision.multNTracksPV());
409412
}
410413

411-
template <typename TV0>
412-
void fillV0Info(TV0 const& v0)
414+
template <typename TV0, typename TLeg>
415+
void fillV0Info(TV0 const& v0, TLeg const& pos, TLeg const& ele)
413416
{
414417
fRegistry.fill(HIST("V0/hPt"), v0.pt());
415418
fRegistry.fill(HIST("V0/hEtaPhi"), v0.phi(), v0.eta());
416419
fRegistry.fill(HIST("V0/hXY"), v0.vx(), v0.vy());
417420
fRegistry.fill(HIST("V0/hRZ"), v0.vz(), v0.v0radius());
421+
if (!pos.hasITS() && !ele.hasITS()) {
422+
fRegistry.fill(HIST("V0/hXY_w_o_TPC"), v0.vx(), v0.vy());
423+
fRegistry.fill(HIST("V0/hRZ_w_o_TPC"), v0.vz(), v0.v0radius());
424+
}
425+
fRegistry.fill(HIST("V0/hRPt"), v0.pt(), v0.v0radius());
418426
fRegistry.fill(HIST("V0/hCosPA"), v0.cospa());
419427
fRegistry.fill(HIST("V0/hCosPAXY"), v0.cospaXY());
420428
fRegistry.fill(HIST("V0/hCosPARZ"), v0.cospaRZ());
@@ -518,7 +526,7 @@ struct PCMQC {
518526
if (!fV0PhotonCut.IsSelected<decltype(v0), aod::V0Legs>(v0)) {
519527
continue;
520528
}
521-
fillV0Info(v0);
529+
fillV0Info(v0, pos, ele);
522530
for (const auto& leg : {pos, ele}) {
523531
fillV0LegInfo(leg);
524532
}

0 commit comments

Comments
 (0)