ATLAS Offline Software
TBEventInfoCnv_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // -------------------------------------------------------------------
6 // Converted between the persistent and transient
7 // representations of TBEvent/TBEventInfo
8 // See: https://twiki.cern.ch/twiki/bin/view/Atlas/TransientPersistentSeparation#TP_converters_for_component_type
9 // Author: Iftach Sadeh (iftach.sadeh@NOSPAMTODAYcern.ch) , February 2010
10 // -------------------------------------------------------------------
11 #ifndef TBTPCNV_TBEVENTINFOCNV_P1_H
12 #define TBTPCNV_TBEVENTINFOCNV_P1_H
13 
15 #include "TBTPCnv/TBEventInfo_p1.h"
16 
17 class MsgStream;
18 class TBEventInfo;
19 
20 
21 class TBEventInfoCnv_p1 : public T_AthenaPoolTPCnvConstBase<TBEventInfo, TBEventInfo_p1>
22 {
23 public:
26 
27 
29 
30  virtual void persToTrans(const TBEventInfo_p1* pers, TBEventInfo* trans, MsgStream &log) const override;
31  virtual void transToPers(const TBEventInfo* trans, TBEventInfo_p1* pers, MsgStream &log) const override;
32 };
33 
34 
35 
36 #endif
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
TBEventInfoCnv_p1
Definition: TBEventInfoCnv_p1.h:22
T_AthenaPoolTPConverter.h
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
TBEventInfoCnv_p1::TBEventInfoCnv_p1
TBEventInfoCnv_p1()
Definition: TBEventInfoCnv_p1.h:28
TBEventInfo_p1.h
TBEventInfoCnv_p1::persToTrans
virtual void persToTrans(const TBEventInfo_p1 *pers, TBEventInfo *trans, MsgStream &log) const override
Definition: TBEventInfoCnv_p1.cxx:13
TBEventInfo_p1
Definition: TBEventInfo_p1.h:15
TBEventInfo
Definition: TBEventInfo.h:27
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TBEventInfoCnv_p1::transToPers
virtual void transToPers(const TBEventInfo *trans, TBEventInfo_p1 *pers, MsgStream &log) const override
Definition: TBEventInfoCnv_p1.cxx:29
TPConverterConstBase
Definition: TPConverter.h:776