ATLAS Offline Software
CaloEnergyCnv_p2.h
Go to the documentation of this file.
1 
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
20 #include "RecTPCnv/CaloEnergy_p2.h"
22 #include "muonEvent/CaloEnergy.h"
23 
24 // Forward declaration
25 class MsgStream;
26 class CaloEnergy;
27 
31 extern "C"
32 void
34 
35 class 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
EnergyLoss.h
CaloEnergyCnv_p2::registerStreamerConverter
static void registerStreamerConverter()
Register a streamer converter for backwards compatibility for the vector<DepositInCalo_p1> -> vector<...
Definition: CaloEnergyCnv_p2.cxx:110
CaloEnergy
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
Definition: CaloEnergy.h:28
CaloEnergyCnv_p2
Definition: CaloEnergyCnv_p2.h:38
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.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
TPPolyCnvBase
Definition: TPConverter.h:674
T_AthenaPoolTPConverter.h
CaloEnergy_p2
Definition: CaloEnergy_p2.h:26
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
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
CaloEnergyCnv_p2::CaloEnergyCnv_p2
CaloEnergyCnv_p2()
Default constructor:
Definition: CaloEnergyCnv_p2.cxx:37
CaloEnergy.h