ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagInfo
JetTagInfo
QGPartonTruthInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETTAGINFO_QGPARTONTRUTHINFO_H
6
#define JETTAGINFO_QGPARTONTRUTHINFO_H
7
#include "
JetTagInfo/BaseTagInfo.h
"
8
#include <string>
9
#include <map>
10
11
namespace
Analysis
12
{
13
17
class
QGPartonTruthInfo
:
public
BaseTagInfo
18
{
19
public
:
21
QGPartonTruthInfo
();
22
24
QGPartonTruthInfo
(
const
TagInfoType
&
x
);
25
27
QGPartonTruthInfo
(
const
QGPartonTruthInfo
&
QGPartonTruthInfo
);
28
30
QGPartonTruthInfo
&
operator=
(
const
QGPartonTruthInfo
& rhs);
31
33
virtual
~QGPartonTruthInfo
();
34
36
virtual
QGPartonTruthInfo
*
clone
()
const
;
37
39
const
std::string&
jetTruthLabel
()
const
;
40
48
void
setJetTruthLabel
(
const
std::string&
jetTruthLabel
);
49
51
void
deltaRToParton
(
double
dR);
52
double
deltaRToParton
()
const
;
53
54
private
:
55
std::string
m_jetTruthLabel
;
56
double
m_distanceToParton
;
57
58
};
// End class
59
60
inline
QGPartonTruthInfo
*
QGPartonTruthInfo::clone
()
const
61
{
62
return
new
QGPartonTruthInfo
(*
this
);
63
}
64
65
inline
const
std::string&
QGPartonTruthInfo::jetTruthLabel
()
const
66
{
67
return
m_jetTruthLabel
;
68
}
69
70
inline
void
QGPartonTruthInfo::setJetTruthLabel
(
const
std::string&
jetTruthLabel
)
71
{
72
m_jetTruthLabel
=
jetTruthLabel
;
73
}
74
75
}
// End namespace
76
#endif
77
BaseTagInfo.h
x
#define x
Analysis::BaseTagInfo::BaseTagInfo
BaseTagInfo()=default
Analysis::QGPartonTruthInfo::operator=
QGPartonTruthInfo & operator=(const QGPartonTruthInfo &rhs)
assigenment operator
Definition
QGPartonTruthInfo.cxx:36
Analysis::QGPartonTruthInfo::jetTruthLabel
const std::string & jetTruthLabel() const
return the truth label
Definition
QGPartonTruthInfo.h:65
Analysis::QGPartonTruthInfo::m_jetTruthLabel
std::string m_jetTruthLabel
Definition
QGPartonTruthInfo.h:55
Analysis::QGPartonTruthInfo::m_distanceToParton
double m_distanceToParton
Definition
QGPartonTruthInfo.h:56
Analysis::QGPartonTruthInfo::~QGPartonTruthInfo
virtual ~QGPartonTruthInfo()
default destructor
Definition
QGPartonTruthInfo.cxx:47
Analysis::QGPartonTruthInfo::deltaRToParton
double deltaRToParton() const
Definition
QGPartonTruthInfo.cxx:54
Analysis::QGPartonTruthInfo::QGPartonTruthInfo
QGPartonTruthInfo()
default constructor
Definition
QGPartonTruthInfo.cxx:13
Analysis::QGPartonTruthInfo::clone
virtual QGPartonTruthInfo * clone() const
clone method
Definition
QGPartonTruthInfo.h:60
Analysis::QGPartonTruthInfo::setJetTruthLabel
void setJetTruthLabel(const std::string &jetTruthLabel)
set the truth label The string with which to set the truth label is stored in the JetTruthMatch algto...
Definition
QGPartonTruthInfo.h:70
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
Analysis::TagInfoType
std::string TagInfoType
Definition
JetTagInfoBase.h:19
Generated on
for ATLAS Offline Software by
1.17.0