CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EstParameter.cxx
Go to the documentation of this file.
1
#include "
EsTimeAlg/EstParameter.h
"
2
3
EstParameter::EstParameter
()
4
{
5
6
//velocity in scintillator
7
_vscint=17.6;
8
9
//drift velocity of electron
10
_vdrift=4.0e-3;
11
12
13
// optCosmic = 1: employ cosmic correction, 0: don't
14
15
// _optCosmic=0;
16
17
// cosmicScheme to decide incoming and outgoing legs
18
// = 0: 2hits+TDCdiff 1: 2hits+Phi
19
// 2: All hits+Phi
20
// _cosmicScheme=0;
21
22
// SkipMC = 1: Skip timing determination for MC 0: Don't
23
_SkipMC=1;
24
25
//Skip =1 : Skip timing determination for MC 0: Don't
26
_Skip=1;
27
28
// ptCut,drCut,dzCut: fzisan track param cuts
29
_ptCut=0.0;
30
_drCut=5.0;
31
_dzCut=50.0;
32
33
// Cuts on path length and tof z-position on
34
// fzisan tracks extrapolated to TOF counters
35
36
_pathlCut=500.0;
37
_ztofCutmin=-140.0;
38
_ztofCutmax=140.0;
39
40
// TOF time internal offset
41
_timeOfs=0.0;
42
43
// Skip = 1: Skip CDCtime if TOFtime is available 0: Don't
44
_MDC_Skip=1;
45
46
_MDC_Inner=0;
47
// ptCut,drCut,dzCut: fzisan track param cuts
48
_MDC_drCut=10.0;
49
_MDC_dzCut=50.0;
50
//Tof corr. (0:off;1:on)
51
_MDC_Tof=1;
52
53
//Propagation delay corr. (0:off;1:on)
54
_MDC_Prop=1;
55
56
//Time walk corr. (0:off;1:on for data)
57
_MDC_Walk=1;
58
59
//debug (0:off;1:on)
60
_MDC_Debug=1;
61
62
//xt (1:linear x-t; 2:non-linear x-t)
63
_MDC_Xt=1;
64
65
//inner 4 layers(0:not use; 1:use)
66
_MDC_Inner=0;
67
}
68
69
EstParameter::~EstParameter
(){
70
}
71
72
double
EstParameter::vscint
()
const
73
{
74
return
_vscint;
75
}
76
77
double
EstParameter::vdrift
()
const
78
{
79
return
_vdrift;
80
}
81
82
int
EstParameter::SkipMC
()
const
83
{
84
return
_SkipMC;
85
}
86
87
int
EstParameter::Skip
()
const
88
{
89
return
_Skip;
90
}
91
92
double
EstParameter::ptCut
()
const
93
{
94
return
_ptCut;
95
}
96
97
double
EstParameter::drCut
()
const
98
{
99
return
_drCut;
100
}
101
102
double
EstParameter::dzCut
()
const
103
{
104
return
_dzCut;
105
}
106
107
double
EstParameter::pathlCut
()
const
108
{
109
return
_pathlCut;
110
}
111
112
double
EstParameter::ztofCutmin
()
const
113
{
114
return
_ztofCutmin;
115
}
116
117
double
EstParameter::ztofCutmax
()
const
118
{
119
return
_ztofCutmax;
120
}
121
122
double
EstParameter::timeOfs
()
const
123
{
124
return
_timeOfs;
125
}
126
127
double
EstParameter::MDC_Skip
()
const
128
{
129
return
_MDC_Skip;
130
}
131
132
double
EstParameter::MDC_Inner
()
const
133
{
134
return
_MDC_Inner;
135
}
136
137
double
EstParameter::MDC_drCut
()
const
138
{
139
return
_MDC_drCut;
140
}
141
142
double
EstParameter::MDC_dzCut
()
const
143
{
144
return
_MDC_dzCut;
145
}
146
147
double
EstParameter::MDC_Tof
()
const
148
{
149
return
_MDC_Tof;
150
}
151
152
double
EstParameter::MDC_Prop
()
const
153
{
154
return
_MDC_Prop;
155
}
156
157
double
EstParameter::MDC_Walk
()
const
158
{
159
return
_MDC_Walk;
160
}
161
162
int
EstParameter::MDC_Debug
()
const
163
{
164
return
_MDC_Debug;
165
}
166
167
double
EstParameter::MDC_Xt
()
const
168
{
169
return
_MDC_Xt;
170
}
171
172
EstParameter.h
EstParameter::pathlCut
double pathlCut() const
Definition
EstParameter.cxx:107
EstParameter::vscint
double vscint() const
Definition
EstParameter.cxx:72
EstParameter::ztofCutmin
double ztofCutmin() const
Definition
EstParameter.cxx:112
EstParameter::timeOfs
double timeOfs() const
Definition
EstParameter.cxx:122
EstParameter::~EstParameter
~EstParameter()
Definition
EstParameter.cxx:69
EstParameter::EstParameter
EstParameter()
Definition
EstParameter.cxx:3
EstParameter::MDC_Prop
double MDC_Prop() const
Definition
EstParameter.cxx:152
EstParameter::Skip
int Skip() const
Definition
EstParameter.cxx:87
EstParameter::MDC_drCut
double MDC_drCut() const
Definition
EstParameter.cxx:137
EstParameter::SkipMC
int SkipMC() const
Definition
EstParameter.cxx:82
EstParameter::MDC_Walk
double MDC_Walk() const
Definition
EstParameter.cxx:157
EstParameter::ztofCutmax
double ztofCutmax() const
Definition
EstParameter.cxx:117
EstParameter::MDC_Xt
double MDC_Xt() const
Definition
EstParameter.cxx:167
EstParameter::dzCut
double dzCut() const
Definition
EstParameter.cxx:102
EstParameter::MDC_Skip
double MDC_Skip() const
Definition
EstParameter.cxx:127
EstParameter::ptCut
double ptCut() const
Definition
EstParameter.cxx:92
EstParameter::MDC_dzCut
double MDC_dzCut() const
Definition
EstParameter.cxx:142
EstParameter::MDC_Debug
int MDC_Debug() const
Definition
EstParameter.cxx:162
EstParameter::drCut
double drCut() const
Definition
EstParameter.cxx:97
EstParameter::MDC_Tof
double MDC_Tof() const
Definition
EstParameter.cxx:147
EstParameter::vdrift
double vdrift() const
Definition
EstParameter.cxx:77
EstParameter::MDC_Inner
double MDC_Inner() const
Definition
EstParameter.cxx:132
6.6.5.i
Reconstruction
EsTimeAlg
EsTimeAlg-00-02-52
src
EstParameter.cxx
Generated by
1.12.0