ATLAS Offline Software
EventInfoCnv_p4.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_P4_H
6 #define EVENTATHENAPOOL_EVENTINFOCNV_P4_H
7 
9 #include "EventInfo/EventInfo.h"
11 
12 class MsgStream;
13 class EventInfoCnv_p4 : public T_AthenaPoolTPCnvConstBase<EventInfo, EventInfo_p4> {
14 public:
18 
19  virtual void persToTrans(const EventInfo_p4* persObj, EventInfo* transObj, MsgStream &log) const override;
20  virtual void transToPers(const EventInfo* transObj, EventInfo_p4* persObj, MsgStream &log) const override;
21 
22  // needed to handle specific default constructor of EventInfo
23  virtual EventInfo *createTransientConst( const EventInfo_p4* persObj, MsgStream &log) const override;
24 };
25 
26 template<>
28  : public EventInfoCnv_p4
29 {
30 public:
31 };
32 
33 
34 #endif
EventInfoCnv_p4
Definition: EventInfoCnv_p4.h:13
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
EventInfoCnv_p4::EventInfoCnv_p4
EventInfoCnv_p4()
Definition: EventInfoCnv_p4.h:15
EventInfoCnv_p4::transToPers
virtual void transToPers(const EventInfo *transObj, EventInfo_p4 *persObj, MsgStream &log) const override
Definition: EventInfoCnv_p4.cxx:21
T_AthenaPoolTPConverter.h
EventInfoCnv_p4::createTransientConst
virtual EventInfo * createTransientConst(const EventInfo_p4 *persObj, MsgStream &log) const override
Definition: EventInfoCnv_p4.cxx:48
EventInfo_p4.h
This class is the persistent representation of EventInfo.
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
EventInfo_p4
Definition: EventInfo_p4.h:18
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TPConverterConstBase
Definition: TPConverter.h:776
T_TPCnv
Definition: T_AthenaPoolTPConverter.h:17
EventInfoCnv_p4::persToTrans
virtual void persToTrans(const EventInfo_p4 *persObj, EventInfo *transObj, MsgStream &log) const override
Definition: EventInfoCnv_p4.cxx:37