BOSS 8.0.0
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 "EventModel/EventModel.h"
4#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
20protected:
21public:
22 McEventCnv( ISvcLocator* svcloc );
23 StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& pObj );
24
25 /// Storage type and class ID
26 static unsigned char storageType();
27 virtual long repSvcType() const;
28
29 static const CLID& classID() { return CLID_Event; }
30};
31#endif
const CLID & CLID_Event
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
static unsigned char storageType()
Storage type and class ID.
virtual long repSvcType() const
McEventCnv(ISvcLocator *svcloc)
static const CLID & classID()
Definition McEventCnv.h:29