CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
McEventCnv.h
Go to the documentation of this file.
1#ifndef MCEVENTSELECTOR_MCEVENTCNV_H
2#define MCEVENTSELECTOR_MCEVENTCNV_H
3#include "GaudiKernel/Converter.h"
5
6using namespace EventModel;
7extern const CLID& CLID_Event;
8
9class IOpaqueAddress;
10class DataObject;
11class StatusCode;
12
13// Abstract factory to create the converter
14template <class TYPE> class CnvFactory;
15
16// Externals
17class McEventCnv: public Converter {
18 friend class CnvFactory<McEventCnv>;
19
20 protected:
21 McEventCnv(ISvcLocator* svcloc);
22
23 public:
24 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
25
26 /// Storage type and class ID
27 static unsigned char storageType();
28 virtual long repSvcType() const;
29
30 static const CLID& classID() {
31 return CLID_Event;
32 }
33
34};
35#endif
36
const CLID & CLID_Event
Definition: EventModel.cxx:214
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Definition: McEventCnv.cxx:18
static unsigned char storageType()
Storage type and class ID.
Definition: McEventCnv.cxx:31
virtual long repSvcType() const
Definition: McEventCnv.cxx:35
static const CLID & classID()
Definition: McEventCnv.h:30