You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (jets.size() > 0) { // Since the purpose of the fluctuation measurement is jet correction, events with zero accepted jets (from the jetfinder cuts) are excluded
123
+
for (autoconst& track : tracks) {
124
+
if (jetderiveddatautilities::selectTrack(track, trackSelection)) {
if (jets.size() > 0) { // Since the purpose of the fluctuation measurement is jet correction, events with zero accepted jets (from the jetfinder cuts) are excluded
138
+
for (autoconst& track : tracks) {
139
+
if (jetderiveddatautilities::selectTrack(track, trackSelection)) {
140
+
float dPhi = RecoDecay::constrainAngle(randomNumber.Uniform(0.0, 2 * M_PI) - randomConePhi, static_cast<float>(-M_PI)); // ignores actual phi of track
141
+
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
if (jets.size() > 0) { //if there are no jets in the acceptance (from the jetfinder cuts) then there can be no leading jet
151
+
if (jets.size() > 0) { //Since the purpose of the fluctuation measurement is jet correction, events with zero accepted jets (from the jetfinder cuts) are excluded
// randomised eta,phi for tracks, to assess part of fluctuations coming from statistically independently emitted particles, removing tracks from 2 leading jets
175
179
double randomConePtWithoutOneLeadJet = 0;
176
180
double randomConePtWithoutTwoLeadJet = 0;
177
-
if (jets.size() > 1) { //if there are no jets, or just one, in the acceptance (from the jetfinder cuts) then one cannot find 2 leading jets
181
+
if (jets.size() > 0) { //Since the purpose of the fluctuation measurement is jet correction, events with zero accepted jets (from the jetfinder cuts) are excluded
178
182
for (autoconst& track : tracks) {
179
183
if (jetderiveddatautilities::selectTrack(track, trackSelection)) {
180
184
float dPhi = RecoDecay::constrainAngle(randomNumber.Uniform(0.0, 2 * M_PI) - randomConePhi, static_cast<float>(-M_PI)); // ignores actual phi of track
181
185
float dEta = randomNumber.Uniform(trackEtaMin, trackEtaMax) - randomConeEta; // ignores actual eta of track
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
0 commit comments