CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
ICgemCalibFunSvc.h
Go to the documentation of this file.
1#ifndef ICGEMCALIBFUNSVC_H_
2#define ICGEMCALIBFUNSVC_H_
3
4#include "GaudiKernel/IInterface.h"
5#include "GaudiKernel/Kernel.h"
6
7/* Declaration of the interface ID */
8static const InterfaceID IID_ICgemCalibFunSvc("ICgemCalibFunSvc",1,0);
9
10class ICgemCalibFunSvc: virtual public IInterface{
11public:
12 static const InterfaceID& interfaceID() { return IID_ICgemCalibFunSvc; }
13
14 /* xvFlag: 0 -> x, 1 -> v; readoutMode: 0 -> charge centroid, 1 -> micro-TPC */
15 virtual double getSigma(int layer, int xvFlag, int readoutMode, double angle, double Q, double T) const = 0;
16
17 /* xvFlag: 0 -> x, 1 -> v; */
18 virtual double getTimeRising(int layer, int xvFlag, int sheet, int stripID, double Q=100., double z=0.) const = 0;
19
20 /* xvFlag: 0 -> x, 1 -> v; */
21 virtual double getTimeFalling(int layer, int xvFlag, int sheet, int stripID, double Q=100., double z=0.) const = 0;
22
23 virtual double getTimeWalk(int layer, int xvFlag, int sheet, int stripID, double Q) const = 0;
24 virtual double getTimeWalk(double Q, double threshold) const = 0;
25};
26
27#endif /* ICGEMCALIBFUNSVC_H_ */
static const InterfaceID & interfaceID()
virtual double getSigma(int layer, int xvFlag, int readoutMode, double angle, double Q, double T) const =0
virtual double getTimeRising(int layer, int xvFlag, int sheet, int stripID, double Q=100., double z=0.) const =0
virtual double getTimeFalling(int layer, int xvFlag, int sheet, int stripID, double Q=100., double z=0.) const =0
virtual double getTimeWalk(int layer, int xvFlag, int sheet, int stripID, double Q) const =0
virtual double getTimeWalk(double Q, double threshold) const =0