4#include "GaudiKernel/Service.h"
5#include "GaudiKernel/IInterface.h"
6#include "GaudiKernel/Property.h"
7#include "GaudiKernel/IIncidentListener.h"
8#include "GaudiKernel/IDataProviderSvc.h"
9#include "TofSimSvc/ITofSimSvc.h"
10#include "TofSimSvc/TofConst.h"
11#include "TofSimSvc/BTofSim.h"
12#include "TofSimSvc/ETofSim.h"
18 TofSimSvc(
const std::string& name, ISvcLocator* svcloc );
21 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvUnknown);
24 void handle(
const Incident&);
36 const double BarGain1(
unsigned int id);
37 const double BarGain2(
unsigned int id);
38 const double EndGain(
unsigned int id);
46 StatusCode FillfromDatabase();
47 bool m_hasbeeninitialized;
50 IDataProviderSvc* m_pSimDataSvc;
51 IntegerProperty m_run;
53 std::vector<TofConst*> fTofConst;
54 std::vector<BTofSim*> fBTofSim;
55 std::vector<ETofSim*> fETofSim;
const double EndNoiseSwitch()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
const double BarLowThres()
const double BarGain1(unsigned int id)
const double BarConstant()
virtual StatusCode initialize()
const double EndAttenLength(unsigned int id)
const double BarPMTGain()
const double EndGain(unsigned int id)
const double EndNoiseSmear(unsigned int id)
void handle(const Incident &)
const double EndConstant()
const double BarAttenLength(unsigned int id)
const double EndPMTGain()
const double EndHighThres()
virtual StatusCode finalize()
const double EndLowThres()
const double BarHighThres()
const double BarGain2(unsigned int id)