1#ifndef IESTTOFCALISVC_H_
2#define IESTTOFCALISVC_H_
3#include "GaudiKernel/IInterface.h"
4#include "GaudiKernel/Kernel.h"
5#include "EstTofCaliSvc/BTofCal.h"
6#include "EstTofCaliSvc/ETofCal.h"
7#include "EstTofCaliSvc/EtfCal.h"
8#include "EstTofCaliSvc/BTofCommonCal.h"
9#include "EstTofCaliSvc/TofInfoCal.h"
12static const InterfaceID IID_IEstTofCaliSvc(
"IEstTofCaliSvc",1,0);
19 static const InterfaceID&
interfaceID() {
return IID_IEstTofCaliSvc; }
26 virtual const double BTCorr1(
double ADC,
double zHit,
unsigned int id) = 0;
27 virtual const double BTCorr2(
double ADC,
double zHit,
unsigned int id) = 0;
29 virtual const double BTime1(
double ADC,
double TDC,
double zHit,
unsigned id) = 0;
30 virtual const double BTime2(
double ADC,
double TDC,
double zHit,
unsigned id) = 0;
31 virtual const double ETime(
double ADC,
double TDC,
double rHit,
unsigned id) = 0;
32 virtual const double EtfTime(
double ADC1,
double ADC2,
double TDC1,
double TDC2,
unsigned int id,
unsigned int strip) = 0;
33 virtual const double EtfTime1(
double ADC,
double TDC,
double zHit,
unsigned id,
unsigned strip) = 0;
34 virtual const double EtfTime2(
double ADC,
double TDC,
double zHit,
unsigned id,
unsigned strip) = 0;
35 virtual const double EtfTime(
double TDC1,
double TDC2,
unsigned int id,
unsigned int strip) = 0;
virtual TofInfoCal * TofInfo() const =0
virtual const double BTime1(double ADC, double TDC, double zHit, unsigned id)=0
virtual const double BTime2(double ADC, double TDC, double zHit, unsigned id)=0
virtual BTofCal * BTof(unsigned id) const =0
virtual const double EtfTime2(double ADC, double TDC, double zHit, unsigned id, unsigned strip)=0
virtual EtfCal * EtfTof(unsigned id) const =0
virtual const double BTCorr2(double ADC, double zHit, unsigned int id)=0
virtual BTofCommonCal * BTofCommon() const =0
virtual const double EtfTime1(double ADC, double TDC, double zHit, unsigned id, unsigned strip)=0
virtual StatusCode chooseConstants(int run, int event)=0
virtual const double TOffset()=0
virtual ETofCal * ETof(unsigned id) const =0
static const InterfaceID & interfaceID()
virtual const double ETime(double ADC, double TDC, double rHit, unsigned id)=0
virtual const double BTCorr1(double ADC, double zHit, unsigned int id)=0
virtual const double EtfTime(double ADC1, double ADC2, double TDC1, double TDC2, unsigned int id, unsigned int strip)=0
virtual const double EtfTime(double TDC1, double TDC2, unsigned int id, unsigned int strip)=0
virtual const bool ValidInfo()=0