ATLAS Offline Software
PhysicsAnalysis
JetTagging
JetTagInfo
src
BaseTagInfo.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
BaseTagInfo.cxx - Description
7
-------------------
8
begin : January 2005
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/BaseTagInfo.h
"
16
17
namespace
Analysis
18
{
19
21
BaseTagInfo::BaseTagInfo
() :
JetTagInfoBase
(),
22
m_isValid(false),
23
m_tagLikelihood(std::
vector
<
double
>()),
24
m_weight(0.),
25
m_tagJetInfoType(
"NoInfoType"
)
26
{
27
m_tagLikelihood.clear();
28
}
29
31
BaseTagInfo::BaseTagInfo(
const
TagInfoType
& tagJetInfoType) :
JetTagInfoBase
(),
32
m_isValid(false),
33
m_tagLikelihood(std::
vector
<
double
>()),
34
m_weight(0.),
35
m_tagJetInfoType(tagJetInfoType)
36
{
37
m_tagLikelihood
.clear();
38
}
39
43
BaseTagInfo::BaseTagInfo
(
const
BaseTagInfo
& rhs) :
JetTagInfoBase
(rhs),
44
m_isValid(rhs.m_isValid),
45
m_tagLikelihood(rhs.m_tagLikelihood),
46
m_weight(rhs.m_weight),
47
m_tagJetInfoType(rhs.m_tagJetInfoType)
48
{}
49
51
BaseTagInfo
&
BaseTagInfo::operator=
(
const
BaseTagInfo
& rhs)
52
{
53
if
(
this
!=&rhs)
54
{
55
m_isValid
=rhs.
m_isValid
;
56
m_tagLikelihood
=rhs.
m_tagLikelihood
;
57
m_weight
=rhs.
m_weight
;
58
m_tagJetInfoType
=rhs.
m_tagJetInfoType
;
59
}
60
return
*
this
;
61
}
62
64
BaseTagInfo::~BaseTagInfo
()
65
{}
66
67
}
Analysis::BaseTagInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition:
BaseTagInfo.h:75
Analysis::BaseTagInfo::operator=
BaseTagInfo & operator=(const BaseTagInfo &rhs)
assigenment operator
Definition:
BaseTagInfo.cxx:59
Analysis::BaseTagInfo::m_isValid
bool m_isValid
true if the tagger could tag the jet, default is false
Definition:
BaseTagInfo.h:74
JetTagInfoBase
Definition:
JetTagInfoBase.h:56
vector
Definition:
MultiHisto.h:13
Analysis::BaseTagInfo::~BaseTagInfo
virtual ~BaseTagInfo()
default destructor
Definition:
BaseTagInfo.cxx:72
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition:
BaseTagInfo.h:40
Analysis::TagInfoType
std::string TagInfoType
Definition:
JetTagInfoBase.h:19
xAOD::double
double
Definition:
CompositeParticle_v1.cxx:159
BaseTagInfo.h
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
Analysis::BaseTagInfo::BaseTagInfo
BaseTagInfo()
default constructor
Definition:
BaseTagInfo.cxx:29
Analysis::BaseTagInfo::m_tagJetInfoType
TagInfoType m_tagJetInfoType
string to hold the info type (specified by the tag tool)
Definition:
BaseTagInfo.h:77
Analysis::BaseTagInfo::m_weight
double m_weight
weight for this tag
Definition:
BaseTagInfo.h:76
Generated on Tue Jul 2 2024 21:10:52 for ATLAS Offline Software by
1.8.18