ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecTPCnv
RecTPCnv
CaloEnergyCnv_p2.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// CaloEnergyCnv_p1.h
8
// Header file for class CaloEnergyCnv_p2
9
// Author: Keetvi A. Assamagan<keetvi@bnl.gov>
11
#ifndef RECTPCNV_CALOENERGYCNV_P2_H
12
#define RECTPCNV_CALOENERGYCNV_P2_H
13
14
// STL includes
15
16
// AthenaPoolCnvSvc includes
17
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
18
19
// RecTPCnv includes
20
#include "
RecTPCnv/CaloEnergy_p2.h
"
21
#include "
TrkMaterialOnTrack/EnergyLoss.h
"
22
#include "
muonEvent/CaloEnergy.h
"
23
24
// Forward declaration
25
class
MsgStream;
26
class
CaloEnergy
;
27
31
extern
"C"
32
void
33
caloenergy_cnv_p2_register_streamer
();
34
35
class
CaloEnergyCnv_p2
:
public
T_AthenaPoolTPPolyCnvBase
< Trk::EnergyLoss,
36
CaloEnergy,
37
CaloEnergy_p2 >
38
{
39
public
:
42
CaloEnergyCnv_p2
();
43
44
48
void
persToTrans
(
const
CaloEnergy_p2
* persObj,
49
CaloEnergy
* transObj,
50
MsgStream&
msg
)
const
;
51
55
void
transToPers
(
const
CaloEnergy
* transObj,
56
CaloEnergy_p2
* persObj,
57
MsgStream&
msg
)
const
;
58
64
static
void
registerStreamerConverter
();
65
66
67
virtual
void
persToTrans
(
const
CaloEnergy_p2
* persObj,
68
CaloEnergy
* transObj,
69
MsgStream&
msg
)
override
final
;
70
71
72
virtual
void
transToPers
(
const
CaloEnergy
* transObj,
73
CaloEnergy_p2
* persObj,
74
MsgStream&
msg
)
override
final
;
75
};
76
77
78
#endif
//> RECTPCNV_CALOENERGYCNV_P2_H
caloenergy_cnv_p2_register_streamer
void caloenergy_cnv_p2_register_streamer()
simple C-stub function for the C++ static method CaloEnergyCnv_p2::registerStreamerConverter()
Definition
CaloEnergyCnv_p2.cxx:147
CaloEnergy.h
CaloEnergy_p2.h
EnergyLoss.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPPolyCnvBase
TPPolyCnvBase< TRANS_BASE, TRANS, PERS > T_AthenaPoolTPPolyCnvBase
Definition
T_AthenaPoolTPConverter.h:38
CaloEnergyCnv_p2::CaloEnergyCnv_p2
CaloEnergyCnv_p2()
Default constructor:
Definition
CaloEnergyCnv_p2.cxx:37
CaloEnergyCnv_p2::transToPers
void transToPers(const CaloEnergy *transObj, CaloEnergy_p2 *persObj, MsgStream &msg) const
Method creating the persistent representation CaloEnergy_p1 from its transient representation CaloEne...
Definition
CaloEnergyCnv_p2.cxx:75
CaloEnergyCnv_p2::registerStreamerConverter
static void registerStreamerConverter()
Register a streamer converter for backwards compatibility for the vector<DepositInCalo_p1> -> vector<...
Definition
CaloEnergyCnv_p2.cxx:110
CaloEnergyCnv_p2::persToTrans
void persToTrans(const CaloEnergy_p2 *persObj, CaloEnergy *transObj, MsgStream &msg) const
Method creating the transient representation of CaloEnergy from its persistent representation CaloEne...
Definition
CaloEnergyCnv_p2.cxx:41
CaloEnergy_p2
Definition
CaloEnergy_p2.h:26
CaloEnergy
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
Definition
CaloEnergy.h:28
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0