BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EstTofCaliSvc/EstTofCaliSvc/IEstTofCaliSvc.h
Go to the documentation of this file.
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"
10
11// Declaration of the interface ID
12static const InterfaceID IID_IEstTofCaliSvc("IEstTofCaliSvc",1,0);
13
14class BTofCal;
15class ETofCal;
16
17class IEstTofCaliSvc : virtual public IInterface {
18public:
19 static const InterfaceID& interfaceID() { return IID_IEstTofCaliSvc; }
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 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 TOffset() = 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;
36 virtual const bool ValidInfo()=0;
37 virtual void Dump() = 0;
38};
39
40#endif // ITOFCALISVC_H
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 void Dump()=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
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