CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
ITofCaliSvc.h
Go to the documentation of this file.
1#ifndef ITOFCALISVC_H_
2#define ITOFCALISVC_H_
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/TofInfoCal.h"
9
10// Declaration of the interface ID
11static const InterfaceID IID_ITofCaliSvc("ITofCaliSvc",1,0);
12
13class BTofCal;
14class ETofCal;
15
16class ITofCaliSvc : virtual public IInterface {
17public:
18 static const InterfaceID& interfaceID() { return IID_ITofCaliSvc; }
19 virtual BTofCal* BTof(unsigned id) const= 0;
20 virtual BTofCommonCal* BTofCommon() const= 0;
21 virtual ETofCal* ETof(unsigned id) const= 0;
22 virtual TofInfoCal* TofInfo() const= 0;
23 virtual const double BTDelay1(unsigned id) = 0;
24 virtual const double BTDelay2(unsigned id) = 0;
25 virtual const double ETDelay(unsigned id) = 0;
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;
28 virtual const double BTCorrOffset1(double zHit,unsigned int id,double t0) = 0;
29 virtual const double BTCorrOffset2(double zHit,unsigned int id,double t0) = 0;
30 virtual const double TOffset() = 0;
31 virtual const double BTime1(double ADC,double TDC,double zHit,unsigned id,double t0) = 0;
32 virtual const double BTime2(double ADC,double TDC,double zHit,unsigned id,double t0) = 0;
33 // virtual const double BTime(double tleft,double tright,double z,unsigned id)= 0;
34 virtual const double ETime(double ADC,double TDC,double rHit,unsigned id) = 0;
35 virtual const double BTimeCounter(double tleft,double tright,double z,unsigned id) = 0;
36 virtual const double BTimeCluster(double tlayer1,double tlayer2,double z1,double z2,unsigned id1, unsigned int id2) = 0;
37 virtual const double BSigma1(double zHit, unsigned id) = 0;
38 virtual const double BSigma2(double zHit, unsigned id) = 0;
39 virtual const double BSigmaCounter(double zHit, unsigned id) = 0;
40 virtual const double BSigmaCluster(double zHit1, double zHit2, unsigned id1, unsigned id2) = 0;
41 virtual const double ESigma(double rHit, unsigned id) = 0;
42 virtual const double BPulseHeight1( double ADC, double zHit, double sint, unsigned int id ) = 0;
43 virtual const double BPulseHeight2( double ADC, double zHit, double sint, unsigned int id ) = 0;
44 virtual const double BPulseHeight( double ADC1, double ADC2, double zHit, double sint, unsigned int id ) = 0;
45 virtual const double BPh( double ADC1, double ADC2, double zHit, unsigned int id ) = 0;
46 virtual const double EPulseHeight( double ADC, double rHit, double cost, unsigned int id ) = 0;
47 virtual const double EPh( double ADC, double rHit, unsigned int id ) = 0;
48 virtual const double BVeff(unsigned id) = 0;
49 virtual const double BAtten(unsigned id) = 0;
50 virtual const double BGainForward(unsigned id) = 0;
51 virtual const double BGainBackward(unsigned id) = 0;
52 virtual const double getQ0(unsigned id)=0;
53 virtual const double EVeff(unsigned id) = 0;
54 virtual const double EAtten(unsigned id) = 0;
55 virtual const double EGain(unsigned id) = 0;
56 virtual const double ZTDC(double tleft, double tright, unsigned id) = 0;
57 virtual const double ZTDC1(double tright, unsigned id, double z) = 0;
58 virtual const double ZTDC2(double tleft, unsigned id, double z) = 0;
59 virtual const double ZADC(double qleft, double qright, unsigned id) = 0;
60 virtual const double ZADC1(double qright, unsigned id, double z) = 0;
61 virtual const double ZADC2(double qleft, unsigned id, double z) = 0;
62 virtual const int RunBegin() = 0;
63 virtual const int RunEnd() = 0;
64 virtual const int Version() = 0;
65 virtual const int QCorr() = 0;
66 virtual const int QElec() = 0;
67 virtual const int MisLable() = 0;
68 virtual const int BrEast(unsigned int No) = 0;
69 virtual const int BrWest(unsigned int No) = 0;
70 virtual const int Endcap(unsigned int No) = 0;
71 virtual void Dump() = 0;
72};
73
74#endif // ITOFCALISVC_H
virtual BTofCommonCal * BTofCommon() 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 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 getQ0(unsigned id)=0
virtual const int BrEast(unsigned int No)=0
virtual void Dump()=0
virtual const double BTCorrOffset1(double zHit, unsigned int id, double t0)=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 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 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
static const InterfaceID & interfaceID()
Definition: ITofCaliSvc.h:18
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 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 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 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 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 BAtten(unsigned id)=0