BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_barrel_veff.h
Go to the documentation of this file.
1#ifndef CALIB_BARREL_VEFF_H
2#define CALIB_BARREL_VEFF_H
3
5
6const int nBarrelVeff = 2;
7
9 public:
11 m_name = string("calib_barrel_veff");
12 }
13
14 void calculate_funcs( const Record* r ) {
15 double z = r->zrhit();
16
17 funcs[0] = 2.0*z;
18 funcs[1] = 1.0;
19
20 return;
21 }
22
23 void calculate_y(const Record* r) {
24 y = r->tright() - r->tleft();
25 return;
26 }
27
29 return;
30 }
31
32};
33
34#endif
TTree * data
std::vector< Record * > RecordSet
Definition: TofDataSet.h:89
const int nBarrelVeff
double tleft() const
Definition: TofDataSet.h:53
double tright() const
Definition: TofDataSet.h:54
double zrhit() const
Definition: TofDataSet.h:55
HepVector funcs
Definition: TofCalib.h:41
string m_name
Definition: TofCalib.h:36
double y
Definition: TofCalib.h:42
void calculate_funcs(const Record *r)
void updateData(RecordSet *&data)
void calculate_y(const Record *r)