49 for (
int i = 0;
i < 6;
i++) {
50 for (
int j = 0;
j < 12;
j++) {
51 inrec_chdis_st1[
i][
j] =
false;
52 inrec_chdis_st2[
i][
j] =
false;
53 inrec_chdis_st3[
i][
j] =
false;
54 inrec_chdis_st4[
i][
j] =
false;
55 inrec_chdis_csc[
i][
j] =
false;
56 etsoc_chdis_st1[
i][
j] =
false;
57 etsoc_chdis_st2[
i][
j] =
false;
58 etsoc_chdis_st3[
i][
j] =
false;
64 if (
check(wh, sc) == -99)
70 if (
check(wh, sc) == -99)
72 return inrec_chdis_st1[
check(wh, sc)][
sc];
76 if (
check(wh, sc) == -99)
82 if (
check(wh, sc) == -99)
84 return inrec_chdis_st2[
check(wh, sc)][
sc];
88 if (
check(wh, sc) == -99)
94 if (
check(wh, sc) == -99)
96 return inrec_chdis_st3[
check(wh, sc)][
sc];
100 if (
check(wh, sc) == -99)
106 if (
check(wh, sc) == -99)
108 return inrec_chdis_st4[
check(wh, sc)][
sc];
112 if (
check(wh, sc) == -99)
118 if (
check(wh, sc) == -99)
120 return inrec_chdis_csc[
check(wh, sc)][
sc];
124 if (
check(wh, sc) == -99)
130 if (
check(wh, sc) == -99)
132 return etsoc_chdis_st1[
check(wh, sc)][
sc];
136 if (
check(wh, sc) == -99)
142 if (
check(wh, sc) == -99)
144 return etsoc_chdis_st2[
check(wh, sc)][
sc];
148 if (
check(wh, sc) == -99)
154 if (
check(wh, sc) == -99)
156 return etsoc_chdis_st3[
check(wh, sc)][
sc];
160 if (sc < 0 || sc > 11 || wh == 0 || wh > 3 || wh < -3)
171 cout <<
"L1 barrel Track Finder Masks :" << endl;
172 cout <<
"==============================" << endl;
176 cout <<
"Disable PHTF St.1 :" << endl;
177 cout <<
"===================" << endl;
179 for (
int i = -3;
i < 4;
i++) {
182 for (
int j = 0;
j < 12;
j++) {
183 cout <<
" " << setw(1) << get_inrec_chdis_st1(
i,
j);
189 cout <<
"Disable PHTF St.2 :" << endl;
190 cout <<
"===================" << endl;
192 for (
int i = -3;
i < 4;
i++) {
195 for (
int j = 0;
j < 12;
j++) {
196 cout <<
" " << setw(1) << get_inrec_chdis_st2(
i,
j);
202 cout <<
"Disable PHTF St.3 :" << endl;
203 cout <<
"===================" << endl;
205 for (
int i = -3;
i < 4;
i++) {
208 for (
int j = 0;
j < 12;
j++) {
209 cout <<
" " << setw(1) << get_inrec_chdis_st3(
i,
j);
215 cout <<
"Disable PHTF St.4 :" << endl;
216 cout <<
"===================" << endl;
218 for (
int i = -3;
i < 4;
i++) {
221 for (
int j = 0;
j < 12;
j++) {
222 cout <<
" " << setw(1) << get_inrec_chdis_st4(
i,
j);
228 cout <<
"Disable CSC :" << endl;
229 cout <<
"=============" << endl;
231 for (
int i = -3;
i < 4;
i++) {
234 for (
int j = 0;
j < 12;
j++) {
235 cout <<
" " << setw(1) << get_inrec_chdis_csc(
i,
j);
241 cout <<
"Disable ETTF St.1 :" << endl;
242 cout <<
"===================" << endl;
244 for (
int i = -3;
i < 4;
i++) {
247 for (
int j = 0;
j < 12;
j++) {
248 cout <<
" " << setw(1) << get_etsoc_chdis_st1(
i,
j);
254 cout <<
"Disable ETTF St.2 :" << endl;
255 cout <<
"===================" << endl;
257 for (
int i = -3;
i < 4;
i++) {
260 for (
int j = 0;
j < 12;
j++) {
261 cout <<
" " << setw(1) << get_etsoc_chdis_st2(
i,
j);
267 cout <<
"Disable ETTF St.3 :" << endl;
268 cout <<
"===================" << endl;
270 for (
int i = -3;
i < 4;
i++) {
273 for (
int j = 0;
j < 12;
j++) {
274 cout <<
" " << setw(1) << get_etsoc_chdis_st3(
i,
j);
void set_etsoc_chdis_st1(int wh, int sc, const bool val)
bool get_etsoc_chdis_st3(int wh, int sc) const
bool get_inrec_chdis_st1(int wh, int sc) const
void set_etsoc_chdis_st2(int wh, int sc, const bool val)
bool get_inrec_chdis_st3(int wh, int sc) const
int check(int wh, int sc) const
bool get_inrec_chdis_st2(int wh, int sc) const
void set_inrec_chdis_st4(int wh, int sc, const bool val)
void reset()
reset parameters to zero
bool get_etsoc_chdis_st2(int wh, int sc) const
bool get_inrec_chdis_st4(int wh, int sc) const
bool get_inrec_chdis_csc(int wh, int sc) const
void set_inrec_chdis_st2(int wh, int sc, const bool val)
void set_inrec_chdis_st3(int wh, int sc, const bool val)
void set_etsoc_chdis_st3(int wh, int sc, const bool val)
bool get_etsoc_chdis_st1(int wh, int sc) const
void set_inrec_chdis_csc(int wh, int sc, const bool val)
void set_inrec_chdis_st1(int wh, int sc, const bool val)