Skip to content

Commit a8853bd

Browse files
Wooseok HamWooseok Ham
authored andcommitted
PWGJE: modify the delta pT methods to except the zero jet evnets
1 parent 885cb77 commit a8853bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGJE/Tasks/jetBackgroundAnalysis.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ struct JetBackgroundAnalysisTask {
171171
}
172172
}
173173
}
174-
}
174+
}
175175
registry.fill(HIST("h2_centrality_rhorandomconewithoutleadingjet"), centrality, randomConePt - o2::constants::math::PI * randomConeR * randomConeR * collision.rho());
176176

177177
// randomised eta,phi for tracks, to assess part of fluctuations coming from statistically independently emitted particles, removing tracks from 2 leading jets
@@ -184,7 +184,7 @@ struct JetBackgroundAnalysisTask {
184184
if (std::sqrt(dEta * dEta + dPhi * dPhi) < randomConeR) {
185185
if (!trackIsInJet(track, jets.iteratorAt(0))) {
186186
randomConePtWithoutOneLeadJet += track.pt();
187-
if (jets.size() > 1 && !trackIsInJet(track, jets.iteratorAt(1))) { // if there are jets in the acceptance (from the jetfinder cuts) less than two then one cannot find 2 leading jets
187+
if (jets.size() > 1 && !trackIsInJet(track, jets.iteratorAt(1))) { // if there are jets in the acceptance (from the jetfinder cuts) less than two then one cannot find 2 leading jets
188188
randomConePtWithoutTwoLeadJet += track.pt();
189189
}
190190
}
@@ -197,7 +197,7 @@ struct JetBackgroundAnalysisTask {
197197
}
198198
}
199199
}
200-
200+
201201
void processRho(soa::Filtered<soa::Join<aod::JetCollisions, aod::BkgChargedRhos>>::iterator const& collision, soa::Filtered<aod::JetTracks> const& tracks)
202202
{
203203
if (!jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents)) {

0 commit comments

Comments
 (0)