ATLAS Offline Software
InDetLowBetaCandidateCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 
11 {
12  size_t sz = persObj->m_data.size();
14  (sz>0 ? (persObj->m_data)[0] : 0, // TRTCorrBitsOverThreshold
15  sz>1 ? (persObj->m_data)[1] : 0, // TRTTrailingEdge
16  sz>2 ? (persObj->m_data)[2] : 0, // TRTTrailingEdgeError
17  persObj->m_TRTNLastBits,
18  sz>3 ? (persObj->m_data)[3] : 0, // TRTdEdx
19  sz>4 ? (persObj->m_data)[4] : 0, // TRTLikelihoodBeta
20  sz>5 ? (persObj->m_data)[5] : 0, // TRTLikelihoodError
21  sz>6 ? (persObj->m_data)[6] : 0); // TRTHighTbits
22 }
23 
24 
26 {
27  persObj->m_data.push_back(transObj->getTRTCorrBitsOverThreshold());
28  persObj->m_data.push_back(transObj->getTRTTrailingEdge());
29  persObj->m_data.push_back(transObj->getTRTTrailingEdgeError());
30  persObj->m_TRTNLastBits = transObj->getTRTNLastBits();
31  persObj->m_data.push_back(transObj->getTRTdEdx());
32  persObj->m_data.push_back(transObj->getTRTLikelihoodBeta());
33  persObj->m_data.push_back(transObj->getTRTLikelihoodError());
34  persObj->m_data.push_back(transObj->getTRTHighTbits());
35 
36 }
37 
InDet::InDetLowBetaCandidate::getTRTTrailingEdgeError
float getTRTTrailingEdgeError() const
Definition: InDetLowBetaCandidate.cxx:90
InDet::InDetLowBetaCandidate::getTRTTrailingEdge
float getTRTTrailingEdge() const
Definition: InDetLowBetaCandidate.cxx:85
InDet::InDetLowBetaCandidate::getTRTLikelihoodBeta
float getTRTLikelihoodBeta() const
Definition: InDetLowBetaCandidate.cxx:103
fitman.sz
sz
Definition: fitman.py:527
InDetLowBetaCandidateCnv_p1::persToTrans
virtual void persToTrans(const InDetLowBetaCandidate_p1 *persObj, InDet::InDetLowBetaCandidate *transObj, MsgStream &log)
Definition: InDetLowBetaCandidateCnv_p1.cxx:10
InDetLowBetaCandidate_p1::m_TRTNLastBits
int m_TRTNLastBits
Definition: InDetLowBetaCandidate_p1.h:17
InDetLowBetaCandidateCnv_p1.h
InDet::InDetLowBetaCandidate::getTRTNLastBits
int getTRTNLastBits() const
Definition: InDetLowBetaCandidate.cxx:95
InDetLowBetaCandidate_p1
Definition: InDetLowBetaCandidate_p1.h:10
InDet::InDetLowBetaCandidate::getTRTHighTbits
float getTRTHighTbits() const
Definition: InDetLowBetaCandidate.cxx:111
InDetLowBetaCandidate_p1.h
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
InDetLowBetaCandidateCnv_p1::transToPers
virtual void transToPers(const InDet::InDetLowBetaCandidate *transObj, InDetLowBetaCandidate_p1 *persObj, MsgStream &log)
Definition: InDetLowBetaCandidateCnv_p1.cxx:25
InDet::InDetLowBetaCandidate::getTRTLikelihoodError
float getTRTLikelihoodError() const
Definition: InDetLowBetaCandidate.cxx:107
InDetLowBetaCandidate.h
InDetLowBetaCandidate_p1::m_data
std::vector< float > m_data
Definition: InDetLowBetaCandidate_p1.h:12
python.Dumpers.InDetLowBetaCandidate
InDetLowBetaCandidate
Definition: Dumpers.py:59