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"
14class TofSimSvc :
public extends<Service, ITofSimSvc>,
virtual public IIncidentListener
18 TofSimSvc(
const std::string& name, ISvcLocator* svcloc );
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()
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)