3#include "GaudiKernel/IInterface.h"
4#include "GaudiKernel/Kernel.h"
5#include "TofCaliSvc/BTofCal.h"
6#include "TofCaliSvc/BTofCommonCal.h"
7#include "TofCaliSvc/ETofCal.h"
8#include "TofCaliSvc/EtfCal.h"
9#include "TofCaliSvc/TofInfoCal.h"
27 virtual const double BTDelay1(
unsigned id) = 0;
28 virtual const double BTDelay2(
unsigned id) = 0;
29 virtual const double ETDelay(
unsigned id) = 0;
30 virtual const double BTCorr1(
double ADC,
double zHit,
unsigned int id) = 0;
31 virtual const double BTCorr2(
double ADC,
double zHit,
unsigned int id) = 0;
32 virtual const double BTCorrOffset1(
double zHit,
unsigned int id,
double t0) = 0;
33 virtual const double BTCorrOffset2(
double zHit,
unsigned int id,
double t0) = 0;
35 virtual const double BTime1(
double ADC,
double TDC,
double zHit,
unsigned id,
double t0) = 0;
36 virtual const double BTime2(
double ADC,
double TDC,
double zHit,
unsigned id,
double t0) = 0;
38 virtual const double ETime(
double ADC,
double TDC,
double rHit,
unsigned id) = 0;
39 virtual const double EtfTime(
double ADC1,
double ADC2,
double TDC1,
double TDC2,
unsigned int id,
unsigned int strip,
double t0) = 0;
40 virtual const double EtfTime1(
double ADC,
double TDC,
double zHit,
unsigned id,
unsigned strip,
double t0) = 0;
41 virtual const double EtfTime2(
double ADC,
double TDC,
double zHit,
unsigned id,
unsigned strip,
double t0) = 0;
42 virtual const double EtfTimeMC(
double ADC1,
double ADC2,
double TDC1,
double TDC2,
unsigned int id,
unsigned int strip,
double t0) = 0;
43 virtual const double EtfTimeMC1(
double ADC,
double TDC,
double zHit,
unsigned id,
unsigned strip,
double t0) = 0;
44 virtual const double EtfTimeMC2(
double ADC,
double TDC,
double zHit,
unsigned id,
unsigned strip,
double t0) = 0;
45 virtual const double EtfTime(
double tleft,
double tright) = 0;
47 virtual const double BTimeCounter(
double tleft,
double tright,
double z,
unsigned id) = 0;
48 virtual const double BTimeCluster(
double tlayer1,
double tlayer2,
double z1,
double z2,
unsigned id1,
unsigned int id2) = 0;
49 virtual const double BSigma1(
double zHit,
unsigned id) = 0;
50 virtual const double BSigma2(
double zHit,
unsigned id) = 0;
52 virtual const double BSigmaCluster(
double zHit1,
double zHit2,
unsigned id1,
unsigned id2) = 0;
53 virtual const double ESigma(
double rHit,
unsigned id) = 0;
54 virtual const double BPulseHeight1(
double ADC,
double zHit,
double sint,
unsigned int id ) = 0;
55 virtual const double BPulseHeight2(
double ADC,
double zHit,
double sint,
unsigned int id ) = 0;
56 virtual const double BPulseHeight(
double ADC1,
double ADC2,
double zHit,
double sint,
unsigned int id ) = 0;
57 virtual const double BPh(
double ADC1,
double ADC2,
double zHit,
unsigned int id ) = 0;
58 virtual const double EPulseHeight(
double ADC,
double rHit,
double cost,
unsigned int id ) = 0;
59 virtual const double EPh(
double ADC,
double rHit,
unsigned int id ) = 0;
60 virtual const double BVeff(
unsigned id) = 0;
61 virtual const double BAtten(
unsigned id) = 0;
64 virtual const double getQ0(
unsigned id)=0;
65 virtual const double EVeff(
unsigned id) = 0;
66 virtual const double EAtten(
unsigned id) = 0;
67 virtual const double EGain(
unsigned id) = 0;
68 virtual const double EtfVeff(
unsigned int id,
unsigned int strip) = 0;
69 virtual const double ZTDC(
double tleft,
double tright,
unsigned id) = 0;
70 virtual const double ZTDC1(
double tright,
unsigned id,
double z) = 0;
71 virtual const double ZTDC2(
double tleft,
unsigned id,
double z) = 0;
72 virtual const double ZADC(
double qleft,
double qright,
unsigned id) = 0;
73 virtual const double ZADC1(
double qright,
unsigned id,
double z) = 0;
74 virtual const double ZADC2(
double qleft,
unsigned id,
double z) = 0;
75 virtual const double EtfZTDC(
double tleft,
double tright,
unsigned int id,
unsigned int strip) = 0;
82 virtual const int BrEast(
unsigned int No) = 0;
83 virtual const int BrWest(
unsigned int No) = 0;
84 virtual const int Endcap(
unsigned int No) = 0;
85 virtual const int Etf(
unsigned int No) = 0;
virtual BTofCommonCal * BTofCommon() const =0
virtual EtfCal * EtfTof(unsigned id) const =0
virtual const double BSigmaCounter(double zHit, unsigned id)=0
virtual BTofCal * BTof(unsigned id) const =0
virtual const double BSigma2(double zHit, unsigned id)=0
virtual const double BTimeCluster(double tlayer1, double tlayer2, double z1, double z2, unsigned id1, unsigned int id2)=0
virtual const double BPh(double ADC1, double ADC2, double zHit, unsigned int id)=0
virtual const double EPulseHeight(double ADC, double rHit, double cost, unsigned int id)=0
virtual const double EtfTime(double tleft, double tright)=0
virtual const double BTime2(double ADC, double TDC, double zHit, unsigned id, double t0)=0
virtual const int BrWest(unsigned int No)=0
virtual const double BTime1(double ADC, double TDC, double zHit, unsigned id, double t0)=0
virtual const int QElec()=0
virtual const double EGain(unsigned id)=0
virtual const double EtfTime1(double ADC, double TDC, double zHit, unsigned id, unsigned strip, double t0)=0
virtual const double getQ0(unsigned id)=0
virtual const double EtfTime2(double ADC, double TDC, double zHit, unsigned id, unsigned strip, double t0)=0
virtual const int BrEast(unsigned int No)=0
virtual const double BTCorrOffset1(double zHit, unsigned int id, double t0)=0
DeclareInterfaceID(ITofCaliSvc, 1, 0)
virtual const double BTimeCounter(double tleft, double tright, double z, unsigned id)=0
virtual const double ZTDC(double tleft, double tright, unsigned id)=0
virtual const double EtfTimeMC2(double ADC, double TDC, double zHit, unsigned id, unsigned strip, double t0)=0
virtual const int Version()=0
virtual const double BSigmaCluster(double zHit1, double zHit2, unsigned id1, unsigned id2)=0
virtual const int RunEnd()=0
virtual const double BTCorrOffset2(double zHit, unsigned int id, double t0)=0
virtual const double EtfTime(double ADC1, double ADC2, double TDC1, double TDC2, unsigned int id, unsigned int strip, double t0)=0
virtual const double ZTDC2(double tleft, unsigned id, double z)=0
virtual const double TOffset()=0
virtual const double BGainBackward(unsigned id)=0
virtual const double BPulseHeight(double ADC1, double ADC2, double zHit, double sint, unsigned int id)=0
virtual const double BTDelay1(unsigned id)=0
virtual const double BPulseHeight2(double ADC, double zHit, double sint, unsigned int id)=0
virtual const double BSigma1(double zHit, unsigned id)=0
virtual ETofCal * ETof(unsigned id) const =0
virtual const double BTCorr1(double ADC, double zHit, unsigned int id)=0
virtual const double ESigma(double rHit, unsigned id)=0
virtual const double ETDelay(unsigned id)=0
virtual TofInfoCal * TofInfo() const =0
virtual const double BVeff(unsigned id)=0
virtual const double EtfTimeMC(double ADC1, double ADC2, double TDC1, double TDC2, unsigned int id, unsigned int strip, double t0)=0
virtual const double EtfBunchP(int index)=0
virtual const double ZTDC1(double tright, unsigned id, double z)=0
virtual const double EAtten(unsigned id)=0
virtual const double ZADC(double qleft, double qright, unsigned id)=0
virtual const double EtfZTDC(double tleft, double tright, unsigned int id, unsigned int strip)=0
virtual const double BPulseHeight1(double ADC, double zHit, double sint, unsigned int id)=0
virtual const int QCorr()=0
virtual const double BTDelay2(unsigned id)=0
virtual const int MisLable()=0
virtual const double ZADC2(double qleft, unsigned id, double z)=0
virtual const int RunBegin()=0
virtual const double EPh(double ADC, double rHit, unsigned int id)=0
virtual const double EtfTimeMC1(double ADC, double TDC, double zHit, unsigned id, unsigned strip, double t0)=0
virtual const double EVeff(unsigned id)=0
virtual const double BGainForward(unsigned id)=0
virtual const double ZADC1(double qright, unsigned id, double z)=0
virtual const int Etf(unsigned int No)=0
virtual StatusCode chooseConstants(int run, int event)=0
virtual const int Endcap(unsigned int No)=0
virtual const double ETime(double ADC, double TDC, double rHit, unsigned id)=0
virtual const double BTCorr2(double ADC, double zHit, unsigned int id)=0
virtual const double EtfVeff(unsigned int id, unsigned int strip)=0
virtual const double BAtten(unsigned id)=0