Skip to content

Commit 62e852a

Browse files
committed
[PWGJE] Add MC matching flag to Ds-jet efficiency
1 parent 814296b commit 62e852a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

PWGJE/Tasks/jetDsSpecSubs.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ struct JetDsSpecSubs {
333333
// Particle-level sparse with origin and matching status
334334
registry.add("hSparse_ds_mcp", ";#it{p}_{T,D_{S}}^{part};#it{p}_{T,jet}^{part};z^{D_{S},jet}_{||,part};#DeltaR_{D_{S},jet}^{part};Origin(D_{S});Matching status", {HistType::kTHnSparseF, {{60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.}, {3, -0.5, 2.5}, {2, -0.5, 1.5}}});
335335

336-
registry.add("hSparseMatchedJets", ";Matched Ds-tagged jets;#it{p}_{T,jet}^{part};#it{p}_{T,jet}^{det};#it{p}_{T,D_{S}}^{part};#it{p}_{T,D_{S}}^{det};z_{||}^{part};z_{||}^{det};Origin(D_{S})", {HistType::kTHnSparseF, {{60, 0., 100.}, {60, 0., 100.}, {60, 0., 80.}, {60, 0., 80.}, {20, 0., 1.2}, {20, 0., 1.2}, {3, -0.5, 2.5}}});
336+
registry.add("hSparseMatchedJets", ";Matched Ds-tagged jets;#it{p}_{T,jet}^{part};#it{p}_{T,jet}^{det};#it{p}_{T,D_{S}}^{part};#it{p}_{T,D_{S}}^{det};z_{||}^{part};z_{||}^{det};Origin(D_{S});flagMcMatchRec", {HistType::kTHnSparseF, {{60, 0., 100.}, {60, 0., 100.}, {60, 0., 80.}, {60, 0., 80.}, {20, 0., 1.2}, {20, 0., 1.2}, {3, -0.5, 2.5}, {21, -10.5, 10.5}}});
337337

338338
auto mcCollisionCounter = registry.get<TH1>(HIST("hMCColCounter"));
339339
mcCollisionCounter->GetXaxis()->SetBinLabel(BinMCColCntr::AllMCCollisions, "All MC coll.");
@@ -892,7 +892,8 @@ struct JetDsSpecSubs {
892892
mcdCandidate.pt(),
893893
zParallelMCP,
894894
zParallelMCD,
895-
originMCP);
895+
originMCP,
896+
static_cast<int>(mcdCandidate.flagMcMatchRec()));
896897

897898
// Matched AOD
898899
outputMatchedJets(

0 commit comments

Comments
 (0)