ATLAS Offline Software
Loading...
Searching...
No Matches
TrackGradesDefinition.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef JETTAGINFO_TRACKGRADESDEFINITION
6#define JETTAGINFO_TRACKGRADESDEFINITION
7
9
10#include <vector>
11#include <string>
12
13namespace Analysis {
14
16
17 public:
18
20
21 TrackGradesDefinition(std::vector<TrackGrade> &);
22 virtual ~TrackGradesDefinition();
23
25
28
29 const std::vector<TrackGrade> & getList() const;
30
31 const TrackGrade * getGrade(const std::string &) const;
32
33 const TrackGrade * getGrade(const int &) const;
34
35 int grade(const std::string &) const;
36
37 std::string grade(int) const;
38
39 int numberOfGrades() const;
40
41 private:
42
43 std::vector<TrackGrade> m_gradeList;
44 };
45
46 inline const std::vector<TrackGrade> & TrackGradesDefinition::getList() const
47 {
48 return m_gradeList;
49 }
50
52 {
53 return m_gradeList.size();
54 }
55
56
57}
58#endif // JETTAGINFO_TRACKGRADE
std::vector< TrackGrade > m_gradeList
const std::vector< TrackGrade > & getList() const
int grade(const std::string &) const
TrackGradesDefinition & operator=(const TrackGradesDefinition &rhs)
assigenment operator
const TrackGrade * getGrade(const std::string &) const
The namespace of all packages in PhysicsAnalysis/JetTagging.