1#ifndef REALIZATIONSVC_H
2#define REALIZATIONSVC_H
4#include "GaudiKernel/IInterface.h"
5#include "GaudiKernel/IIncidentListener.h"
6#include "GaudiKernel/Kernel.h"
7#include "GaudiKernel/Service.h"
8#include "GaudiKernel/SmartDataPtr.h"
9#include "GaudiKernel/DataSvc.h"
14class IDataProviderSvc;
17 virtual public IIncidentListener{
24 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvInterface );
27 void handle(
const Incident&);
54 inline double getTrgGain(
int cry_id) {
return m_trgGain[cry_id]; }
114 std::string m_bossRelease;
115 std::string m_SftVer;
116 std::string m_ParVer;
133 std::vector<int> m_runNoList;
134 std::vector<int> m_runIdList;
140 float m_runTotalTime;
145 bool m_ifReadRandTrg;
147 bool m_ifReadRunInfo;
149 std::vector<uint32_t> m_trgTable;
150 IDataProviderSvc* m_eventSvc;
153 std::vector<std::string> m_bgfilename;
155 std::vector<std::string> m_tfee;
158 std::vector<double> m_runInfo;
160 double m_trgGain[6240];
std::vector< double > getRunInfo()
double getTrgGain(int cry_id)
std::vector< int > getRunList()
RealizationSvc(const std::string &name, ISvcLocator *svcloc)
void setBunchPosX(double i)
void setBunchPosZ(double i)
virtual StatusCode finalize()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
std::vector< uint32_t > getTrgTable()
void setBunchSizeZ(double i)
void setLuminosity(float i)
void setBgFileName(std::vector< std::string > i)
virtual StatusCode initialize()
std::vector< std::string > getBgFileName()
void handle(const Incident &)
void setTrgTable(std::vector< uint32_t > i)
std::vector< std::string > getTofThreshold()
void setBunchSizeX(double i)
void setBunchSizeY(double i)
void setBunchPosY(double i)