BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootIO/RootIO-00-01-31/RootIO/IRootIoSvc.h
Go to the documentation of this file.
1/**
2* @file IRootIoSvc.h
3* @brief definition of the interface for IRootIoSvc
4*
5*/
6#ifndef _H_IRootIoSvc
7#define _H_IRootIoSvc
8
9// includes
10#include "GaudiKernel/IInterface.h"
11#include <TChain.h>
12
13// Declaration of the interface ID ( interface id, major version, minor version)
14static const InterfaceID IID_IRootIoSvc("IRootIoSvc", 1 , 0);
15
16/**
17* \class IRootIoSvc
18* \brief The RootIoSvc gaudi service interface
19*
20* \author Heather Kelly [email protected]
21*
22*/
23class IRootIoSvc : virtual public IInterface {
24public:
25
26 virtual int getEvtMax() = 0;
27 virtual void setRootEvtMax(unsigned int max) = 0;
28 virtual void setRootTimeMax(unsigned int max) = 0;
29
30 virtual int index() = 0;
31 virtual bool setIndex(int i) = 0;
32
33 virtual void registerRootTree(TChain *ch) = 0;
34 virtual bool setRunEventPair(std::pair<int,int> ids) = 0;
35 virtual std::pair<int,int> runEventPair() = 0;
36
37 virtual int getAutoSaveInterval() = 0;
38
39 /// Retrieve interface ID
40 static const InterfaceID& interfaceID() { return IID_IRootIoSvc; }
41
42};
43
44#endif // _H_IRootIoSvc
The RootIoSvc gaudi service interface.
virtual void registerRootTree(TChain *ch)=0
static const InterfaceID & interfaceID()
Retrieve interface ID.
virtual int getAutoSaveInterval()=0
virtual void setRootTimeMax(unsigned int max)=0
virtual bool setRunEventPair(std::pair< int, int > ids)=0
virtual int index()=0
virtual bool setIndex(int i)=0
virtual int getEvtMax()=0
virtual std::pair< int, int > runEventPair()=0
virtual void setRootEvtMax(unsigned int max)=0