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