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"
11#include "RealizationSvc/IRealizationSvc.h"
12#include "RealizationSvc/ConnectionProvider.h"
14class IDataProviderSvc;
17 virtual public IIncidentListener{
24 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvInterface );
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< std::string > getBgFileName(std::string query)
std::vector< double > getRunInfo()
double getTrgGain(int cry_id)
std::vector< int > getRunList()
float getLuminosity(int runNo)
RealizationSvc(const std::string &name, ISvcLocator *svcloc)
void setBunchPosX(double i)
void setBunchPosZ(double i)
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)
virtual StatusCode finalize()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
void setBunchPosY(double i)