ATLAS Offline Software
EventInfoCnv_p2.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EVENTATHENAPOOL_EVENTINFOCNV_P2_H
6 #define EVENTATHENAPOOL_EVENTINFOCNV_P2_H
7 
9 #include "EventInfo/EventInfo.h"
11 
12 class MsgStream;
13 class EventInfoCnv_p2 : public T_AthenaPoolTPCnvConstBase<EventInfo, EventInfo_p2> {
14 public:
18 
19  virtual void persToTrans(const EventInfo_p2* persObj, EventInfo* transObj, MsgStream &log) const override;
20  virtual void transToPers(const EventInfo* transObj, EventInfo_p2* persObj, MsgStream &log) const override;
21 
22  // needed to handle specific default constructor of EventInfo
23  virtual EventInfo *createTransientConst( const EventInfo_p2* persObj, MsgStream &log) const override;
24 };
25 
26 template<>
28  : public EventInfoCnv_p2
29 {
30 public:
31 };
32 
33 
34 #endif
EventInfoCnv_p2::EventInfoCnv_p2
EventInfoCnv_p2()
Definition: EventInfoCnv_p2.h:15
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
EventInfoCnv_p2
Definition: EventInfoCnv_p2.h:13
EventInfo_p2.h
This class is the persistent representation of EventInfo.
EventInfo_p2
Definition: EventInfo_p2.h:18
T_AthenaPoolTPConverter.h
EventInfoCnv_p2::persToTrans
virtual void persToTrans(const EventInfo_p2 *persObj, EventInfo *transObj, MsgStream &log) const override
Definition: EventInfoCnv_p2.cxx:38
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
EventInfo
This class provides general information about an event. Event information is provided by the accessor...
Definition: EventInfo/EventInfo/EventInfo.h:42
EventInfoCnv_p2::createTransientConst
virtual EventInfo * createTransientConst(const EventInfo_p2 *persObj, MsgStream &log) const override
Definition: EventInfoCnv_p2.cxx:46
EventInfoCnv_p2::transToPers
virtual void transToPers(const EventInfo *transObj, EventInfo_p2 *persObj, MsgStream &log) const override
Definition: EventInfoCnv_p2.cxx:21
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TPConverterConstBase
Definition: TPConverter.h:776
T_TPCnv
Definition: T_AthenaPoolTPConverter.h:17