14#include "GaudiKernel/Service.h"
15#include "GaudiKernel/IInterface.h"
16#include "GaudiKernel/Property.h"
18#include "GaudiKernel/IIncidentListener.h"
19#include "GaudiKernel/IDataProviderSvc.h"
25 EstTofCaliSvc(
const std::string& name, ISvcLocator* svcloc );
28 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvUnknown);
31 void handle(
const Incident&);
38 const double BTCorr1(
double ADC,
double zHit,
unsigned int id);
39 const double BTCorr2(
double ADC,
double zHit,
unsigned int id);
43 const double BTime1(
double ADC,
double TDC,
double zHit,
unsigned id);
44 const double BTime2(
double ADC,
double TDC,
double zHit,
unsigned id);
45 const double ETime(
double ADC,
double TDC,
double rHit,
unsigned id);
49 StatusCode FillfromDatabase();
50 bool m_hasbeeninitialized;
53 IDataProviderSvc* m_pCalibDataSvc;
54 IntegerProperty m_run;
55 std::vector<BTofCal*> fBTofCal;
56 std::vector<ETofCal*> fETofCal;
57 std::vector<BTofCommonCal*> fBTofCommonCal;
virtual StatusCode initialize()
ETofCal * ETof(unsigned id) const
void handle(const Incident &)
virtual StatusCode finalize()
BTofCal * BTof(unsigned id) const
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
const double BTime2(double ADC, double TDC, double zHit, unsigned id)
const double ETime(double ADC, double TDC, double rHit, unsigned id)
const double BTime1(double ADC, double TDC, double zHit, unsigned id)
const double BTCorr1(double ADC, double zHit, unsigned int id)
const double BTCorr2(double ADC, double zHit, unsigned int id)
BTofCommonCal * BTofCommon() const