CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Control/DataInfoSvc/DataInfoSvc-00-00-03/DataInfoSvc/DataInfoSvc.h
Go to the documentation of this file.
1#ifndef DATAINFOSVC_H_
2#define DATAINFOSVC_H_
3
4#include "GaudiKernel/IInterface.h"
5#include "GaudiKernel/Kernel.h"
6#include "GaudiKernel/Service.h"
7#include "GaudiKernel/IDataProviderSvc.h"
8#include "GaudiKernel/IService.h"
9#include "DataInfoSvc/IDataInfoSvc.h"
10
11#include <string>
12#include <vector>
13using namespace std;
14
15class DataInfoSvc: public Service, virtual public IDataInfoSvc{
16
17 public:
18 DataInfoSvc( const std::string& name, ISvcLocator* svcloc );
20
21 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
22 virtual StatusCode initialize();
23 virtual StatusCode finalize();
24
25 string getDecayOptions() { return m_decayOptions; }
26 std::vector<int> getTotEvtNo() { return m_totEvtNo; }
27
28 void setDecayCard(string card);
29 void setTotEvtNo(std::vector<int> i) { m_totEvtNo = i; }
30
31 private:
32 string m_decayOptions;
33 std::vector<int> m_totEvtNo;//run no, event no
34};
35#endif /* DATAINFOSVC_H_ */
DataInfoSvc(const std::string &name, ISvcLocator *svcloc)
virtual StatusCode finalize()
Definition: DataInfoSvc.cxx:72
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
Definition: DataInfoSvc.cxx:32
void setDecayCard(string card)
Definition: DataInfoSvc.cxx:50
virtual StatusCode initialize()
Definition: DataInfoSvc.cxx:41