ATLAS Offline Software
Loading...
Searching...
No Matches
InnerDetector
InDetEventCnv
InDetEventTPCnv
src
InDetLowBetaInfo
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
5
#include "
InDetEventTPCnv/InDetLowBetaInfo/InDetLowBetaCandidateCnv_tlp1.h
"
6
7
8
InDetLowBetaCandidateCnv_tlp1::InDetLowBetaCandidateCnv_tlp1
() {
9
// add the "main" base class converter (ie. InDetLowBetaCandidateCnv)
10
addMainTPConverter
();
11
}
12
13
void
InDetLowBetaCandidateCnv_tlp1::setPStorage
(
InDetLowBetaCandidate_tlp1
* storage) {
14
// for the base class converter
15
setMainCnvPStorage
(&storage->
m_lowBetaCandidate
);
16
}
17
18
19
void
T_TPCnv<InDet::InDetLowBetaCandidate, InDetLowBetaCandidate_tlp1 >::persToTrans
20
(
const
InDetLowBetaCandidate_tlp1
*pers,
21
InDet::InDetLowBetaCandidate
*trans,
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.
26
InDetLowBetaCandidate_tlp1
*pers_nc
ATLAS_THREAD_SAFE
=
27
const_cast<
InDetLowBetaCandidate_tlp1
*
>
(pers);
28
setPStorage
(pers_nc);
29
m_mainConverter
.pstoreToTrans(0, trans,
msg
);
30
}
31
32
void
T_TPCnv<InDet::InDetLowBetaCandidate, InDetLowBetaCandidate_tlp1 >::transToPers
(
const
InDet::InDetLowBetaCandidate
*trans,
33
InDetLowBetaCandidate_tlp1
*pers,
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
}
InDetLowBetaCandidateCnv_tlp1.h
ATLAS_THREAD_SAFE
#define ATLAS_THREAD_SAFE
Definition
checker_macros.h:211
InDetLowBetaCandidateCnv_tlp1::InDetLowBetaCandidateCnv_tlp1
InDetLowBetaCandidateCnv_tlp1()
Definition
InDetLowBetaCandidateCnv_tlp1.cxx:8
InDetLowBetaCandidateCnv_tlp1::setPStorage
virtual void setPStorage(InDetLowBetaCandidate_tlp1 *storage)
A stub for a method that should be provided by the converter creator.
Definition
InDetLowBetaCandidateCnv_tlp1.cxx:13
InDetLowBetaCandidate_tlp1
Definition
InDetLowBetaCandidate_tlp1.h:11
InDetLowBetaCandidate_tlp1::m_lowBetaCandidate
std::vector< InDetLowBetaCandidate_p1 > m_lowBetaCandidate
Definition
InDetLowBetaCandidate_tlp1.h:17
InDet::InDetLowBetaCandidate
Definition
InDetLowBetaCandidate.h:24
T_TPCnv
Definition
T_AthenaPoolTPConverter.h:17
TopLevelTPConverter< InDetLowBetaCandidateCnv_p1, InDetLowBetaCandidate_tlp1 >::clearTLPersObject
virtual void clearTLPersObject() override
Definition
TopLevelTPCnvBaseP.h:99
TopLevelTPConverter< InDetLowBetaCandidateCnv_p1, InDetLowBetaCandidate_tlp1 >::setTLPersObject
virtual void setTLPersObject(void *persObj) override
Definition
TopLevelTPCnvBaseP.h:104
TopLevelTPConverter< InDetLowBetaCandidateCnv_p1, InDetLowBetaCandidate_tlp1 >::m_mainConverter
InDetLowBetaCandidateCnv_p1 m_mainConverter
Definition
TopLevelTPConverter.h:217
TopLevelTPConverter< InDetLowBetaCandidateCnv_p1, InDetLowBetaCandidate_tlp1 >::setMainCnvPStorage
void setMainCnvPStorage(STORAGE *storage)
Definition
TopLevelTPConverter.h:152
TopLevelTPConverter< InDetLowBetaCandidateCnv_p1, InDetLowBetaCandidate_tlp1 >::addMainTPConverter
void addMainTPConverter()
Definition
TopLevelTPConverter.h:146
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.16.1