File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -518,14 +518,14 @@ struct BjetTaggingGnn {
518518 template <typename AnyTracks, typename AnalysisJet>
519519 bool isAcceptedJet (AnalysisJet const & jet)
520520 {
521- if (jetAreaFractionMin > -98.0 ) { // o2-linter: disable=magic-number
521+ if (jetAreaFractionMin > -98.0 ) { // o2-linter: disable=magic-number (arbitrary large negative number)
522522 if (jet.area () < jetAreaFractionMin * M_PI * (jet.r () / 100.0 ) * (jet.r () / 100.0 )) {
523523 return false ;
524524 }
525525 }
526526 bool checkConstituentPt = true ;
527- bool checkConstituentMinPt = (leadingConstituentPtMin > -98.0 ); // o2-linter: disable=magic-number
528- bool checkConstituentMaxPt = (leadingConstituentPtMax < 9998.0 ); // o2-linter: disable=magic-number
527+ bool checkConstituentMinPt = (leadingConstituentPtMin > -98.0 ); // o2-linter: disable=magic-number (arbitrary large negative number)
528+ bool checkConstituentMaxPt = (leadingConstituentPtMax < 9998.0 ); // o2-linter: disable=magic-number (arbitrary large number)
529529 if (!checkConstituentMinPt && !checkConstituentMaxPt) {
530530 checkConstituentPt = false ;
531531 }
@@ -700,7 +700,7 @@ struct BjetTaggingGnn {
700700 continue ;
701701 auto p = pdg->GetParticle (mcparticle.pdgCode ());
702702 if (p != nullptr ) {
703- if (std::abs (p->Charge ()) >= 3 ) { // o2-linter: disable=magic-number
703+ if (std::abs (p->Charge ()) >= 3 ) { // o2-linter: disable=magic-number (constant number of particles)
704704 if (std::abs (mcparticle.eta ()) < 1 )
705705 return true ;
706706 }
You can’t perform that action at this time.
0 commit comments