BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
PackedRawDataCnvSvc.h
Go to the documentation of this file.
1// ============================================================
2// PackedRawDataCnvSvc.h
3// ------------------------------------------------------------
4//
5// Package : PackedRawData Conversion Service
6//
7// ============================================================
8#ifndef PACKEDRAWDATACNVSVC_H
9#define PACKEDRAWDATACNVSVC_H
10
13
15
16// Converter Factory to create instances of this class.
17template <class TYPE> class CnvFactory;
18
20 // Declaration of a Converter Factory to create instances of this class.
21 friend class CnvFactory<PackedRawDataCnvSvc>;
22public:
23 /// Standard Constructor
24 PackedRawDataCnvSvc(const std::string& name, ISvcLocator* svc);
25
26 /// Standard Destructor
27 virtual ~PackedRawDataCnvSvc();
28
29 /// Initialize the service.
30 virtual StatusCode initialize();
31
32 /// Update state of the service
33 virtual StatusCode updateServiceState(IOpaqueAddress* pAddress);
34
35 /// Override inherited queryInterface
36 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvInterface);
37
38 // Connect output source
39 virtual StatusCode connectOutput(const std::string& t) ;
40 // avoid warning
41 virtual StatusCode connectOutput(const std::string& t,
42 const std::string& /* mode */) {
43 return connectOutput(t) ;
44 }
45 // Output data
46 virtual StatusCode commitOutput(const std::string& t, bool b) ;
47
48
49 // Get Raw Event
51 return m_rawEvent;
52 }
53
54protected:
55 /// Add converters to the service
56 virtual StatusCode addConverters();
57
58private:
59
60 std::string m_ioSvcName;
61 IRawDataOutputSvc* m_ioSvc;
62 WriteRawEvent* m_rawEvent;
63
64 uint32_t m_status; //fucd
65
66 unsigned int ef_info[4];
67};
68
69#endif
TTree * t
Definition: binning.cxx:23
The event conversion service needs an additional interface used by the converters to declare their ob...
virtual StatusCode commitOutput(const std::string &t, bool b)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Override inherited queryInterface.
virtual StatusCode initialize()
Initialize the service.
virtual StatusCode connectOutput(const std::string &t)
virtual WriteRawEvent *& getRawEvent()
virtual StatusCode addConverters()
Add converters to the service.
virtual StatusCode connectOutput(const std::string &t, const std::string &)
virtual ~PackedRawDataCnvSvc()
Standard Destructor.
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
const double b
Definition: slope.cxx:9