@@ -93,6 +93,8 @@ struct TrackEfficiencyJets {
9393 registry.fill (HIST (" h2_centrality_track_energy" ), collision.centrality (), track.energy (), weight);
9494 registry.fill (HIST (" h2_track_pt_track_sigma1overpt" ), track.pt (), track.sigma1Pt (), weight);
9595 registry.fill (HIST (" h2_track_pt_track_sigmapt" ), track.pt (), track.sigma1Pt () * track.pt (), weight);
96+ registry.fill (HIST (" h2_track_pt_high_track_sigma1overpt" ), track.pt (), track.sigma1Pt (), weight);
97+ registry.fill (HIST (" h2_track_pt_high_track_sigmapt" ), track.pt (), track.sigma1Pt () * track.pt (), weight);
9698 }
9799 }
98100
@@ -113,8 +115,8 @@ struct TrackEfficiencyJets {
113115
114116 registry.add (" hMcPartCutsCounts" , " McPart cuts count checks" , {HistType::kTH1F , {{10 , 0 ., 10 .}}});
115117 registry.get <TH1>(HIST (" hMcPartCutsCounts" ))->GetXaxis ()->SetBinLabel (1 , " allPartsInSelMcColl" );
116- registry.get <TH1>(HIST (" hMcPartCutsCounts" ))->GetXaxis ()->SetBinLabel (2 , " isPrimary " );
117- registry.get <TH1>(HIST (" hMcPartCutsCounts" ))->GetXaxis ()->SetBinLabel (3 , " isCharged " );
118+ registry.get <TH1>(HIST (" hMcPartCutsCounts" ))->GetXaxis ()->SetBinLabel (2 , " isCharged " );
119+ registry.get <TH1>(HIST (" hMcPartCutsCounts" ))->GetXaxis ()->SetBinLabel (3 , " isPrimary " );
118120 registry.get <TH1>(HIST (" hMcPartCutsCounts" ))->GetXaxis ()->SetBinLabel (4 , " etaAccept" ); // not actually applied here but it will give an idea of what will be done in the post processing
119121
120122 registry.add (" hTrackCutsCounts" , " Track cuts count checks" , {HistType::kTH1F , {{10 , 0 ., 10 .}}});
@@ -131,6 +133,7 @@ struct TrackEfficiencyJets {
131133
132134 // ptAxisLow
133135 registry.add (" h3_particle_pt_particle_eta_particle_phi_mcpartofinterest" , " #it{p}_{T, mcpart} (GeV/#it{c}); #eta_{mcpart}; #phi_{mcpart}" , {HistType::kTH3F , {ptAxis, etaAxis, phiAxis}});
136+ registry.add (" h3_particle_pt_particle_eta_particle_phi_mcpart_nonprimary" , " #it{p}_{T, mcpart} (GeV/#it{c}); #eta_{mcpart}; #phi_{mcpart}" , {HistType::kTH3F , {ptAxis, etaAxis, phiAxis}});
134137
135138 registry.add (" h3_track_pt_track_eta_track_phi_nonassociatedtrack" , " #it{p}_{T, track} (GeV/#it{c}); #eta_{track}; #phi_{track}" , {HistType::kTH3F , {ptAxis, etaAxis, phiAxis}});
136139 registry.add (" h3_track_pt_track_eta_track_phi_associatedtrack_primary" , " #it{p}_{T, track} (GeV/#it{c}); #eta_{track}; #phi_{track}" , {HistType::kTH3F , {ptAxis, etaAxis, phiAxis}});
@@ -168,8 +171,10 @@ struct TrackEfficiencyJets {
168171 registry.add (" h2_centrality_track_eta" , " centrality vs track #eta; centrality; #eta_{track}" , {HistType::kTH2F , {centAxis, {100 , -1.0 , 1.0 }}});
169172 registry.add (" h2_centrality_track_phi" , " centrality vs track #varphi; centrality; #varphi_{track}" , {HistType::kTH2F , {centAxis, {160 , -1.0 , 7 .}}});
170173 registry.add (" h2_centrality_track_energy" , " centrality vs track energy; centrality; Energy GeV" , {HistType::kTH2F , {centAxis, {100 , 0.0 , 100.0 }}});
171- registry.add (" h2_track_pt_track_sigmapt" , " #it{p}_{T,track} (GeV/#it{c}); #sigma(#it{p}_{T})" , {HistType::kTH2F , {{500 , 0 ., 100 .}, {10000 , 0.0 , 100.0 }}}); // c'est sigma(pt)/pt
172- registry.add (" h2_track_pt_track_sigma1overpt" , " #it{p}_{T,track} (GeV/#it{c}); #sigma(1/#it{p}_{T})" , {HistType::kTH2F , {{500 , 0 ., 100 .}, {10000 , 0.0 , 100.0 }}}); // ici sigma(1/pt)
174+ registry.add (" h2_track_pt_track_sigmapt" , " #sigma(#it{p}_{T})/#it{p}_{T}; #it{p}_{T,track} (GeV/#it{c})" , {HistType::kTH2F , {{100 , 0 ., 10 .}, {100000 , 0.0 , 100.0 }}});
175+ registry.add (" h2_track_pt_high_track_sigmapt" , " #sigma(#it{p}_{T})/#it{p}_{T}; #it{p}_{T,track} (GeV/#it{c})" , {HistType::kTH2F , {{90 , 10 ., 100 .}, {100000 , 0.0 , 100.0 }}});
176+ registry.add (" h2_track_pt_track_sigma1overpt" , " #sigma(1/#it{p}_{T}); #it{p}_{T,track} (GeV/#it{c})" , {HistType::kTH2F , {{100 , 0 ., 10 .}, {1000 , 0.0 , 10.0 }}});
177+ registry.add (" h2_track_pt_high_track_sigma1overpt" , " #sigma(1/#it{p}_{T}); #it{p}_{T,track} (GeV/#it{c})" , {HistType::kTH2F , {{90 , 10 ., 100 .}, {1000 , 0.0 , 10.0 }}});
173178 if (doprocessTracksWeighted) {
174179 registry.add (" h_collisions_weighted" , " event status;event status;entries" , {HistType::kTH1F , {{4 , 0.0 , 4.0 }}});
175180 }
@@ -242,15 +247,17 @@ struct TrackEfficiencyJets {
242247 for (auto & jMcParticle : jMcParticles) {
243248 registry.fill (HIST (" hMcPartCutsCounts" ), 0.5 ); // allPartsInSelMcColl
244249
245- if (checkPrimaryPart && ! jMcParticle.isPhysicalPrimary ()) { // global tracks should be mostly primaries
250+ if (! isChargedParticle ( jMcParticle.pdgCode ())) {
246251 continue ;
247252 }
248- registry.fill (HIST (" hMcPartCutsCounts" ), 1.5 ); // isPrimary
253+ registry.fill (HIST (" hMcPartCutsCounts" ), 1.5 ); // isCharged
249254
250- if (!isChargedParticle (jMcParticle.pdgCode ())) {
255+ registry.fill (HIST (" h3_particle_pt_particle_eta_particle_phi_mcpart_nonprimary" ), jMcParticle.pt (), jMcParticle.eta (), jMcParticle.phi ());
256+
257+ if (checkPrimaryPart && !jMcParticle.isPhysicalPrimary ()) { // global tracks should be mostly primaries
251258 continue ;
252259 }
253- registry.fill (HIST (" hMcPartCutsCounts" ), 2.5 ); // isCharged
260+ registry.fill (HIST (" hMcPartCutsCounts" ), 2.5 ); // isPrimary
254261
255262 registry.fill (HIST (" h3_particle_pt_particle_eta_particle_phi_mcpartofinterest" ), jMcParticle.pt (), jMcParticle.eta (), jMcParticle.phi ());
256263
0 commit comments