ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
JetTagging
JetTagInfo
src
TrackCountingInfo.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
#include "
JetTagInfo/TrackCountingInfo.h
"
6
#include "GaudiKernel/MsgStream.h"
7
8
namespace
Analysis
{
9
10
TrackCountingInfo::TrackCountingInfo
() :
BaseTagInfo
(),
11
m_ntrk
(0),
12
m_d0sig_2nd
( -20.),
13
m_d0sig_abs_2nd
( 0.),
14
m_d0sig_3rd
( -20.),
15
m_d0sig_abs_3rd
( 0.)
16
{
17
m_tagLikelihood
.clear();
18
}
19
20
TrackCountingInfo::TrackCountingInfo
(
const
TagInfoType
& tagJetInfoType)
21
:
BaseTagInfo
(tagJetInfoType),
22
m_ntrk
(0),
23
m_d0sig_2nd
( -20.),
24
m_d0sig_abs_2nd
( 0.),
25
m_d0sig_3rd
( -20.),
26
m_d0sig_abs_3rd
( 0.)
27
{
28
m_tagLikelihood
.clear();
29
}
30
31
TrackCountingInfo::TrackCountingInfo
(
const
TrackCountingInfo
& rhs) :
BaseTagInfo
(rhs),
32
m_ntrk
( rhs.
m_ntrk
),
33
m_d0sig_2nd
( rhs.
m_d0sig_2nd
),
34
m_d0sig_abs_2nd
(rhs.
m_d0sig_abs_2nd
),
35
m_d0sig_3rd
( rhs.
m_d0sig_3rd
),
36
m_d0sig_abs_3rd
(rhs.
m_d0sig_abs_3rd
)
37
{}
38
39
TrackCountingInfo
&
TrackCountingInfo::operator=
(
const
TrackCountingInfo
& rhs)
40
{
41
if
(
this
!=&rhs)
42
{
43
m_ntrk
= rhs.
m_ntrk
;
44
m_d0sig_2nd
= rhs.
m_d0sig_2nd
;
45
m_d0sig_abs_2nd
= rhs.
m_d0sig_abs_2nd
;
46
m_d0sig_3rd
= rhs.
m_d0sig_3rd
;
47
m_d0sig_abs_3rd
= rhs.
m_d0sig_abs_3rd
;
48
}
49
return
*
this
;
50
}
51
52
TrackCountingInfo::~TrackCountingInfo
() {
53
}
54
55
MsgStream&
operator<<
( MsgStream& out,
const
TrackCountingInfo
& info) {
56
out <<
" - Tag type "
<< info.infoType()
57
<<
"2nd/3rd highest ip2d significance: "
<< info.d0sig_2nd() <<
" / "
<< info.d0sig_3rd()
58
<<
"2nd/3rd highest |ip2d significance|: "
<< info.d0sig_abs_2nd() <<
" / "
<< info.d0sig_abs_3rd()
59
<<
endmsg
;
60
return
out;
61
}
62
63
std::ostream&
operator<<
( std::ostream& out,
const
TrackCountingInfo
& info) {
64
out <<
" - Tag type "
<< info.infoType()
65
<<
"2nd/3rd highest ip2d significance: "
<< info.d0sig_2nd() <<
" / "
<< info.d0sig_3rd()
66
<<
"2nd/3rd highest |ip2d significance|: "
<< info.d0sig_abs_2nd() <<
" / "
<< info.d0sig_abs_3rd()
67
<< std::endl;
68
return
out;
69
}
70
71
}
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:61
TrackCountingInfo.h
Analysis::BaseTagInfo::BaseTagInfo
BaseTagInfo()=default
Analysis::BaseTagInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition
BaseTagInfo.h:61
Analysis::TrackCountingInfo
Class to hold TrackCounting tagger results.
Definition
TrackCountingInfo.h:25
Analysis::TrackCountingInfo::m_ntrk
int m_ntrk
number of tracks used for tagging
Definition
TrackCountingInfo.h:59
Analysis::TrackCountingInfo::m_d0sig_abs_2nd
float m_d0sig_abs_2nd
2nd highest absolute IP2D significance
Definition
TrackCountingInfo.h:61
Analysis::TrackCountingInfo::~TrackCountingInfo
virtual ~TrackCountingInfo()
default destructor
Definition
TrackCountingInfo.cxx:52
Analysis::TrackCountingInfo::m_d0sig_3rd
float m_d0sig_3rd
3rd highest IP2D significance
Definition
TrackCountingInfo.h:62
Analysis::TrackCountingInfo::m_d0sig_abs_3rd
float m_d0sig_abs_3rd
3rd highest absolute IP2D significance
Definition
TrackCountingInfo.h:63
Analysis::TrackCountingInfo::operator=
TrackCountingInfo & operator=(const TrackCountingInfo &rhs)
assigenment operator
Definition
TrackCountingInfo.cxx:39
Analysis::TrackCountingInfo::m_d0sig_2nd
float m_d0sig_2nd
2nd highest IP2D significance
Definition
TrackCountingInfo.h:60
Analysis::TrackCountingInfo::TrackCountingInfo
TrackCountingInfo()
default constructor
Definition
TrackCountingInfo.cxx:10
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition
IConstituent.h:25
Analysis::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition
IPInfoBase.cxx:47
Analysis::TagInfoType
std::string TagInfoType
Definition
JetTagInfoBase.h:19
Generated on
for ATLAS Offline Software by
1.17.0