BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/EstTofCaliSvc/include/EstTofCaliSvc/IEstTofCaliSvc.h
Go to the documentation of this file.
1#pragma once
2
3#include "GaudiKernel/IInterface.h"
4#include "GaudiKernel/Kernel.h"
5
6#include "EstBTofCal.h"
7#include "EstBTofCommonCal.h"
8#include "EstETofCal.h"
9#include "EstEtfCal.h"
10#include "EstTofInfoCal.h"
11
12// Declaration of the interface ID
13// static const InterfaceID IID_IEstTofCaliSvc("IEstTofCaliSvc",1,0);
14
15class IEstTofCaliSvc : virtual public IInterface {
16public:
17 // static const InterfaceID& interfaceID() { return IID_IEstTofCaliSvc; }
19 virtual StatusCode chooseConstants( int run, int event ) = 0;
20 virtual EstBTofCal* BTof( unsigned id ) const = 0;
21 virtual EstBTofCommonCal* BTofCommon() const = 0;
22 virtual EstETofCal* ETof( unsigned id ) const = 0;
23 virtual EstEtfCal* EtfTof( unsigned id ) const = 0;
24 virtual EstTofInfoCal* TofInfo() const = 0;
25
26 virtual const double BTCorr1( double ADC, double zHit, unsigned id ) = 0;
27 virtual const double BTCorr2( double ADC, double zHit, unsigned 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,
33 unsigned id, unsigned int strip ) = 0;
34 virtual const double EtfTime1( double ADC, double TDC, double zHit, unsigned id,
35 unsigned int strip ) = 0;
36 virtual const double EtfTime2( double ADC, double TDC, double zHit, unsigned id,
37 unsigned int strip ) = 0;
38 virtual const double EtfTime( double TDC1, double TDC2, unsigned id,
39 unsigned int strip ) = 0;
40 virtual const bool ValidInfo() = 0;
41 virtual void Dump() = 0;
42};
virtual const double BTCorr2(double ADC, double zHit, unsigned id)=0
virtual const double BTime1(double ADC, double TDC, double zHit, unsigned id)=0
virtual EstTofInfoCal * TofInfo() const =0
virtual EstBTofCommonCal * BTofCommon() const =0
virtual const double BTime2(double ADC, double TDC, double zHit, unsigned id)=0
virtual void Dump()=0
virtual const double EtfTime(double ADC1, double ADC2, double TDC1, double TDC2, unsigned id, unsigned int strip)=0
virtual const double EtfTime2(double ADC, double TDC, double zHit, unsigned id, unsigned int strip)=0
virtual EstEtfCal * EtfTof(unsigned id) const =0
DeclareInterfaceID(IEstTofCaliSvc, 1, 0)
virtual EstBTofCal * BTof(unsigned id) const =0
virtual StatusCode chooseConstants(int run, int event)=0
virtual const double TOffset()=0
virtual EstETofCal * ETof(unsigned id) const =0
virtual const double EtfTime1(double ADC, double TDC, double zHit, unsigned id, unsigned int strip)=0
virtual const double ETime(double ADC, double TDC, double rHit, unsigned id)=0
virtual const double EtfTime(double TDC1, double TDC2, unsigned id, unsigned int strip)=0
virtual const double BTCorr1(double ADC, double zHit, unsigned id)=0
virtual const bool ValidInfo()=0