BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataMucDigiCnv.h
Go to the documentation of this file.
1//====================================================================
2// RawDataMucDigiCnv.h
3//====================================================================
4//
5// Description:
6// RawDataMucDigiCnv is the concrete converter for
7// the event header on the TDS /Event
8//
9//--------------------------------------------------------------------
10
11#ifndef RAWDATA_MUCDIGI_CNV_H
12#define RAWDATA_MUCDIGI_CNV_H
13
14// Include files.
15#include "GaudiKernel/Converter.h"
20
21// Forward declarations.
22class IOpaqueAddress;
23class DataObject;
24class StatusCode;
26
27// Converter Factory to create instances of this class.
28template <class TYPE> class CnvFactory;
29
31{
32
33 // Declaration of a Converter Factory to create instances of this class.
34 friend class CnvFactory<RawDataMucDigiCnv>;
35protected:
36 // Standard Constructor.
37 RawDataMucDigiCnv(ISvcLocator* svc);
39public:
40 StatusCode initialize();
41
42 // Return the class type of this converter.
43 static const CLID& classID();
44
45 virtual long repSvcType() const {
47 }
48
49 static const unsigned char storageType() {
51 }
52
53 // Create a converted object in the Transient Data Store.
54 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
55
56 /// override the RawDataBaseCnv version
57 virtual StatusCode updateObj(IOpaqueAddress*, DataObject*);
58
59 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
60
61private:
62 IRawDataInputSvc* m_inputSvc;
63 /// Define the interface to raw data cnv
64 PackedRawDataCnvSvc* m_RawDataAccess;
65 /// EmcConverter for packing or unpacking data
66 MucConverter* m_cnv;
67
68};
69
70#endif // RAWDATA_MUCDIGI_CNV_H
unsigned const long PACKEDRAWEVENT_StorageType
Definition: ClassID_temp.h:17
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
virtual long repSvcType() const
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
static const unsigned char storageType()
static const CLID & classID()