10#include "EstTofCaliSvc/BTofCal.h"
11#include "EstTofCaliSvc/BTofCommonCal.h"
12#include "EstTofCaliSvc/ETofCal.h"
14#include "GaudiKernel/Service.h"
15#include "GaudiKernel/IInterface.h"
16#include "GaudiKernel/Property.h"
17#include "EstTofCaliSvc/IEstTofCaliSvc.h"
18#include "GaudiKernel/IIncidentListener.h"
19#include "GaudiKernel/IDataProviderSvc.h"
28 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvUnknown);
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;
ETofCal * ETof(unsigned id) const
void handle(const Incident &)
BTofCal * BTof(unsigned id) const
virtual StatusCode initialize()
const double BTime2(double ADC, double TDC, double zHit, unsigned id)
const double ETime(double ADC, double TDC, double rHit, unsigned id)
EstTofCaliSvc(const std::string &name, ISvcLocator *svcloc)
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
virtual StatusCode finalize()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)