ATLAS Offline Software
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 
6 #include "GaudiKernel/MsgStream.h"
7 
8 namespace Analysis {
9 
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 
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 
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 
40  {
41  if (this!=&rhs)
42  {
43  m_ntrk = rhs.m_ntrk;
48  }
49  return *this;
50  }
51 
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 }
grepfile.info
info
Definition: grepfile.py:38
Analysis::BaseTagInfo::m_tagLikelihood
std::vector< double > m_tagLikelihood
vector to hold the taglikelihood (signal plus N background)
Definition: BaseTagInfo.h:75
Analysis::TrackCountingInfo::m_d0sig_3rd
float m_d0sig_3rd
3rd highest IP2D significance
Definition: TrackCountingInfo.h:62
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Analysis::TrackCountingInfo::m_d0sig_abs_2nd
float m_d0sig_abs_2nd
2nd highest absolute IP2D significance
Definition: TrackCountingInfo.h:61
Analysis::TrackCountingInfo
Definition: TrackCountingInfo.h:25
TrackCountingInfo.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition: BaseTagInfo.h:40
Analysis::TagInfoType
std::string TagInfoType
Definition: JetTagInfoBase.h:19
Analysis::TrackCountingInfo::m_d0sig_abs_3rd
float m_d0sig_abs_3rd
3rd highest absolute IP2D significance
Definition: TrackCountingInfo.h:63
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
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::operator<<
MsgStream & operator<<(MsgStream &out, const IPInfoBase &)
output.
Definition: IPInfoBase.cxx:47
Analysis::TrackCountingInfo::m_ntrk
int m_ntrk
number of tracks used for tagging
Definition: TrackCountingInfo.h:59
Analysis::TrackCountingInfo::~TrackCountingInfo
virtual ~TrackCountingInfo()
default destructor
Definition: TrackCountingInfo.cxx:52
Analysis::TrackCountingInfo::TrackCountingInfo
TrackCountingInfo()
default constructor
Definition: TrackCountingInfo.cxx:10