ATLAS Offline Software
EventInfoByteStreamxAODCnv.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 #ifndef EVENTINFOBYTESTREAMXAODCNV_H
6 #define EVENTINFOBYTESTREAMXAODCNV_H
7 
18 #include "GaudiKernel/Converter.h"
20 
21 // Abstract factory to create the converter
22 template <class TYPE> class CnvFactory;
23 
25 {
26  public:
27  EventInfoByteStreamxAODCnv(ISvcLocator* svcloc);
28  virtual ~EventInfoByteStreamxAODCnv() override {}
29 
30  virtual StatusCode initialize() override;
31  virtual StatusCode finalize() override;
32 
34  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj) override;
36  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr) override;
37 
39  virtual long repSvcType() const override { return i_repSvcType(); }
40  static long storageType();
41  static const CLID& classID();
42 
43 };
44 
45 #endif
EventInfoByteStreamxAODCnv::repSvcType
virtual long repSvcType() const override
Storage type and class ID.
Definition: EventInfoByteStreamxAODCnv.h:39
EventInfoByteStreamxAODCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
converter method to create object
Definition: EventInfoByteStreamxAODCnv.cxx:53
EventInfoByteStreamxAODCnv::storageType
static long storageType()
Definition: EventInfoByteStreamxAODCnv.cxx:30
EventInfoByteStreamxAODCnv::initialize
virtual StatusCode initialize() override
Definition: EventInfoByteStreamxAODCnv.cxx:35
EventInfoByteStreamxAODCnv::~EventInfoByteStreamxAODCnv
virtual ~EventInfoByteStreamxAODCnv() override
Definition: EventInfoByteStreamxAODCnv.h:28
EventInfoByteStreamxAODCnv::classID
static const CLID & classID()
Definition: EventInfoByteStreamxAODCnv.cxx:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
EventInfoByteStreamxAODCnv
This is the class definition of ByteStream converter for xAOD::EventInfo Event Info is built from Raw...
Definition: EventInfoByteStreamxAODCnv.h:25
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
EventInfoByteStreamxAODCnv::EventInfoByteStreamxAODCnv
EventInfoByteStreamxAODCnv(ISvcLocator *svcloc)
Definition: EventInfoByteStreamxAODCnv.cxx:19
Converter
Definition: Converter.h:27
AthMessaging.h
EventInfoByteStreamxAODCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
converter method to write object
Definition: EventInfoByteStreamxAODCnv.cxx:77
EventInfoByteStreamxAODCnv::finalize
virtual StatusCode finalize() override
Definition: EventInfoByteStreamxAODCnv.cxx:42