ATLAS Offline Software
ElectronCnv_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 // ElectronCnv_p1.cxx
8 // Implementation file for class ElectronCnv_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/Electron.h"
18 
19 // egammaEventTPCnv includes
21 
23 // Public methods:
25 
26 // Constructors
28 
29 // Destructor
31 
33 // Const methods:
35 
37  Analysis::Electron* trans,
38  MsgStream& msg )
39 {
40 // msg << MSG::DEBUG << "Loading Electron from persistent state..."
41 // << endmsg;
42 
43  // base class
44  m_egammaCnv.persToTrans( &pers->m_egamma, trans, msg );
45 }
46 
48  Electron_p1* pers,
49  MsgStream& msg )
50 {
51 // msg << MSG::DEBUG << "Creating persistent state of Electron..."
52 // << endmsg;
53 
54  // base class
55  m_egammaCnv.transToPers( trans, &pers->m_egamma, msg );
56 }
Analysis::Electron
Definition: Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
Electron_p1
Definition: Electron_p1.h:23
ElectronCnv_p1::persToTrans
virtual void persToTrans(const Electron_p1 *persObj, Analysis::Electron *transObj, MsgStream &msg) override final
Method creating the transient representation of Analysis::Electron from its persistent representation...
Definition: ElectronCnv_p1.cxx:36
ElectronCnv_p1.h
Electron.h
Electron_p1::m_egamma
egamma_p1 m_egamma
the egamma part
Definition: Electron_p1.h:50
ElectronCnv_p1::transToPers
virtual void transToPers(const Analysis::Electron *transObj, Electron_p1 *persObj, MsgStream &msg) override final
Method creating the persistent representation Electron_p1 from its transient representation Analysis:...
Definition: ElectronCnv_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
ElectronCnv_p1::m_egammaCnv
egammaCnv_p1 m_egammaCnv
Definition: ElectronCnv_p1.h:66
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