ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
19// RecTPCnv includes
23
24// Forward declaration
25class MsgStream;
26class CaloEnergy;
27
31extern "C"
32void
34
35class CaloEnergyCnv_p2 : public T_AthenaPoolTPPolyCnvBase< Trk::EnergyLoss,
36 CaloEnergy,
37 CaloEnergy_p2 >
38{
39 public:
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
void caloenergy_cnv_p2_register_streamer()
simple C-stub function for the C++ static method CaloEnergyCnv_p2::registerStreamerConverter()
TPPolyCnvBase< TRANS_BASE, TRANS, PERS > T_AthenaPoolTPPolyCnvBase
CaloEnergyCnv_p2()
Default constructor:
void transToPers(const CaloEnergy *transObj, CaloEnergy_p2 *persObj, MsgStream &msg) const
Method creating the persistent representation CaloEnergy_p1 from its transient representation CaloEne...
static void registerStreamerConverter()
Register a streamer converter for backwards compatibility for the vector<DepositInCalo_p1> -> vector<...
void persToTrans(const CaloEnergy_p2 *persObj, CaloEnergy *transObj, MsgStream &msg) const
Method creating the transient representation of CaloEnergy from its persistent representation CaloEne...
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
Definition CaloEnergy.h:28
MsgStream & msg
Definition testRead.cxx:32