BOSS
7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcSim/MdcSim-00-00-73/src/ReadPara.cc
Go to the documentation of this file.
1
#include "ReadPara.hh"
2
#include <iostream>
3
#include <fstream>
4
#include <string>
5
using namespace
std
;
6
7
ReadPara::ReadPara
(){
8
9
ifstream incos1;
10
incos1.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_1cos.txt"
);
11
for
(
int
i=0;i<5;i++) {
12
incos1>>par_cos[0][i];
13
}
14
ifstream incos2;
15
incos2.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_2cos.txt"
);
16
for
(
int
i=0;i<5;i++) {
17
incos2>>par_cos[1][i];
18
}
19
ifstream incos3;
20
incos3.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_3cos.txt"
);
21
for
(
int
i=0;i<5;i++) {
22
incos3>>par_cos[2][i];
23
}
24
ifstream incos4;
25
incos4.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_4cos.txt"
);
26
for
(
int
i=0;i<5;i++) {
27
incos4>>par_cos[3][i];
28
}
29
ifstream incos5;
30
incos5.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_5cos.txt"
);
31
for
(
int
i=0;i<5;i++) {
32
incos5>>par_cos[4][i];
33
}
34
ifstream incos6;
35
incos6.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_6cos.txt"
);
36
for
(
int
i=0;i<5;i++) {
37
incos6>>par_cos[5][i];
38
}
39
ifstream incos7;
40
incos7.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_7cos.txt"
);
41
for
(
int
i=0;i<5;i++) {
42
incos7>>par_cos[6][i];
43
}
44
ifstream incos8;
45
incos8.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_8cos.txt"
);
46
for
(
int
i=0;i<5;i++) {
47
incos8>>par_cos[7][i];
48
}
49
//***************
50
ifstream incoss1;
51
incoss1.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_1cos_s.txt"
);
52
for
(
int
i=0;i<5;i++) {
53
incoss1>>par_coss[0][i];
54
}
55
ifstream incoss2;
56
incoss2.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_2cos_s.txt"
);
57
for
(
int
i=0;i<5;i++) {
58
incoss2>>par_coss[1][i];
59
}
60
ifstream incoss3;
61
incoss3.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_3cos_s.txt"
);
62
for
(
int
i=0;i<5;i++) {
63
incoss3>>par_coss[2][i];
64
}
65
ifstream incoss4;
66
incoss4.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_4cos_s.txt"
);
67
for
(
int
i=0;i<5;i++) {
68
incoss4>>par_coss[3][i];
69
}
70
ifstream incoss5;
71
incoss5.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_5cos_s.txt"
);
72
for
(
int
i=0;i<5;i++) {
73
incoss5>>par_coss[4][i];
74
}
75
ifstream incoss6;
76
incoss6.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_6cos_s.txt"
);
77
for
(
int
i=0;i<5;i++) {
78
incoss6>>par_coss[5][i];
79
}
80
ifstream incoss7;
81
incoss7.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_7cos_s.txt"
);
82
for
(
int
i=0;i<5;i++) {
83
incoss7>>par_coss[6][i];
84
}
85
ifstream incoss8;
86
incoss8.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_8cos_s.txt"
);
87
for
(
int
i=0;i<5;i++) {
88
incoss8>>par_coss[7][i];
89
}
90
//*********
91
ifstream indd1;
92
indd1.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_1.txt"
);
93
for
(
int
i=0;i<6;i++) {
94
indd1>>par_dd[0][i];
95
}
96
ifstream indd2;
97
indd2.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_2.txt"
);
98
for
(
int
i=0;i<6;i++) {
99
indd2>>par_dd[1][i];
100
}
101
ifstream indd3;
102
indd3.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_3.txt"
);
103
for
(
int
i=0;i<6;i++) {
104
indd3>>par_dd[2][i];
105
}
106
ifstream indd4;
107
indd4.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_4.txt"
);
108
for
(
int
i=0;i<6;i++) {
109
indd4>>par_dd[3][i];
110
}
111
ifstream indd5;
112
indd5.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_5.txt"
);
113
for
(
int
i=0;i<6;i++) {
114
indd5>>par_dd[4][i];
115
}
116
ifstream indd6;
117
indd6.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_6.txt"
);
118
for
(
int
i=0;i<6;i++) {
119
indd6>>par_dd[5][i];
120
}
121
ifstream indd7;
122
indd7.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_7.txt"
);
123
for
(
int
i=0;i<6;i++) {
124
indd7>>par_dd[6][i];
125
}
126
ifstream indd8;
127
indd8.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_8.txt"
);
128
for
(
int
i=0;i<6;i++) {
129
indd8>>par_dd[7][i];
130
}
131
//*************
132
ifstream indds1;
133
indds1.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_1_s.txt"
);
134
for
(
int
i=0;i<6;i++) {
135
indds1>>par_dds[0][i];
136
}
137
ifstream indds2;
138
indds2.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_2_s.txt"
);
139
for
(
int
i=0;i<6;i++) {
140
indds2>>par_dds[1][i];
141
}
142
ifstream indds3;
143
indds3.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_3_s.txt"
);
144
for
(
int
i=0;i<6;i++) {
145
indds3>>par_dds[2][i];
146
}
147
ifstream indds4;
148
indds4.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_4_s.txt"
);
149
for
(
int
i=0;i<6;i++) {
150
indds4>>par_dds[3][i];
151
}
152
ifstream indds5;
153
indds5.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_5_s.txt"
);
154
for
(
int
i=0;i<6;i++) {
155
indds5>>par_dds[4][i];
156
}
157
ifstream indds6;
158
indds6.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_6_s.txt"
);
159
for
(
int
i=0;i<6;i++) {
160
indds6>>par_dds[5][i];
161
}
162
ifstream indds7;
163
indds7.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_7_s.txt"
);
164
for
(
int
i=0;i<6;i++) {
165
indds7>>par_dds[6][i];
166
}
167
ifstream indds8;
168
indds8.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_8_s.txt"
);
169
for
(
int
i=0;i<6;i++) {
170
indds8>>par_dds[7][i];
171
}
172
//******************
173
ifstream inz1;
174
inz1.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_1z.txt"
);
175
for
(
int
i=0;i<7;i++) {
176
inz1>>par_z[0][i];
177
}
178
ifstream inz2;
179
inz2.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_2z.txt"
);
180
for
(
int
i=0;i<7;i++) {
181
inz2>>par_z[1][i];
182
}
183
ifstream inz3;
184
inz3.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_3z.txt"
);
185
for
(
int
i=0;i<7;i++) {
186
inz3>>par_z[2][i];
187
}
188
ifstream inz4;
189
inz4.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_4z.txt"
);
190
for
(
int
i=0;i<7;i++) {
191
inz4>>par_z[3][i];
192
}
193
ifstream inz5;
194
inz5.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_5z.txt"
);
195
for
(
int
i=0;i<7;i++) {
196
inz5>>par_z[4][i];
197
}
198
ifstream inz6;
199
inz6.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_6z.txt"
);
200
for
(
int
i=0;i<7;i++) {
201
inz6>>par_z[5][i];
202
}
203
ifstream inz7;
204
inz7.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_7z.txt"
);
205
for
(
int
i=0;i<7;i++) {
206
inz7>>par_z[6][i];
207
}
208
ifstream inz8;
209
inz8.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/data/fit_8z.txt"
);
210
for
(
int
i=0;i<7;i++) {
211
inz8>>par_z[7][i];
212
}
213
//*************
214
ifstream inzs1;
215
inzs1.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_1z_s.txt"
);
216
for
(
int
i=0;i<7;i++) {
217
inzs1>>par_zs[0][i];
218
}
219
ifstream inzs2;
220
inzs2.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_2z_s.txt"
);
221
for
(
int
i=0;i<7;i++) {
222
inzs2>>par_zs[1][i];
223
}
224
ifstream inzs3;
225
inzs3.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_3z_s.txt"
);
226
for
(
int
i=0;i<7;i++) {
227
inzs3>>par_zs[2][i];
228
}
229
ifstream inzs4;
230
inzs4.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_4z_s.txt"
);
231
for
(
int
i=0;i<7;i++) {
232
inzs4>>par_zs[3][i];
233
}
234
ifstream inzs5;
235
inzs5.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_5z_s.txt"
);
236
for
(
int
i=0;i<7;i++) {
237
inzs5>>par_zs[4][i];
238
}
239
ifstream inzs6;
240
inzs6.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_6z_s.txt"
);
241
for
(
int
i=0;i<7;i++) {
242
inzs6>>par_zs[5][i];
243
}
244
ifstream inzs7;
245
inzs7.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_7z_s.txt"
);
246
for
(
int
i=0;i<7;i++) {
247
inzs7>>par_zs[6][i];
248
}
249
ifstream inzs8;
250
inzs8.open(
"/ihepbatch/d07/liuying/6.3.5/Analysis/DedxReal/sim/fit_8z_s.txt"
);
251
for
(
int
i=0;i<7;i++) {
252
inzs8>>par_zs[7][i];
253
}
254
//******************
255
256
//******************
257
//******************
258
}
ReadPara::ReadPara
ReadPara()
Definition:
MdcSim/MdcSim-00-00-73/src/ReadPara.cc:7
std
Definition:
Event/RootEventData/RootEventData-00-03-81/RootEventData/RootEventData_rootcint.cxx:16
source
Simulation
BOOST
MdcSim
MdcSim-00-00-73
src
ReadPara.cc
Generated by
1.9.6