49 for (
int i = 0;
i < 6;
i++) {
50 for (
int j = 0;
j < 12;
j++) {
51 inrec_qual_st1[
i][
j] = 0;
52 inrec_qual_st2[
i][
j] = 0;
53 inrec_qual_st3[
i][
j] = 0;
54 inrec_qual_st4[
i][
j] = 0;
55 soc_stdis_n[
i][
j] = 0;
56 soc_stdis_wl[
i][
j] = 0;
57 soc_stdis_wr[
i][
j] = 0;
58 soc_stdis_zl[
i][
j] = 0;
59 soc_stdis_zr[
i][
j] = 0;
60 soc_qcut_st1[
i][
j] = 0;
61 soc_qcut_st2[
i][
j] = 0;
62 soc_qcut_st4[
i][
j] = 0;
63 soc_qual_csc[
i][
j] = 0;
64 soc_run_21[
i][
j] =
false;
65 soc_nbx_del[
i][
j] =
false;
66 soc_csc_etacanc[
i][
j] =
false;
67 soc_openlut_extr[
i][
j] =
false;
73 if (
check(wh, sc) == -99)
75 inrec_qual_st1[
check(wh, sc)][sc] =
val & 0x7;
79 if (
check(wh, sc) == -99)
81 return (inrec_qual_st1[
check(wh, sc)][sc]) & 0x7;
85 if (
check(wh, sc) == -99)
87 inrec_qual_st2[
check(wh, sc)][sc] =
val & 0x7;
91 if (
check(wh, sc) == -99)
93 return (inrec_qual_st2[
check(wh, sc)][sc]) & 0x7;
97 if (
check(wh, sc) == -99)
99 inrec_qual_st3[
check(wh, sc)][sc] =
val & 0x7;
103 if (
check(wh, sc) == -99)
105 return (inrec_qual_st3[
check(wh, sc)][sc]) & 0x7;
109 if (
check(wh, sc) == -99)
111 inrec_qual_st4[
check(wh, sc)][sc] =
val & 0x7;
115 if (
check(wh, sc) == -99)
117 return (inrec_qual_st4[
check(wh, sc)][sc]) & 0x7;
121 if (
check(wh, sc) == -99)
123 soc_stdis_n[
check(wh, sc)][sc] =
val & 0x7;
127 if (
check(wh, sc) == -99)
129 return (soc_stdis_n[
check(wh, sc)][sc]) & 0x7;
133 if (
check(wh, sc) == -99)
135 soc_stdis_wl[
check(wh, sc)][sc] =
val & 0x7;
139 if (
check(wh, sc) == -99)
141 return (soc_stdis_wl[
check(wh, sc)][sc]) & 0x7;
145 if (
check(wh, sc) == -99)
147 soc_stdis_wr[
check(wh, sc)][sc] =
val & 0x7;
151 if (
check(wh, sc) == -99)
153 return (soc_stdis_wr[
check(wh, sc)][sc]) & 0x7;
157 if (
check(wh, sc) == -99)
159 soc_stdis_zl[
check(wh, sc)][sc] =
val & 0x7;
163 if (
check(wh, sc) == -99)
165 return (soc_stdis_zl[
check(wh, sc)][sc]) & 0x7;
169 if (
check(wh, sc) == -99)
171 soc_stdis_zr[
check(wh, sc)][sc] =
val & 0x7;
175 if (
check(wh, sc) == -99)
177 return (soc_stdis_zr[
check(wh, sc)][sc]) & 0x7;
181 if (
check(wh, sc) == -99)
183 soc_qcut_st1[
check(wh, sc)][sc] =
val & 0x7;
187 if (
check(wh, sc) == -99)
189 return (soc_qcut_st1[
check(wh, sc)][sc]) & 0x7;
193 if (
check(wh, sc) == -99)
195 soc_qcut_st2[
check(wh, sc)][sc] =
val & 0x7;
199 if (
check(wh, sc) == -99)
201 return (soc_qcut_st2[
check(wh, sc)][sc]) & 0x7;
205 if (
check(wh, sc) == -99)
207 soc_qcut_st4[
check(wh, sc)][sc] =
val & 0x7;
211 if (
check(wh, sc) == -99)
213 return (soc_qcut_st4[
check(wh, sc)][sc]) & 0x7;
217 if (
check(wh, sc) == -99)
219 soc_qual_csc[
check(wh, sc)][sc] =
val & 0x7;
223 if (
check(wh, sc) == -99)
225 return (soc_qual_csc[
check(wh, sc)][sc]) & 0x7;
229 if (
check(wh, sc) == -99)
231 soc_run_21[
check(wh, sc)][sc] =
val;
235 if (
check(wh, sc) == -99)
237 return soc_run_21[
check(wh, sc)][sc];
241 if (
check(wh, sc) == -99)
243 soc_nbx_del[
check(wh, sc)][sc] =
val;
247 if (
check(wh, sc) == -99)
249 return soc_nbx_del[
check(wh, sc)][sc];
253 if (
check(wh, sc) == -99)
255 soc_csc_etacanc[
check(wh, sc)][sc] =
val;
259 if (
check(wh, sc) == -99)
261 return soc_csc_etacanc[
check(wh, sc)][sc];
265 if (
check(wh, sc) == -99)
267 soc_openlut_extr[
check(wh, sc)][sc] =
val;
271 if (
check(wh, sc) == -99)
273 return soc_openlut_extr[
check(wh, sc)][sc];
277 if (sc < 0 || sc > 11 || wh == 0 || wh > 3 || wh < -3)
288 cout <<
"L1 barrel Track Finder Parameters :" << endl;
289 cout <<
"===================================" << endl;
293 cout <<
"Quality Cut St.1 :" << endl;
294 cout <<
"==================" << endl;
296 for (
int i = -3;
i < 4;
i++) {
299 for (
int j = 0;
j < 12;
j++) {
300 cout <<
" " << setw(1) << get_inrec_qual_st1(
i,
j);
306 cout <<
"Quality Cut St.2 :" << endl;
307 cout <<
"==================" << endl;
309 for (
int i = -3;
i < 4;
i++) {
312 for (
int j = 0;
j < 12;
j++) {
313 cout <<
" " << setw(1) << get_inrec_qual_st2(
i,
j);
319 cout <<
"Quality Cut St.3 :" << endl;
320 cout <<
"==================" << endl;
322 for (
int i = -3;
i < 4;
i++) {
325 for (
int j = 0;
j < 12;
j++) {
326 cout <<
" " << setw(1) << get_inrec_qual_st3(
i,
j);
332 cout <<
"Quality Cut St.4 :" << endl;
333 cout <<
"==================" << endl;
335 for (
int i = -3;
i < 4;
i++) {
338 for (
int j = 0;
j < 12;
j++) {
339 cout <<
" " << setw(1) << get_inrec_qual_st4(
i,
j);
345 cout <<
"Quality Cut Next Wheel :" << endl;
346 cout <<
"========================" << endl;
348 for (
int i = -3;
i < 4;
i++) {
351 for (
int j = 0;
j < 12;
j++) {
352 cout <<
" " << setw(1) << get_soc_stdis_n(
i,
j);
358 cout <<
"Quality Cut WL :" << endl;
359 cout <<
"================" << endl;
361 for (
int i = -3;
i < 4;
i++) {
364 for (
int j = 0;
j < 12;
j++) {
365 cout <<
" " << setw(1) << get_soc_stdis_wl(
i,
j);
371 cout <<
"Quality Cut WR :" << endl;
372 cout <<
"================" << endl;
374 for (
int i = -3;
i < 4;
i++) {
377 for (
int j = 0;
j < 12;
j++) {
378 cout <<
" " << setw(1) << get_soc_stdis_wr(
i,
j);
384 cout <<
"Quality Cut ZL :" << endl;
385 cout <<
"================" << endl;
387 for (
int i = -3;
i < 4;
i++) {
390 for (
int j = 0;
j < 12;
j++) {
391 cout <<
" " << setw(1) << get_soc_stdis_zl(
i,
j);
397 cout <<
" Quality Cut ZR :" << endl;
398 cout <<
"=================" << endl;
400 for (
int i = -3;
i < 4;
i++) {
403 for (
int j = 0;
j < 12;
j++) {
404 cout <<
" " << setw(1) << get_soc_stdis_zr(
i,
j);
410 cout <<
"Quality Cut SOC St.1 :" << endl;
411 cout <<
"======================" << endl;
413 for (
int i = -3;
i < 4;
i++) {
416 for (
int j = 0;
j < 12;
j++) {
417 cout <<
" " << setw(1) << get_soc_qcut_st1(
i,
j);
423 cout <<
"Quality Cut SOC St.2 :" << endl;
424 cout <<
"======================" << endl;
426 for (
int i = -3;
i < 4;
i++) {
429 for (
int j = 0;
j < 12;
j++) {
430 cout <<
" " << setw(1) << get_soc_qcut_st2(
i,
j);
436 cout <<
"Quality Cut SOC St.4 :" << endl;
437 cout <<
"======================" << endl;
439 for (
int i = -3;
i < 4;
i++) {
442 for (
int j = 0;
j < 12;
j++) {
443 cout <<
" " << setw(1) << get_soc_qcut_st4(
i,
j);
449 cout <<
"CSC Quality Cut :" << endl;
450 cout <<
"=================" << endl;
452 for (
int i = -3;
i < 4;
i++) {
455 for (
int j = 0;
j < 12;
j++) {
456 cout <<
" " << setw(1) << get_soc_qual_csc(
i,
j);
462 cout <<
"Extrapolation 21 :" << endl;
463 cout <<
"==================" << endl;
465 for (
int i = -3;
i < 4;
i++) {
468 for (
int j = 0;
j < 12;
j++) {
469 cout <<
" " << setw(1) << get_soc_run_21(
i,
j);
475 cout <<
"Herbert Scheme :" << endl;
476 cout <<
"================" << endl;
478 for (
int i = -3;
i < 4;
i++) {
481 for (
int j = 0;
j < 12;
j++) {
482 cout <<
" " << setw(1) << get_soc_nbx_del(
i,
j);
488 cout <<
"CSC Eta Cancellation :" << endl;
489 cout <<
"======================" << endl;
491 for (
int i = -3;
i < 4;
i++) {
494 for (
int j = 0;
j < 12;
j++) {
495 cout <<
" " << setw(1) << get_soc_csc_etacanc(
i,
j);
501 cout <<
"Open LUTs :" << endl;
502 cout <<
"===========" << endl;
504 for (
int i = -3;
i < 4;
i++) {
507 for (
int j = 0;
j < 12;
j++) {
508 cout <<
" " << setw(1) << get_soc_openlut_extr(
i,
j);
void set_inrec_qual_st2(int wh, int sc, const unsigned short int val)
void set_soc_run_21(int wh, int sc, const bool val)
void set_inrec_qual_st1(int wh, int sc, const unsigned short int val)
void set_soc_qcut_st2(int wh, int sc, const unsigned short int val)
unsigned short int get_inrec_qual_st2(int wh, int sc) const
void set_soc_qcut_st1(int wh, int sc, const unsigned short int val)
void set_soc_openlut_extr(int wh, int sc, const bool val)
unsigned short int get_soc_stdis_zl(int wh, int sc) const
unsigned short int get_soc_qcut_st2(int wh, int sc) const
unsigned short int get_soc_qcut_st1(int wh, int sc) const
unsigned short int get_soc_qcut_st4(int wh, int sc) const
void set_inrec_qual_st4(int wh, int sc, const unsigned short int val)
void set_soc_stdis_zl(int wh, int sc, const unsigned short int val)
unsigned short int get_soc_stdis_wl(int wh, int sc) const
void set_soc_csc_etacanc(int wh, int sc, const bool val)
void set_soc_nbx_del(int wh, int sc, const bool val)
unsigned short int get_soc_stdis_wr(int wh, int sc) const
unsigned short int get_soc_stdis_n(int wh, int sc) const
bool get_soc_csc_etacanc(int wh, int sc) const
bool get_soc_nbx_del(int wh, int sc) const
unsigned short int get_soc_stdis_zr(int wh, int sc) const
void set_soc_stdis_wr(int wh, int sc, const unsigned short int val)
void reset()
reset parameters to zero
void set_inrec_qual_st3(int wh, int sc, const unsigned short int val)
bool get_soc_run_21(int wh, int sc) const
unsigned short int get_inrec_qual_st3(int wh, int sc) const
int check(int wh, int sc) const
void set_soc_stdis_n(int wh, int sc, const unsigned short int val)
void set_soc_qcut_st4(int wh, int sc, const unsigned short int val)
unsigned short int get_inrec_qual_st1(int wh, int sc) const
unsigned short int get_inrec_qual_st4(int wh, int sc) const
unsigned short int get_soc_qual_csc(int wh, int sc) const
bool get_soc_openlut_extr(int wh, int sc) const
void set_soc_stdis_wl(int wh, int sc, const unsigned short int val)
void set_soc_qual_csc(int wh, int sc, const unsigned short int val)
void set_soc_stdis_zr(int wh, int sc, const unsigned short int val)