Skip to content

Commit 91578ee

Browse files
authored
Add files via upload
1 parent 3b487d8 commit 91578ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGJE/Tasks/jetBackgroundAnalysis.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include <cmath>
3737
#include <string>
3838
#include <vector>
39+
3940
#include <math.h>
4041

4142
using namespace o2;
@@ -136,7 +137,7 @@ struct JetBackgroundAnalysis {
136137
for (auto const& track : tracks) {
137138
if (jetderiveddatautilities::selectTrack(track, trackSelection)) {
138139
float dPhi = RecoDecay::constrainAngle(randomNumber.Uniform(0.0, o2::constants::math::TwoPI) - randomConePhi, static_cast<float>(-o2::constants::math::PI)); // ignores actual phi of track
139-
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
140+
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
140141
if (std::sqrt(dEta * dEta + dPhi * dPhi) < randomConeR) {
141142
randomConePt += track.pt();
142143
}
@@ -179,7 +180,7 @@ struct JetBackgroundAnalysis {
179180
for (auto const& track : tracks) {
180181
if (jetderiveddatautilities::selectTrack(track, trackSelection)) {
181182
float dPhi = RecoDecay::constrainAngle(randomNumber.Uniform(0.0, o2::constants::math::TwoPI) - randomConePhi, static_cast<float>(-o2::constants::math::PI)); // ignores actual phi of track
182-
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
183+
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
183184
if (std::sqrt(dEta * dEta + dPhi * dPhi) < randomConeR) {
184185
if (!trackIsInJet(track, jets.iteratorAt(0))) {
185186
randomConePtWithoutOneLeadJet += track.pt();

0 commit comments

Comments
 (0)