Skip to content

Commit

Permalink
fix: remove forgotten ;
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeric-landou committed Sep 9, 2024
1 parent 9658d4c commit c97f803
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions PWGJE/Tasks/jetfinderQA.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,7 @@ struct JetFinderQATask {
for (auto const& track : tracks) {
if (jetderiveddatautilities::selectTrack(track, trackSelection)) {
float dPhi = RecoDecay::constrainAngle(randomNumber.Uniform(0.0, 2 * M_PI) - randomConePhi, static_cast<float>(-M_PI)); // ignores actual phi of track
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax);
-randomConeEta; // ignores actual eta of track
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
if (TMath::Sqrt(dEta * dEta + dPhi * dPhi) < randomConeR) {
randomConePt += track.pt();
}
Expand Down

0 comments on commit c97f803

Please sign in to comment.