ATLAS Offline Software
InDetLowBetaCandidateCnv_tlp1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
9  // add the "main" base class converter (ie. InDetLowBetaCandidateCnv)
11 }
12 
14  // for the base class converter
16 }
17 
18 
20  (const InDetLowBetaCandidate_tlp1 *pers,
22  MsgStream &msg) {
23  // FIXME: TPConverter uses the same non-const member m_pStorage
24  // for both reading and writing, but we want it to be const
25  // in the former case.
27  const_cast<InDetLowBetaCandidate_tlp1*>(pers);
28  setPStorage(pers_nc);
29  m_mainConverter.pstoreToTrans(0, trans, msg);
30 }
31 
34  MsgStream &msg) {
35 // if (log.level() <= MSG::DEBUG) msg << MSG::DEBUG << "::transToPers called " << endmsg;
36  this->setTLPersObject(pers);
37  m_mainConverter.virt_toPersistent(trans, msg);
38  this->clearTLPersObject();
39 }
InDetLowBetaCandidate_tlp1::m_lowBetaCandidate
std::vector< InDetLowBetaCandidate_p1 > m_lowBetaCandidate
Definition: InDetLowBetaCandidate_tlp1.h:17
TopLevelTPConverter::addMainTPConverter
void addMainTPConverter()
Add the main TP converter to the internal list - should be called from user-defined constructor.
Definition: TopLevelTPConverter.h:146
InDetLowBetaCandidateCnv_tlp1.h
InDetLowBetaCandidateCnv_tlp1::setPStorage
virtual void setPStorage(InDetLowBetaCandidate_tlp1 *storage)
Definition: InDetLowBetaCandidateCnv_tlp1.cxx:13
InDetLowBetaCandidateCnv_tlp1::InDetLowBetaCandidateCnv_tlp1
InDetLowBetaCandidateCnv_tlp1()
Definition: InDetLowBetaCandidateCnv_tlp1.cxx:8
InDet::InDetLowBetaCandidate
Definition: InDetLowBetaCandidate.h:24
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition: checker_macros.h:211
InDetLowBetaCandidate_tlp1
Definition: InDetLowBetaCandidate_tlp1.h:11
TopLevelTPConverter::setMainCnvPStorage
void setMainCnvPStorage(STORAGE *storage)
Set the persistent storage space for the main TP converter.
Definition: TopLevelTPConverter.h:152
T_TPCnv
Definition: T_AthenaPoolTPConverter.h:17
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7