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