ATLAS Offline Software
PhotonCnv_p1.cxx
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // PhotonCnv_p1.cxx
8 // Implementation file for class PhotonCnv_p1
9 // Author: K.Cranmer<cranmer@cern.ch>
10 // Author: S.Binet<binet@cern.ch>
12 
13 
14 // STL includes
15 
16 // egammaEvent includes
17 #include "egammaEvent/Photon.h"
18 
19 // egammaEventTPCnv includes
21 
23 // Public methods:
25 
26 // Constructors
28 
29 // Destructor
31 
33 // Const methods:
35 
37  Analysis::Photon* trans,
38  MsgStream& msg )
39 {
40 // msg << MSG::DEBUG << "Loading Photon from persistent state..."
41 // << endmsg;
42 
43  // base class
44  m_egammaCnv.persToTrans( &pers->m_egamma, trans, msg );
45 }
46 
48  Photon_p1* pers,
49  MsgStream& msg )
50 {
51 // msg << MSG::DEBUG << "Creating persistent state of Photon..."
52 // << endmsg;
53 
54  // base class
55  m_egammaCnv.transToPers( trans, &pers->m_egamma, msg );
56 }
Photon.h
Photon_p1::m_egamma
egamma_p1 m_egamma
the egamma part
Definition: Photon_p1.h:50
Analysis::Photon
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
PhotonCnv_p1.h
PhotonCnv_p1::m_egammaCnv
egammaCnv_p1 m_egammaCnv
Definition: PhotonCnv_p1.h:66
Photon_p1
Definition: Photon_p1.h:23
PhotonCnv_p1::transToPers
virtual void transToPers(const Analysis::Photon *transObj, Photon_p1 *persObj, MsgStream &msg) override final
Method creating the persistent representation Photon_p1 from its transient representation Analysis::P...
Definition: PhotonCnv_p1.cxx:47
egammaCnv_p1::transToPers
virtual void transToPers(const egamma *transObj, egamma_p1 *persObj, MsgStream &msg) override final
Method creating the persistent representation egamma_p1 from its transient representation egamma.
Definition: egammaCnv_p1.cxx:94
PhotonCnv_p1::persToTrans
virtual void persToTrans(const Photon_p1 *persObj, Analysis::Photon *transObj, MsgStream &msg) override final
Method creating the transient representation of Analysis::Photon from its persistent representation P...
Definition: PhotonCnv_p1.cxx:36
egammaCnv_p1::persToTrans
virtual void persToTrans(const egamma_p1 *persObj, egamma *transObj, MsgStream &msg) override final
Method creating the transient representation of egamma from its persistent representation egamma_p1.
Definition: egammaCnv_p1.cxx:38
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7