ATLAS Offline Software
SiClusterOnTrackCnv_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 
5 //-----------------------------------------------------------------------------
6 //
7 // file: SiClusterOnTrackCnv_p1.cxx
8 //
9 //-----------------------------------------------------------------------------
10 
13 //#include "TrkEventTPCnv/helpers/CLHEPHelpers.h"
14 //#include "CLHEP/Geometry/Point3D.h"
15 
16 
19  InDet::SiClusterOnTrack *transObj,
20  MsgStream &log )
21 {
22  transObj->m_idDE = persObj->m_idDE;
23  transObj->m_isbroad = persObj->m_isbroad;
24  fillTransFromPStore( &m_RIOCnv, persObj->m_RIO, transObj, log );
25  // m_globalPosition - transient?
26 }
27 
28 
30 transToPers( const InDet::SiClusterOnTrack *transObj,
32  MsgStream &log)
33 {
34  persObj->m_RIO = baseToPersistent( &m_RIOCnv, transObj, log );
35  persObj->m_idDE = transObj->m_idDE;
36  persObj->m_isbroad = transObj->m_isbroad;
37  // m_globalPosition - transient?
38 }
InDet::SiClusterOnTrack::m_idDE
IdentifierHash m_idDE
The IdentifierHash - probably not used.
Definition: SiClusterOnTrack.h:109
InDet::SiClusterOnTrack_p1::m_idDE
IdentifierHash::value_type m_idDE
Definition: SiClusterOnTrack_p1.h:26
SiClusterOnTrack.h
SiClusterOnTrackCnv_p1::m_RIOCnv
RIO_OnTrackCnv_p1 * m_RIOCnv
Definition: SiClusterOnTrackCnv_p1.h:38
ITPConverterFor< TRANS_BASE >::fillTransFromPStore
void fillTransFromPStore(CNV **cnv, const TPObjRef &ref, TRANS_T *trans, MsgStream &log) const
Convert persistent object, stored in the the top-level persistent object and referenced by the TP Ref...
Definition: TPConverter.h:145
InDet::SiClusterOnTrack::m_isbroad
bool m_isbroad
Definition: SiClusterOnTrack.h:112
SiClusterOnTrackCnv_p1::transToPers
void transToPers(const InDet::SiClusterOnTrack *transObj, InDet::SiClusterOnTrack_p1 *persObj, MsgStream &log)
Definition: SiClusterOnTrackCnv_p1.cxx:30
InDet::SiClusterOnTrack_p1::m_RIO
TPObjRef m_RIO
Definition: SiClusterOnTrack_p1.h:25
SiClusterOnTrackCnv_p1.h
InDet::SiClusterOnTrack_p1::m_isbroad
bool m_isbroad
Definition: SiClusterOnTrack_p1.h:27
ITPConverterFor< TRANS_BASE >::baseToPersistent
TPObjRef baseToPersistent(CNV **cnv, const typename CNV::Trans_t *transObj, MsgStream &log) const
Persistify bass class of a given object and store the persistent represenation in the storage vector ...
Definition: TPConverter.h:97
InDet::SiClusterOnTrack_p1
Definition: SiClusterOnTrack_p1.h:20
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
SiClusterOnTrackCnv_p1::persToTrans
void persToTrans(const InDet::SiClusterOnTrack_p1 *persObj, InDet::SiClusterOnTrack *transObj, MsgStream &log)
Definition: SiClusterOnTrackCnv_p1.cxx:18
InDet::SiClusterOnTrack
Definition: SiClusterOnTrack.h:39