@@ -53,7 +53,7 @@ using namespace o2;
5353using namespace o2 ::framework;
5454using namespace o2 ::framework::expressions;
5555
56- namespace BjetTaggingGnnEvtSel
56+ namespace bjet_tagging_gnn_evtsel
5757{
5858enum class EvtSelFlag : uint8_t {
5959 kNone = 0 ,
@@ -116,8 +116,8 @@ enum class EvtSel {
116116 INELgt0,
117117 INELgt0rec
118118};
119- }; // namespace BjetTaggingGnnEvtSel
120- using namespace BjetTaggingGnnEvtSel ;
119+ }; // namespace bjet_tagging_gnn_evtsel
120+ using namespace bjet_tagging_gnn_evtsel ;
121121
122122struct BjetTaggingGnn {
123123
@@ -518,14 +518,14 @@ struct BjetTaggingGnn {
518518 template <typename AnyTracks, typename AnalysisJet>
519519 bool isAcceptedJet (AnalysisJet const & jet)
520520 {
521- if (jetAreaFractionMin > -98.0 ) {
521+ if (jetAreaFractionMin > -98.0 ) { // o2-linter: disable=magic-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 );
528- bool checkConstituentMaxPt = (leadingConstituentPtMax < 9998.0 );
527+ bool checkConstituentMinPt = (leadingConstituentPtMin > -98.0 ); // o2-linter: disable=magic-number
528+ bool checkConstituentMaxPt = (leadingConstituentPtMax < 9998.0 ); // o2-linter: disable=magic-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 ) {
703+ if (std::abs (p->Charge ()) >= 3 ) { // o2-linter: disable=magic-number
704704 if (std::abs (mcparticle.eta ()) < 1 )
705705 return true ;
706706 }
0 commit comments