BOSS
7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/tofcalgsec/tofcalgsec-00-02-23/tofcalgsec/calib_endcap_veff.h
Go to the documentation of this file.
1
#ifndef CALIB_ENDCAP_VEFF_H
2
#define CALIB_ENDCAP_VEFF_H
3
4
#include "tofcalgsec/TofCalib.h"
5
6
const
int
nEndcapVeff
= 4;
7
8
class
calib_endcap_veff
:
public
TofCalib
{
9
public
:
10
calib_endcap_veff
():
TofCalib
(
nEndcapVeff
) {
11
m_name
= string(
"calib_endcap_veff"
);
12
}
13
14
void
calculate_funcs
(
const
Record
* r ) {
15
double
z = r->
zrhit
();
16
17
funcs
[0] = 1.0;
18
funcs
[1] = z-44.5;
19
funcs
[2] = (z-44.5)*(z-44.5);
20
funcs
[3] = (z-44.5)*(z-44.5)*(z-44.5);
21
22
return
;
23
}
24
25
void
calculate_y
(
const
Record
* r) {
26
y
= r->
tleft
() - r->
texp
();
27
return
;
28
}
29
30
void
updateData
(
RecordSet
*&
data
) {
31
return
;
32
}
33
34
};
35
36
#endif
data
TTree * data
Definition:
DataBase/tau_mode.c:5
RecordSet
std::vector< Record * > RecordSet
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofDataSet.h:98
nEndcapVeff
const int nEndcapVeff
Definition:
Tof/tofcalgsec/tofcalgsec-00-02-23/tofcalgsec/calib_endcap_veff.h:6
Record
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofDataSet.h:39
Record::texp
double texp() const
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofDataSet.h:63
Record::tleft
double tleft() const
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofDataSet.h:59
Record::zrhit
double zrhit() const
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofDataSet.h:61
TofCalib
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofCalib.h:11
TofCalib::funcs
HepVector funcs
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofCalib.h:41
TofCalib::m_name
string m_name
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofCalib.h:36
TofCalib::y
double y
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/TofCalib.h:42
calib_endcap_veff
Definition:
InstallArea/include/tofcalgsec/tofcalgsec/calib_endcap_veff.h:8
calib_endcap_veff::calib_endcap_veff
calib_endcap_veff()
Definition:
Tof/tofcalgsec/tofcalgsec-00-02-23/tofcalgsec/calib_endcap_veff.h:10
calib_endcap_veff::calculate_y
void calculate_y(const Record *r)
Definition:
Tof/tofcalgsec/tofcalgsec-00-02-23/tofcalgsec/calib_endcap_veff.h:25
calib_endcap_veff::calculate_funcs
void calculate_funcs(const Record *r)
Definition:
Tof/tofcalgsec/tofcalgsec-00-02-23/tofcalgsec/calib_endcap_veff.h:14
calib_endcap_veff::updateData
void updateData(RecordSet *&data)
Definition:
Tof/tofcalgsec/tofcalgsec-00-02-23/tofcalgsec/calib_endcap_veff.h:30
source
Tof
tofcalgsec
tofcalgsec-00-02-23
tofcalgsec
calib_endcap_veff.h
Generated by
1.9.6