ATLAS Offline Software
McEventCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MCEVENTSELECTOR_MCEVENTCNV_H
6 #define MCEVENTSELECTOR_MCEVENTCNV_H
7 #include "GaudiKernel/Converter.h"
8 
9 class IOpaqueAddress;
10 class DataObject;
11 class StatusCode;
12 
13 // Abstract factory to create the converter
14 template <class TYPE> class CnvFactory;
15 
16 // Externals
17 
18 class McEventCnv: public Converter {
19 
20 public:
21  McEventCnv(ISvcLocator* svcloc);
22 
23  StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
24 
26  static long storageType();
27  static const CLID& classID();
28 
29  virtual long repSvcType() const {
30  return i_repSvcType();
31  }
32 
33 };
34 #endif
McEventCnv::classID
static const CLID & classID()
Definition: McEventCnv.cxx:46
McEventCnv::McEventCnv
McEventCnv(ISvcLocator *svcloc)
Definition: McEventCnv.cxx:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
McEventCnv::createObj
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition: McEventCnv.cxx:21
McEventCnv::storageType
static long storageType()
Storage type and class ID.
Definition: McEventCnv.cxx:43
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
Converter
Definition: Converter.h:27
McEventCnv::repSvcType
virtual long repSvcType() const
Definition: McEventCnv.h:29
McEventCnv
Definition: McEventCnv.h:18