BOSS 6.6.4.p03
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
17class RAWEVENT;
18
19class IRawDataInputSvc : virtual public IInterface
20{
21 public:
22
23 StatusCode initialize() { return StatusCode::SUCCESS; };
24 StatusCode finalize() { return StatusCode::SUCCESS; };
25
26 virtual RAWEVENT * nextEvent() = 0;
27 virtual RAWEVENT * currentEvent() = 0;
28 virtual bool setCurrentEvent(RAWEVENT*) = 0;
29
30 virtual std::string currentFile() const = 0;
31
32 virtual int runMode() = 0;
33
34 protected:
35
36};
37
38#endif
StatusCode finalize()
virtual bool setCurrentEvent(RAWEVENT *)=0
StatusCode initialize()
virtual std::string currentFile() const =0
virtual int runMode()=0
virtual RAWEVENT * nextEvent()=0
virtual RAWEVENT * currentEvent()=0