50 for(
int i=0;
i<6;
i++ ) {
51 for(
int j=0; j<12; j++ ) {
53 inrec_chdis_st1[
i][j] =
false;
54 inrec_chdis_st2[
i][j] =
false;
55 inrec_chdis_st3[
i][j] =
false;
56 inrec_chdis_st4[
i][j] =
false;
57 inrec_chdis_csc[
i][j] =
false;
58 etsoc_chdis_st1[
i][j] =
false;
59 etsoc_chdis_st2[
i][j] =
false;
60 etsoc_chdis_st3[
i][j] =
false;
67 if (
check(wh,sc) == -99 )
return;
73 if (
check(wh,sc) == -99 )
return false;
74 return inrec_chdis_st1[
check(wh,sc)][
sc];
79 if (
check(wh,sc) == -99 )
return;
85 if (
check(wh,sc) == -99 )
return false;
86 return inrec_chdis_st2[
check(wh,sc)][
sc];
91 if (
check(wh,sc) == -99 )
return;
97 if (
check(wh,sc) == -99 )
return false;
98 return inrec_chdis_st3[
check(wh,sc)][
sc];
103 if (
check(wh,sc) == -99 )
return;
109 if (
check(wh,sc) == -99 )
return false;
110 return inrec_chdis_st4[
check(wh,sc)][
sc];
115 if (
check(wh,sc) == -99 )
return;
121 if (
check(wh,sc) == -99 )
return false;
122 return inrec_chdis_csc[
check(wh,sc)][
sc];
127 if (
check(wh,sc) == -99 )
return;
133 if (
check(wh,sc) == -99 )
return false;
134 return etsoc_chdis_st1[
check(wh,sc)][
sc];
139 if (
check(wh,sc) == -99 )
return;
145 if (
check(wh,sc) == -99 )
return false;
146 return etsoc_chdis_st2[
check(wh,sc)][
sc];
151 if (
check(wh,sc) == -99 )
return;
157 if (
check(wh,sc) == -99 )
return false;
158 return etsoc_chdis_st3[
check(wh,sc)][
sc];
163 if ( sc<0 || sc>11 || wh==0 || wh>3 || wh<-3 )
return -99;
165 if ( wh < 0 )
return wh+3;
172 cout <<
"L1 barrel Track Finder Masks :" << endl;
173 cout <<
"==============================" << endl;
177 cout <<
"Disable PHTF St.1 :" << endl;
178 cout <<
"===================" << endl;
180 for(
int i=-3;
i<4;
i++ ) {
181 if (
i == 0 )
continue;
182 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_inrec_chdis_st1(
i,j); }
186 cout <<
"Disable PHTF St.2 :" << endl;
187 cout <<
"===================" << endl;
189 for(
int i=-3;
i<4;
i++ ) {
190 if (
i == 0 )
continue;
191 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_inrec_chdis_st2(
i,j); }
195 cout <<
"Disable PHTF St.3 :" << endl;
196 cout <<
"===================" << endl;
198 for(
int i=-3;
i<4;
i++ ) {
199 if (
i == 0 )
continue;
200 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_inrec_chdis_st3(
i,j); }
204 cout <<
"Disable PHTF St.4 :" << endl;
205 cout <<
"===================" << endl;
207 for(
int i=-3;
i<4;
i++ ) {
208 if (
i == 0 )
continue;
209 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_inrec_chdis_st4(
i,j); }
213 cout <<
"Disable CSC :" << endl;
214 cout <<
"=============" << endl;
216 for(
int i=-3;
i<4;
i++ ) {
217 if (
i == 0 )
continue;
218 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_inrec_chdis_csc(
i,j); }
222 cout <<
"Disable ETTF St.1 :" << endl;
223 cout <<
"===================" << endl;
225 for(
int i=-3;
i<4;
i++ ) {
226 if (
i == 0 )
continue;
227 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_etsoc_chdis_st1(
i,j); }
231 cout <<
"Disable ETTF St.2 :" << endl;
232 cout <<
"===================" << endl;
234 for(
int i=-3;
i<4;
i++ ) {
235 if (
i == 0 )
continue;
236 for(
int j=0; j<12; j++ ) {
cout <<
" " << setw(1) << get_etsoc_chdis_st2(
i,j); }
240 cout <<
"Disable ETTF St.3 :" << endl;
241 cout <<
"===================" << endl;
243 for(
int i=-3;
i<4;
i++ ) {
244 if (
i == 0 )
continue;
245 for(
int j=0; j<12; j++ ) {
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)