BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
IRawDataInputSvc.h
Go to the documentation of this file.
1//===============================================================
2// RawDataInputSvc.h
3//===============================================================
4//
5// Description: Interface class for RawData Input
6//
7// The concrete class can be provide Raw event from
8// a file, transient store, or through network.
9//---------------------------------------------------------------
10#ifndef RAWDATACNVSVC_RAWDATAINPUTSVC_H
11#define RAWDATACNVSVC_RAWDATAINPUTSVC_H
12
13
14#include "GaudiKernel/IInterface.h"
15#include <string>
16#include <stdint.h>
17
18class RAWEVENT;
19
20class IRawDataInputSvc : virtual public IInterface
21{
22 public:
23
24 StatusCode initialize() { return StatusCode::SUCCESS; };
25 StatusCode finalize() { return StatusCode::SUCCESS; };
26
27 virtual RAWEVENT * nextEvent() = 0;
28 virtual RAWEVENT * currentEvent() = 0;
29 virtual bool setCurrentEvent(RAWEVENT*) = 0;
30
31 virtual std::string currentFile() const = 0;
32
33 virtual int runMode() = 0;
34
35 virtual uint32_t runNo() = 0;
36
37 protected:
38
39};
40
41#endif
StatusCode finalize()
virtual bool setCurrentEvent(RAWEVENT *)=0
StatusCode initialize()
virtual uint32_t runNo()=0
virtual std::string currentFile() const =0
virtual int runMode()=0
virtual RAWEVENT * nextEvent()=0
virtual RAWEVENT * currentEvent()=0