ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaEventTPCnv
src
ElectronCnv_p1.cxx
Go to the documentation of this file.
1
2
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
20
#include "
egammaEventTPCnv/ElectronCnv_p1.h
"
21
23
// Public methods:
25
26
// Constructors
28
29
// Destructor
31
33
// Const methods:
35
36
void
ElectronCnv_p1::persToTrans
(
const
Electron_p1
* pers,
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
47
void
ElectronCnv_p1::transToPers
(
const
Analysis::Electron
* trans,
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
}
ElectronCnv_p1.h
Electron.h
Analysis::Electron
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/Electron.h:20
ElectronCnv_p1::m_egammaCnv
egammaCnv_p1 m_egammaCnv
Definition
ElectronCnv_p1.h:66
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::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
Electron_p1
Definition
Electron_p1.h:23
Electron_p1::m_egamma
egamma_p1 m_egamma
the egamma part
Definition
Electron_p1.h:50
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0