00001 #ifndef IESTTOFCALISVC_H_
00002 #define IESTTOFCALISVC_H_
00003 #include "GaudiKernel/IInterface.h"
00004 #include "GaudiKernel/Kernel.h"
00005 #include "EstTofCaliSvc/BTofCal.h"
00006 #include "EstTofCaliSvc/ETofCal.h"
00007 #include "EstTofCaliSvc/EtfCal.h"
00008 #include "EstTofCaliSvc/BTofCommonCal.h"
00009
00010
00011 static const InterfaceID IID_IEstTofCaliSvc("IEstTofCaliSvc",1,0);
00012
00013 class BTofCal;
00014 class ETofCal;
00015
00016 class IEstTofCaliSvc : virtual public IInterface {
00017 public:
00018 static const InterfaceID& interfaceID() { return IID_IEstTofCaliSvc; }
00019 virtual BTofCal* BTof(unsigned id) const= 0;
00020 virtual BTofCommonCal* BTofCommon() const= 0;
00021 virtual ETofCal* ETof(unsigned id) const= 0;
00022 virtual EtfCal* EtfTof(unsigned id) const= 0;
00023 virtual const double BTCorr1(double ADC,double zHit,unsigned int id) = 0;
00024 virtual const double BTCorr2(double ADC,double zHit,unsigned int id) = 0;
00025 virtual const double TOffset() = 0;
00026 virtual const double BTime1(double ADC,double TDC,double zHit,unsigned id) = 0;
00027 virtual const double BTime2(double ADC,double TDC,double zHit,unsigned id) = 0;
00028 virtual const double ETime(double ADC,double TDC,double rHit,unsigned id) = 0;
00029 virtual const double EtfTime(double ADC1,double ADC2, double TDC1, double TDC2,unsigned int id, unsigned int strip) = 0;
00030 virtual const double EtfTime1(double ADC,double TDC,double zHit,unsigned id,unsigned strip) = 0;
00031 virtual const double EtfTime2(double ADC,double TDC,double zHit,unsigned id,unsigned strip) = 0;
00032 virtual const double EtfTime(double TDC1, double TDC2,unsigned int id, unsigned int strip) = 0;
00033 virtual const bool ValidInfo()=0;
00034 virtual void Dump() = 0;
00035 };
00036
00037 #endif // ITOFCALISVC_H