@@ -1283,7 +1283,7 @@ struct Photonhbt {
12831283 d1[0 ] * d2[1 ] - d1[1 ] * d2[0 ]};
12841284 const float nMag = std::sqrt (n[0 ] * n[0 ] + n[1 ] * n[1 ] + n[2 ] * n[2 ]);
12851285 const float d1Mag2 = d1[0 ] * d1[0 ] + d1[1 ] * d1[1 ] + d1[2 ] * d1[2 ];
1286- if (nMag < 1e-6f * d1Mag2) { // o2-linter: disable=magic-number near-parallel: point-to-line distance
1286+ if (nMag < 1e-6f * d1Mag2) { // o2-linter: disable=magic-number ( near-parallel: point-to-line distance)
12871287 const float wDotD = (w[0 ] * d1[0 ] + w[1 ] * d1[1 ] + w[2 ] * d1[2 ]) / d1Mag2;
12881288 const std::array<float , 3 > perp = {w[0 ] - wDotD * d1[0 ], w[1 ] - wDotD * d1[1 ], w[2 ] - wDotD * d1[2 ]};
12891289 return std::sqrt (perp[0 ] * perp[0 ] + perp[1 ] * perp[1 ] + perp[2 ] * perp[2 ]);
@@ -1304,7 +1304,7 @@ struct Photonhbt {
13041304 };
13051305 // Leg index 0 = e+, 1 = e- (makePhotonWithLegs filling order).
13061306 // Combo 0: a's e+ with b's e-. Combo 1: b's e+ with a's e-.
1307- for (int combo = 0 ; combo < 2 ; ++combo) { // o2-linter: disable=magic-number combinations of fake photons
1307+ for (int combo = 0 ; combo < 2 ; ++combo) { // o2-linter: disable=magic-number ( combinations of fake photons)
13081308 PhotonWithLegs const & pPos = (combo == 0 ) ? a : b;
13091309 PhotonWithLegs const & pEle = (combo == 0 ) ? b : a;
13101310 c.mee [combo] = static_cast <float >((legVec (pPos, 0 ) + legVec (pEle, 1 )).M ());
@@ -1319,7 +1319,7 @@ struct Photonhbt {
13191319 if (!crosspair.cfgDoCrossPairCut .value ) {
13201320 return true ;
13211321 }
1322- for (int i = 0 ; i < 2 ; ++i) { // o2-linter: disable=magic-number combinations of fake photons
1322+ for (int i = 0 ; i < 2 ; ++i) { // o2-linter: disable=magic-number ( combinations of fake photons)
13231323 if (c.mee [i] < crosspair.cfgCrossMaxMee .value && c.dist [i] < crosspair.cfgCrossMaxDist .value ) {
13241324 return false ;
13251325 }
@@ -1335,7 +1335,7 @@ struct Photonhbt {
13351335 if (qinv > crosspair.cfgCrossMaxQinvQA .value ) {
13361336 return ;
13371337 }
1338- for (int i = 0 ; i < 2 ; ++i) { // o2-linter : disable = magic - number combinations of fake photons
1338+ for (int i = 0 ; i < 2 ; ++i) { // o2-linter: disable = magic - number combinations of fake photons
13391339 fRegistryCF .fill (HIST (dir) + HIST (" hSparse_Mee_Dist_Qinv" ), c.mee [i], c.dist [i], qinv);
13401340 }
13411341 }
0 commit comments