Skip to content

Commit aed1174

Browse files
committed
PWGJE: Fixing missing table bug in MCD task
1 parent 6675675 commit aed1174

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

PWGJE/Tasks/jetHadronRecoil.cxx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ struct JetHadronRecoil {
188188
registry.add("hDeltaRpTReference", "jet p_{T} vs #DeltaR;p_{T,jet};#DeltaR", {HistType::kTH2F, {{500, -100, 400}, dRAxis}}, doSumw);
189189
registry.add("hDeltaRpTDPhiReference", "jet p_{T} vs #DeltaR vs #Delta#phi;p_{T,jet};#Delta#phi;#DeltaR", {HistType::kTH3F, {{500, -100, 400}, {100, 0, o2::constants::math::TwoPI}, dRAxis}}, doSumw);
190190
registry.add("hDeltaRpTDPhiReferenceShifts", "testing shifts;p_{T,jet};#Delta#phi;#DeltaR;shifts", {HistType::kTHnSparseD, {{500, -100, 400}, {100, 0, o2::constants::math::TwoPI}, dRAxis, {20, 0.0, 2.0}}}, doSumw);
191-
registry.add("hPtTrackMatched", "Track p_{T};p_{T};entries", {HistType::kTH1F, {{200, 0, 200}}}, doSumw);
192-
registry.add("hPtTrackMatchedToCollisions", "Track p_{T};p_{T};entries", {HistType::kTH1F, {{200, 0, 200}}}, doSumw);
193191
}
194192

195193
if (doprocessMCP || doprocessMCPWeighted || doprocessMCPOnTheFly || doprocessMCPOnTheFlyWeighted) {
@@ -433,13 +431,6 @@ struct JetHadronRecoil {
433431
registry.fill(HIST("hPhiTrack"), track.phi(), weight);
434432
registry.fill(HIST("hTrack3D"), track.pt(), track.eta(), track.phi(), weight);
435433
registry.fill(HIST("hPtTrackPtHard"), track.pt() / pTHat, track.pt(), weight);
436-
if (track.has_mcParticle()) {
437-
registry.fill(HIST("hPtTrackMatched"), track.pt(), weight);
438-
auto mcParticle = track.mcParticle();
439-
if (mcParticle.mcCollisionId() == collisionID) {
440-
registry.fill(HIST("hPtTrackMatchedToCollisions"), track.pt(), weight);
441-
}
442-
}
443434
}
444435
if (nTT > 0) {
445436
int trigNumber = rand->Integer(nTT);

0 commit comments

Comments
 (0)