BOSS 7.0.9
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/EtfCal.h"
9#include "TofCaliSvc/TofInfoCal.h"
10
11// Declaration of the interface ID
12static const InterfaceID IID_ITofCaliSvc("ITofCaliSvc",1,0);
13
14class BTofCal;
15class ETofCal;
16
17class ITofCaliSvc : virtual public IInterface {
18public:
19 static const InterfaceID& interfaceID() { return IID_ITofCaliSvc; }
20 virtual StatusCode chooseConstants(int run, int event ) = 0;
21 virtual BTofCal* BTof(unsigned id) const= 0;
22 virtual BTofCommonCal* BTofCommon() const= 0;
23 virtual ETofCal* ETof(unsigned id) const= 0;
24 virtual EtfCal* EtfTof(unsigned id) const= 0;
25 virtual TofInfoCal* TofInfo() const= 0;
26 virtual const double BTDelay1(unsigned id) = 0;
27 virtual const double BTDelay2(unsigned id) = 0;
28 virtual const double ETDelay(unsigned id) = 0;
29 virtual const double BTCorr1(double ADC,double zHit,unsigned int id) = 0;
30 virtual const double BTCorr2(double ADC,double zHit,unsigned int id) = 0;
31 virtual const double BTCorrOffset1(double zHit,unsigned int id,double t0) = 0;
32 virtual const double BTCorrOffset2(double zHit,unsigned int id,double t0) = 0;
33 virtual const double TOffset() = 0;
34 virtual const double BTime1(double ADC,double TDC,double zHit,unsigned id,double t0) = 0;
35 virtual const double BTime2(double ADC,double TDC,double zHit,unsigned id,double t0) = 0;
36 // virtual const double BTime(double tleft,double tright,double z,unsigned id)= 0;
37 virtual const double ETime(double ADC,double TDC,double rHit,unsigned id) = 0;
38 virtual const double EtfTime(double ADC1,double ADC2, double TDC1, double TDC2,unsigned int id, unsigned int strip, double t0) = 0;
39 virtual const double EtfTime1(double ADC,double TDC,double zHit,unsigned id,unsigned strip, double t0) = 0;
40 virtual const double EtfTime2(double ADC,double TDC,double zHit,unsigned id,unsigned strip, double t0) = 0;
41 virtual const double EtfTimeMC(double ADC1,double ADC2, double TDC1, double TDC2,unsigned int id, unsigned int strip, double t0) = 0;
42 virtual const double EtfTimeMC1(double ADC,double TDC,double zHit,unsigned id,unsigned strip, double t0) = 0;
43 virtual const double EtfTimeMC2(double ADC,double TDC,double zHit,unsigned id,unsigned strip, double t0) = 0;
44 virtual const double EtfTime(double tleft,double tright) = 0;
45 virtual const double EtfBunchP(int index) = 0;
46 virtual const double BTimeCounter(double tleft,double tright,double z,unsigned id) = 0;
47 virtual const double BTimeCluster(double tlayer1,double tlayer2,double z1,double z2,unsigned id1, unsigned int id2) = 0;
48 virtual const double BSigma1(double zHit, unsigned id) = 0;
49 virtual const double BSigma2(double zHit, unsigned id) = 0;
50 virtual const double BSigmaCounter(double zHit, unsigned id) = 0;
51 virtual const double BSigmaCluster(double zHit1, double zHit2, unsigned id1, unsigned id2) = 0;
52 virtual const double ESigma(double rHit, unsigned id) = 0;
53 virtual const double BPulseHeight1( double ADC, double zHit, double sint, unsigned int id ) = 0;
54 virtual const double BPulseHeight2( double ADC, double zHit, double sint, unsigned int id ) = 0;
55 virtual const double BPulseHeight( double ADC1, double ADC2, double zHit, double sint, unsigned int id ) = 0;
56 virtual const double BPh( double ADC1, double ADC2, double zHit, unsigned int id ) = 0;
57 virtual const double EPulseHeight( double ADC, double rHit, double cost, unsigned int id ) = 0;
58 virtual const double EPh( double ADC, double rHit, unsigned int id ) = 0;
59 virtual const double BVeff(unsigned id) = 0;
60 virtual const double BAtten(unsigned id) = 0;
61 virtual const double BGainForward(unsigned id) = 0;
62 virtual const double BGainBackward(unsigned id) = 0;
63 virtual const double getQ0(unsigned id)=0;
64 virtual const double EVeff(unsigned id) = 0;
65 virtual const double EAtten(unsigned id) = 0;
66 virtual const double EGain(unsigned id) = 0;
67 virtual const double EtfVeff(unsigned int id, unsigned int strip) = 0;
68 virtual const double ZTDC(double tleft, double tright, unsigned id) = 0;
69 virtual const double ZTDC1(double tright, unsigned id, double z) = 0;
70 virtual const double ZTDC2(double tleft, unsigned id, double z) = 0;
71 virtual const double ZADC(double qleft, double qright, unsigned id) = 0;
72 virtual const double ZADC1(double qright, unsigned id, double z) = 0;
73 virtual const double ZADC2(double qleft, unsigned id, double z) = 0;
74 virtual const double EtfZTDC(double tleft, double tright, unsigned int id, unsigned int strip) = 0;
75 virtual const int RunBegin() = 0;
76 virtual const int RunEnd() = 0;
77 virtual const int Version() = 0;
78 virtual const int QCorr() = 0;
79 virtual const int QElec() = 0;
80 virtual const int MisLable() = 0;
81 virtual const int BrEast(unsigned int No) = 0;
82 virtual const int BrWest(unsigned int No) = 0;
83 virtual const int Endcap(unsigned int No) = 0;
84 virtual const int Etf(unsigned int No) = 0;
85 virtual void Dump() = 0;
86};
87
88#endif // ITOFCALISVC_H
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 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 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
static const InterfaceID & interfaceID()
Definition: ITofCaliSvc.h:19
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