ATLAS Offline Software
TrackGrade.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef JETTAGINFO_TRACKGRADE
6 #define JETTAGINFO_TRACKGRADE
7 #include <string>
8 
9 namespace Analysis {
10 
11 class TrackGrade {
12  public:
13 
14  TrackGrade();
15 
16  TrackGrade(int,const std::string&);
17 
18  TrackGrade(const TrackGrade & );
19  TrackGrade( TrackGrade && ) noexcept = default;
20  TrackGrade &operator= (const TrackGrade& rhs);
21  TrackGrade &operator= ( TrackGrade&& rhs) noexcept = default;
22  bool operator== (const std::string &) const;
23  bool operator== (const int &) const;
24  bool operator== (const TrackGrade& rhs) const;
25 
26  virtual ~TrackGrade();
27 
28  const std::string & gradeString() const;
29 
30  int gradeNumber() const;
31 
32  operator int () const;
33 
34  // cppcheck-suppress returnByReference
35  operator const std::string () const;
36 
37  private:
38 
40  std::string m_gradeName;
41 };
42 
43 }
44 #endif // JETTAGINFO_TRACKGRADE
Analysis::TrackGrade
Definition: TrackGrade.h:11
Analysis::TrackGrade::TrackGrade
TrackGrade()
Definition: TrackGrade.cxx:12
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
Analysis::TrackGrade::gradeString
const std::string & gradeString() const
Definition: TrackGrade.cxx:43
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TrackGrade::m_gradeName
std::string m_gradeName
Definition: TrackGrade.h:40
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
Analysis::TrackGrade::TrackGrade
TrackGrade(TrackGrade &&) noexcept=default
Analysis::TrackGrade::gradeNumber
int gradeNumber() const
Definition: TrackGrade.cxx:47
python.CaloScaleNoiseConfig.default
default
Definition: CaloScaleNoiseConfig.py:79
Analysis::TrackGrade::m_gradeNumber
int m_gradeNumber
Definition: TrackGrade.h:39