ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
egamma
egammaEventTPCnv
src
PhotonCnv_p5.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
// PhotonCnv_p5.cxx
8
// Implementation file for class PhotonCnv_p5
10
11
12
// STL includes
13
14
// egammaEvent includes
15
#include "
egammaEvent/Photon.h
"
16
17
// egammaEventTPCnv includes
18
#include "
egammaEventTPCnv/PhotonCnv_p5.h
"
19
21
// Public methods:
23
24
// Constructors
26
27
// Destructor
29
31
// Const methods:
33
34
void
PhotonCnv_p5::persToTrans
(
const
Photon_p5
* pers,
35
Analysis::Photon
* trans,
36
MsgStream&
msg
)
37
{
38
// msg << MSG::DEBUG << "Loading Photon from persistent state..."
39
// << endmsg;
40
41
// base class
42
m_egammaCnv
.persToTrans( &pers->
m_egamma
, trans,
msg
);
43
}
44
45
void
PhotonCnv_p5::transToPers
(
const
Analysis::Photon
* trans,
46
Photon_p5
* pers,
47
MsgStream&
msg
)
48
{
49
// msg << MSG::DEBUG << "Creating persistent state of Photon..."
50
// << endmsg;
51
52
// base class
53
m_egammaCnv
.transToPers( trans, &pers->
m_egamma
,
msg
);
54
}
PhotonCnv_p5.h
Photon.h
Analysis::Photon
Definition
Reconstruction/egamma/egammaEvent/egammaEvent/Photon.h:20
PhotonCnv_p5::m_egammaCnv
egammaCnv_p5 m_egammaCnv
Definition
PhotonCnv_p5.h:65
PhotonCnv_p5::persToTrans
virtual void persToTrans(const Photon_p5 *persObj, Analysis::Photon *transObj, MsgStream &msg) override final
Method creating the transient representation of Analysis::Photon from its persistent representation P...
Definition
PhotonCnv_p5.cxx:34
PhotonCnv_p5::transToPers
virtual void transToPers(const Analysis::Photon *transObj, Photon_p5 *persObj, MsgStream &msg) override final
Method creating the persistent representation Photon_p5 from its transient representation Analysis::P...
Definition
PhotonCnv_p5.cxx:45
Photon_p5
Definition
Photon_p5.h:20
Photon_p5::m_egamma
egamma_p5 m_egamma
the egamma part
Definition
Photon_p5.h:47
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0