ATLAS Offline Software
PhysicsAnalysis
JetTagging
JetTagInfo
JetTagInfo
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
8
#include "
JetTagInfo/TrackGrade.h
"
9
10
#include <vector>
11
#include <string>
12
13
namespace
Analysis
{
14
15
class
TrackGradesDefinition
{
16
17
public
:
18
19
TrackGradesDefinition
();
20
21
TrackGradesDefinition
(std::vector<TrackGrade> &);
22
virtual
~TrackGradesDefinition
();
23
24
TrackGradesDefinition
(
const
TrackGradesDefinition
&);
25
27
TrackGradesDefinition
&
operator=
(
const
TrackGradesDefinition
& rhs);
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
51
inline
int
TrackGradesDefinition::numberOfGrades
()
const
52
{
53
return
m_gradeList
.size();
54
}
55
56
57
}
58
#endif // JETTAGINFO_TRACKGRADE
Analysis::TrackGrade
Definition:
TrackGrade.h:11
Analysis::TrackGradesDefinition::getList
const std::vector< TrackGrade > & getList() const
Definition:
TrackGradesDefinition.h:46
Analysis::TrackGradesDefinition::getGrade
const TrackGrade * getGrade(const std::string &) const
Definition:
TrackGradesDefinition.cxx:59
Analysis::TrackGradesDefinition
Definition:
TrackGradesDefinition.h:15
Analysis::TrackGradesDefinition::TrackGradesDefinition
TrackGradesDefinition()
Definition:
TrackGradesDefinition.cxx:12
Analysis::TrackGradesDefinition::numberOfGrades
int numberOfGrades() const
Definition:
TrackGradesDefinition.h:51
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
Analysis::TrackGradesDefinition::m_gradeList
std::vector< TrackGrade > m_gradeList
Definition:
TrackGradesDefinition.h:43
Analysis::TrackGradesDefinition::operator=
TrackGradesDefinition & operator=(const TrackGradesDefinition &rhs)
assigenment operator
Definition:
TrackGradesDefinition.cxx:24
Analysis::TrackGradesDefinition::~TrackGradesDefinition
virtual ~TrackGradesDefinition()
Definition:
TrackGradesDefinition.cxx:18
TrackGrade.h
Analysis::TrackGradesDefinition::grade
int grade(const std::string &) const
Definition:
TrackGradesDefinition.cxx:33
Generated on Fri Jan 10 2025 21:19:42 for ATLAS Offline Software by
1.8.18