File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ class FemtoDreamCollisionSelection
197197 if (numOfTracks < 3 )
198198 return -9999 .;
199199
200- for (auto & track : tracks) {
200+ for (auto const & track : tracks) {
201201 double pt = track.pt ();
202202 double eta = track.eta ();
203203 double px = track.px ();
@@ -210,7 +210,7 @@ class FemtoDreamCollisionSelection
210210
211211 s00 += px * px / pt;
212212 s01 += px * py / pt;
213- s10 = s01;
213+ // s10 = s01;
214214 s11 += py * py / pt;
215215 }
216216
@@ -219,12 +219,12 @@ class FemtoDreamCollisionSelection
219219 return -9999 .;
220220 s00 /= ptTot;
221221 s11 /= ptTot;
222- s10 /= ptTot;
222+ s01 /= ptTot;
223223
224224 // Calculate the trace of the sphericity matrix:
225225 double T = s00 + s11;
226226 // Calculate the determinant of the sphericity matrix:
227- double D = s00 * s11 - s10 * s10 ; // S10 = S01
227+ double D = s00 * s11 - s01 * s01 ; // S10 = S01
228228
229229 // Calculate the eigenvalues of the sphericity matrix:
230230 double lambda1 = 0.5 * (T + std::sqrt (T * T - 4 . * D));
You can’t perform that action at this time.
0 commit comments