ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagInfo
JetTagInfo
SoftLeptonTruthInfo.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETTAGINFO_SOFTLEPTONTRUTHINFO_H
6
#define JETTAGINFO_SOFTLEPTONTRUTHINFO_H
7
#include "
JetTagInfo/BaseTagInfo.h
"
8
#include "
JetTagInfo/SLTrueInfo.h
"
9
#include <vector>
10
11
namespace
Analysis
12
{
13
17
class
SoftLeptonTruthInfo
:
public
BaseTagInfo
18
{
19
public
:
20
SoftLeptonTruthInfo
() =
default
;
22
SoftLeptonTruthInfo
(
const
TagInfoType
&);
23
SoftLeptonTruthInfo
(
const
SoftLeptonTruthInfo
&
SoftLeptonTruthInfo
) =
default
;
24
SoftLeptonTruthInfo
&
operator=
(
const
SoftLeptonTruthInfo
& rhs) =
default
;
25
SoftLeptonTruthInfo
(
SoftLeptonTruthInfo
&&
SoftLeptonTruthInfo
)
noexcept
=
default
;
26
SoftLeptonTruthInfo
&
operator=
(
SoftLeptonTruthInfo
&& rhs)
noexcept
=
default
;
27
virtual
~SoftLeptonTruthInfo
() =
default
;
28
30
virtual
SoftLeptonTruthInfo
*
clone
()
const
;
31
32
34
inline
int
numSLTrueInfo
()
const
{
return
m_sltrueinfo
.size();}
36
inline
void
addSLTrueInfo
(
const
SLTrueInfo
& i) {
m_sltrueinfo
.push_back(i); }
38
inline
const
SLTrueInfo
&
getSLTrueInfo
(
uint
i)
const
{
39
return
m_sltrueinfo
.at(i);
40
}
41
42
private
:
43
44
std::vector<SLTrueInfo>
m_sltrueinfo
{};
45
46
};
// End class
47
48
inline
SoftLeptonTruthInfo
*
SoftLeptonTruthInfo::clone
()
const
{
49
return
new
SoftLeptonTruthInfo
(*
this
);
50
}
51
52
53
}
// End namespace
54
#endif
55
BaseTagInfo.h
uint
unsigned int uint
Definition
LArOFPhaseFill.cxx:19
SLTrueInfo.h
Analysis::BaseTagInfo::BaseTagInfo
BaseTagInfo()=default
Analysis::SLTrueInfo
Definition
SLTrueInfo.h:15
Analysis::SoftLeptonTruthInfo::operator=
SoftLeptonTruthInfo & operator=(const SoftLeptonTruthInfo &rhs)=default
Analysis::SoftLeptonTruthInfo::addSLTrueInfo
void addSLTrueInfo(const SLTrueInfo &i)
Insert a new track info object.
Definition
SoftLeptonTruthInfo.h:36
Analysis::SoftLeptonTruthInfo::numSLTrueInfo
int numSLTrueInfo() const
Number of truth lepton info objects stored.
Definition
SoftLeptonTruthInfo.h:34
Analysis::SoftLeptonTruthInfo::SoftLeptonTruthInfo
SoftLeptonTruthInfo()=default
Analysis::SoftLeptonTruthInfo::m_sltrueinfo
std::vector< SLTrueInfo > m_sltrueinfo
Definition
SoftLeptonTruthInfo.h:44
Analysis::SoftLeptonTruthInfo::~SoftLeptonTruthInfo
virtual ~SoftLeptonTruthInfo()=default
Analysis::SoftLeptonTruthInfo::clone
virtual SoftLeptonTruthInfo * clone() const
clone method
Definition
SoftLeptonTruthInfo.h:48
Analysis::SoftLeptonTruthInfo::SoftLeptonTruthInfo
SoftLeptonTruthInfo(const SoftLeptonTruthInfo &SoftLeptonTruthInfo)=default
Analysis::SoftLeptonTruthInfo::getSLTrueInfo
const SLTrueInfo & getSLTrueInfo(uint i) const
Get a track info object.
Definition
SoftLeptonTruthInfo.h:38
Analysis::SoftLeptonTruthInfo::SoftLeptonTruthInfo
SoftLeptonTruthInfo(SoftLeptonTruthInfo &&SoftLeptonTruthInfo) noexcept=default
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