ATLAS Offline Software
PhysicsAnalysis
JetTagging
JetTagInfo
src
LifetimeInfo.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
LifetimeInfo.cxx - Description
7
-------------------
8
begin : Spring 2004
9
authors : Andreas Wildauer (CERN PH-ATC), Fredrik Akesson (CERN PH-ATC)
10
email : andreas.wildauer@cern.ch, fredrik.akesson@cern.ch
11
changes :
12
13
***************************************************************************/
14
15
#include "
JetTagInfo/LifetimeInfo.h
"
16
17
namespace
Analysis
18
{
19
21
LifetimeInfo::LifetimeInfo
() : BaseTagInfo(),
22
m_trackSIP(std::
vector
<
double
>()),
23
m_trackSignificance(std::
vector
<
double
>()),
24
m_vectorOfTrackProb(std::
vector
<
double
>()),
25
m_nTrackProb(-1.)
26
{
27
m_vectorOfTrackProb.clear();
28
m_trackSIP.clear();
29
m_trackSignificance.clear();
30
}
31
33
LifetimeInfo::LifetimeInfo(
const
TagInfoType
& tagJetInfoType) :
BaseTagInfo
(tagJetInfoType),
34
m_trackSIP(std::
vector
<
double
>()),
35
m_trackSignificance(std::
vector
<
double
>()),
36
m_vectorOfTrackProb(std::
vector
<
double
>()),
37
m_nTrackProb(-1.)
38
{
39
m_tagLikelihood
.clear();
40
m_vectorOfTrackProb
.clear();
41
m_trackSIP
.clear();
42
m_trackSignificance
.clear();
43
}
44
48
LifetimeInfo::LifetimeInfo
(
const
LifetimeInfo
& rhs) :
BaseTagInfo
(rhs),
49
m_trackSIP(rhs.m_trackSIP),
50
m_trackSignificance(rhs.m_trackSignificance),
51
m_vectorOfTrackProb(rhs.m_vectorOfTrackProb),
52
m_nTrackProb(rhs.m_nTrackProb)
53
{}
54
56
LifetimeInfo
&
LifetimeInfo::operator=
(
const
LifetimeInfo
& rhs)
57
{
58
if
(
this
!=&rhs)
59
{
60
m_tagLikelihood
=rhs.
m_tagLikelihood
;
61
m_vectorOfTrackProb
=rhs.
m_vectorOfTrackProb
;
62
m_nTrackProb
=rhs.
m_nTrackProb
;
63
m_trackSIP
=rhs.
m_trackSIP
;
64
m_trackSignificance
=rhs.
m_trackSignificance
;
65
m_tagJetInfoType
=rhs.
m_tagJetInfoType
;
66
}
67
return
*
this
;
68
}
69
71
LifetimeInfo::~LifetimeInfo
()
72
{}
73
74
}
75
Analysis::BaseTagInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition:
BaseTagInfo.h:75
Analysis::LifetimeInfo
Class LifetimeInfo: Class to store information produced by the LifetimeTag.
Definition:
LifetimeInfo.h:41
LifetimeInfo.h
Analysis::LifetimeInfo::~LifetimeInfo
virtual ~LifetimeInfo()
default destructor
Definition:
LifetimeInfo.cxx:79
Analysis::LifetimeInfo::m_trackSignificance
FloatVec m_trackSignificance
significance (= signedIP/sigD0)
Definition:
LifetimeInfo.h:79
vector
Definition:
MultiHisto.h:13
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition:
BaseTagInfo.h:40
Analysis::LifetimeInfo::m_trackSIP
FloatVec m_trackSIP
signed impact parameters
Definition:
LifetimeInfo.h:78
Analysis::TagInfoType
std::string TagInfoType
Definition:
JetTagInfoBase.h:19
xAOD::double
double
Definition:
CompositeParticle_v1.cxx:159
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
Analysis::LifetimeInfo::m_vectorOfTrackProb
FloatVec m_vectorOfTrackProb
vector of track probabilities (calculated but not in use)
Definition:
LifetimeInfo.h:81
Analysis::LifetimeInfo::LifetimeInfo
LifetimeInfo()
default constructor
Definition:
LifetimeInfo.cxx:29
Analysis::LifetimeInfo::operator=
LifetimeInfo & operator=(const LifetimeInfo &rhs)
assigenment operator
Definition:
LifetimeInfo.cxx:64
Analysis::BaseTagInfo::m_tagJetInfoType
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
Definition:
BaseTagInfo.h:77
Analysis::LifetimeInfo::m_nTrackProb
double m_nTrackProb
nTrack probability (calculated but not in use)
Definition:
LifetimeInfo.h:82
Generated on Thu Nov 7 2024 21:20:11 for ATLAS Offline Software by
1.8.18