ATLAS Offline Software
InDetLowBetaCandidate.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 
7 // InDetLowBetaCandidate.cxx
8 // Implementation file for class InDetLowBetaCandidate
10 // (c) ATLAS Detector software
12 // Christopher Marino
14 
16 #include "GaudiKernel/MsgStream.h"
17 
18 namespace InDet {
19 
20  InDetLowBetaCandidate::InDetLowBetaCandidate():m_TRTCorrBitsOverThreshold(), m_TRTTrailingEdge(), m_TRTTrailingEdgeError(), m_TRTNLastBits(), m_TRTdEdx(), m_TRTLikelihoodBeta(), m_TRTLikelihoodError(), m_TRTHighTbits() {}
21 
22  InDetLowBetaCandidate::InDetLowBetaCandidate(float TRTCorrBitsOverThreshold,
23  float TRTTrailingEdge,
24  float TRTTrailingEdgeError,
25  int TRTNLastBits,
26  float TRTdEdx,
27  float TRTLikelihoodBeta,
28  float TRTLikelihoodError,
29  float TRTHighTbits):m_TRTCorrBitsOverThreshold(TRTCorrBitsOverThreshold), m_TRTTrailingEdge( TRTTrailingEdge), m_TRTTrailingEdgeError( TRTTrailingEdgeError), m_TRTNLastBits(TRTNLastBits), m_TRTdEdx(TRTdEdx), m_TRTLikelihoodBeta(TRTLikelihoodBeta), m_TRTLikelihoodError(TRTLikelihoodError), m_TRTHighTbits( TRTHighTbits ) {}
30 
60 
61  MsgStream& InDetLowBetaCandidate::dump(MsgStream& sl) const {
62  sl << "Printing InDet::InDetLowBetaCandidate: " << endmsg;
63  sl << "TRTCorrBitsOverThreshold: " << m_TRTCorrBitsOverThreshold << endmsg;
64  sl << "TRTTrailingEdge: " << m_TRTTrailingEdge << endmsg;
65  sl << "TRTTrailingEdgeError: " << m_TRTTrailingEdgeError << endmsg;
66  sl << "TRTNLastBits: " << m_TRTNLastBits << endmsg;
67  sl << "TRTdEdx: " << m_TRTdEdx << endmsg;
68  sl << "TRTLikelihoodBeta: " << m_TRTLikelihoodBeta << endmsg;
69  sl << "TRTLikelihoodError: " << m_TRTLikelihoodError << endmsg;
70  sl << "TRTHighTbits: " << m_TRTHighTbits << endmsg;
71  return sl;
72  }
73 
74 
75  MsgStream& operator << ( MsgStream& sl, const InDetLowBetaCandidate& sf)
76  { return sf.dump(sl); }
77 
78 
79 
81  {
83  }
84 
86  {
87  return m_TRTTrailingEdge;
88  }
89 
91  {
92  return m_TRTTrailingEdgeError;
93  }
94 
96  {
97  return m_TRTNLastBits;
98  }
100  {
101  return m_TRTdEdx;
102  }
104  {
105  return m_TRTLikelihoodBeta;
106  }
108  {
109  return m_TRTLikelihoodError;
110  }
112  {
113  return m_TRTHighTbits;
114  }
115 
116 } // end of namespace
117 
118 
119 
120 
InDet::InDetLowBetaCandidate::getTRTTrailingEdgeError
float getTRTTrailingEdgeError() const
Definition: InDetLowBetaCandidate.cxx:90
InDet::InDetLowBetaCandidate::getTRTTrailingEdge
float getTRTTrailingEdge() const
Definition: InDetLowBetaCandidate.cxx:85
InDet::operator<<
MsgStream & operator<<(MsgStream &, const GNNTrackReaderTool &)
InDet::InDetLowBetaCandidate::dump
virtual MsgStream & dump(MsgStream &sl) const
Output Method for MsgStream, to be overloaded by child classes.
Definition: InDetLowBetaCandidate.cxx:61
InDet::InDetLowBetaCandidate::m_TRTTrailingEdgeError
float m_TRTTrailingEdgeError
Definition: InDetLowBetaCandidate.h:61
InDet::InDetLowBetaCandidate::getTRTLikelihoodBeta
float getTRTLikelihoodBeta() const
Definition: InDetLowBetaCandidate.cxx:103
InDet::InDetLowBetaCandidate::m_TRTdEdx
float m_TRTdEdx
Definition: InDetLowBetaCandidate.h:63
InDet::InDetLowBetaCandidate::m_TRTLikelihoodError
float m_TRTLikelihoodError
Definition: InDetLowBetaCandidate.h:65
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::InDetLowBetaCandidate::m_TRTNLastBits
int m_TRTNLastBits
Definition: InDetLowBetaCandidate.h:62
InDet::InDetLowBetaCandidate::m_TRTLikelihoodBeta
float m_TRTLikelihoodBeta
Definition: InDetLowBetaCandidate.h:64
InDet::InDetLowBetaCandidate::getTRTNLastBits
int getTRTNLastBits() const
Definition: InDetLowBetaCandidate.cxx:95
InDet::InDetLowBetaCandidate::m_TRTTrailingEdge
float m_TRTTrailingEdge
Definition: InDetLowBetaCandidate.h:60
Trk::TRTdEdx
@ TRTdEdx
dEdx from TRT ToT measurement.
Definition: Tracking/TrkEvent/TrkTrackSummary/TrkTrackSummary/TrackSummary.h:219
InDet::InDetLowBetaCandidate::m_TRTCorrBitsOverThreshold
float m_TRTCorrBitsOverThreshold
Definition: InDetLowBetaCandidate.h:59
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
InDet::InDetLowBetaCandidate::InDetLowBetaCandidate
InDetLowBetaCandidate()
Definition: InDetLowBetaCandidate.cxx:20
InDet::InDetLowBetaCandidate::m_TRTHighTbits
float m_TRTHighTbits
Definition: InDetLowBetaCandidate.h:66
InDet::InDetLowBetaCandidate::getTRTHighTbits
float getTRTHighTbits() const
Definition: InDetLowBetaCandidate.cxx:111
InDet::InDetLowBetaCandidate::~InDetLowBetaCandidate
virtual ~InDetLowBetaCandidate()
InDetLowBetaCandidate::InDetLowBetaCandidate(const InDetLowBetaCandidate& rhs) : m_TRTCorrBitsOverThr...
InDet::InDetLowBetaCandidate::getTRTCorrBitsOverThreshold
float getTRTCorrBitsOverThreshold() const
Definition: InDetLowBetaCandidate.cxx:80
InDet::InDetLowBetaCandidate
Definition: InDetLowBetaCandidate.h:24
InDet::InDetLowBetaCandidate::getTRTdEdx
float getTRTdEdx() const
Definition: InDetLowBetaCandidate.cxx:99
mapkey::sf
@ sf
Definition: TElectronEfficiencyCorrectionTool.cxx:38
InDet::InDetLowBetaCandidate::getTRTLikelihoodError
float getTRTLikelihoodError() const
Definition: InDetLowBetaCandidate.cxx:107
InDetLowBetaCandidate.h