BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofCaliSvc/include/TofCaliSvc/EtfCal.h
Go to the documentation of this file.
1#ifndef ETF_CAL_H
2#define ETF_CAL_H
3
4const unsigned int nEtfSpeed = 4;
5const unsigned int nEtfPar = 20;
6
7class EtfCal {
8public:
9 EtfCal() {}
11
12public:
13 double getVeff( int idx ) const { return m_veff[idx]; }
14 double getP( int idx ) const { return m_p[idx]; }
15 double getP1( int idx ) const { return m_p1[idx]; }
16 double getP2( int idx ) const { return m_p2[idx]; }
17
18public:
19 void setVeff( int idx, double veff ) { m_veff[idx] = veff; }
20 void setP( int idx, double p ) { m_p[idx] = p; }
21 void setP1( int idx, double p1 ) { m_p1[idx] = p1; }
22 void setP2( int idx, double p2 ) { m_p2[idx] = p2; }
23
24private:
25 double m_veff[nEtfSpeed]; // effective velocity of light in Tof (cm/ns)
26 double m_p[nEtfPar]; // combined time calibration constant
27 double m_p1[nEtfPar]; // left time calibration constant
28 double m_p2[nEtfPar]; // right time calibration constant
29};
30#endif
double p2[4]
double p1[4]
NTuple::Item< double > m_p
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_p2
Definition KarLud.h:20
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_p1
Definition KarLud.h:20
const unsigned int nEtfPar
const unsigned int nEtfSpeed
void setP1(int idx, double p1)
void setVeff(int idx, double veff)
void setP(int idx, double p)
double getVeff(int idx) const
void setP2(int idx, double p2)