ATLAS Offline Software
ElectronCnv_p3.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 // ElectronCnv_p3.cxx
8 // Implementation file for class ElectronCnv_p3
10 
11 
12 // STL includes
13 
14 // egammaEvent includes
15 #include "egammaEvent/Electron.h"
16 
17 // egammaEventTPCnv includes
19 
21 // Public methods:
23 
24 // Constructors
26 
27 // Destructor
29 
31 // Const methods:
33 
35  Analysis::Electron* trans,
36  MsgStream& msg )
37 {
38 // msg << MSG::DEBUG << "Loading Electron from persistent state..."
39 // << endmsg;
40 
41  // base class
42  m_egammaCnv.persToTrans( &pers->m_egamma, trans, msg );
43 }
44 
46  Electron_p3* pers,
47  MsgStream& msg )
48 {
49 // msg << MSG::DEBUG << "Creating persistent state of Electron..."
50 // << endmsg;
51 
52  // base class
53  m_egammaCnv.transToPers( trans, &pers->m_egamma, msg );
54 }
Analysis::Electron
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
egammaCnv_p3::transToPers
virtual void transToPers(const egamma *transObj, egamma_p3 *persObj, MsgStream &msg) override final
Method creating the persistent representation egamma_p3 from its transient representation egamma.
Definition: egammaCnv_p3.cxx:90
Electron_p3
Definition: Electron_p3.h:20
ElectronCnv_p3.h
Electron.h
egammaCnv_p3::persToTrans
virtual void persToTrans(const egamma_p3 *persObj, egamma *transObj, MsgStream &msg) override final
Method creating the transient representation of egamma from its persistent representation egamma_p3.
Definition: egammaCnv_p3.cxx:34
ElectronCnv_p3::m_egammaCnv
egammaCnv_p3 m_egammaCnv
Definition: ElectronCnv_p3.h:64
Electron_p3::m_egamma
egamma_p3 m_egamma
the egamma part
Definition: Electron_p3.h:47
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
ElectronCnv_p3::persToTrans
virtual void persToTrans(const Electron_p3 *persObj, Analysis::Electron *transObj, MsgStream &msg) override final
Method creating the transient representation of Analysis::Electron from its persistent representation...
Definition: ElectronCnv_p3.cxx:34
ElectronCnv_p3::transToPers
virtual void transToPers(const Analysis::Electron *transObj, Electron_p3 *persObj, MsgStream &msg) override final
Method creating the persistent representation Electron_p3 from its transient representation Analysis:...
Definition: ElectronCnv_p3.cxx:45