283 |
// |
// |
284 |
suf = ""; |
suf = ""; |
285 |
debug = false; |
debug = false; |
286 |
|
usepl18x = false; |
287 |
// |
// |
288 |
}; |
}; |
289 |
|
|
301 |
// |
// |
302 |
suf = ""; |
suf = ""; |
303 |
debug = false; |
debug = false; |
304 |
|
usepl18x = false; |
305 |
// |
// |
306 |
}; |
}; |
307 |
|
|
529 |
// |
// |
530 |
for (Int_t i=0; i<L2->GetCaloLevel1()->istrip ; i++){ |
for (Int_t i=0; i<L2->GetCaloLevel1()->istrip ; i++){ |
531 |
mip1 = L2->GetCaloLevel1()->DecodeEstrip(i,view1,plane1,strip1); |
mip1 = L2->GetCaloLevel1()->DecodeEstrip(i,view1,plane1,strip1); |
532 |
|
// |
533 |
|
if ( !usepl18x && view1==0 && plane1==18 ) mip1 = 0.; |
534 |
|
// |
535 |
estrip[view1][plane1][strip1] = mip1; |
estrip[view1][plane1][strip1] = mip1; |
536 |
}; |
}; |
537 |
// |
// |
579 |
// |
// |
580 |
for (Int_t i=0; i<L2->GetCaloLevel1()->istrip ; i++){ |
for (Int_t i=0; i<L2->GetCaloLevel1()->istrip ; i++){ |
581 |
mip1 = L2->GetCaloLevel1()->DecodeEstrip(i,view1,plane1,strip1); |
mip1 = L2->GetCaloLevel1()->DecodeEstrip(i,view1,plane1,strip1); |
582 |
|
// |
583 |
|
if ( !usepl18x && view1==0 && plane1==18 ) mip1 = 0.; |
584 |
|
// |
585 |
es[view1][plane1][strip1] = mip1; |
es[view1][plane1][strip1] = mip1; |
586 |
}; |
}; |
587 |
// |
// |
671 |
mask18b = -1; |
mask18b = -1; |
672 |
// |
// |
673 |
no18x = true; |
no18x = true; |
674 |
|
usepl18x = !no18x; |
675 |
debug = false; |
debug = false; |
676 |
maskXE = false; |
maskXE = false; |
677 |
maskXO = false; |
maskXO = false; |
858 |
Bool_t gof = true; |
Bool_t gof = true; |
859 |
for (Int_t i=0; i < L2->GetCaloLevel1()->istrip; i++){ |
for (Int_t i=0; i < L2->GetCaloLevel1()->istrip; i++){ |
860 |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
861 |
|
// |
862 |
|
if ( !usepl18x && view==0 && plane==18 ) mip = 0.; |
863 |
|
// |
864 |
gof = true; |
gof = true; |
865 |
if ( maskXE && (plane%2)==0 && view==1 ) gof = false; |
if ( maskXE && (plane%2)==0 && view==1 ) gof = false; |
866 |
if ( maskXO && (plane%2)!=0 && view==1 ) gof = false; |
if ( maskXO && (plane%2)!=0 && view==1 ) gof = false; |
1178 |
exx[numpo] = 0.1; |
exx[numpo] = 0.1; |
1179 |
yyy[numpo] = enemip; |
yyy[numpo] = enemip; |
1180 |
eyy[numpo] = sqrt(enemip*3.)+sqrt(5.); |
eyy[numpo] = sqrt(enemip*3.)+sqrt(5.); |
1181 |
// if ( xpos > letmax && enemip > lmipth && heavytail) eyy[numpo] = (sqrt(enemip*3.)+sqrt(5.))/numpo; |
//if ( xpos > letmax && enemip > lmipth && heavytail) eyy[numpo] = (sqrt(enemip*3.)+sqrt(5.))/numpo; |
1182 |
if ( xpos > letmax && enemip > lmipth && heavytail) eyy[numpo] = sqrt(enemip)/5.; |
if ( xpos > letmax && enemip > lmipth && heavytail) eyy[numpo] = sqrt(enemip)/5.; |
1183 |
if ( xpos > letmax-1 && xpos < letmax+1 && heavytail ) eyy[numpo] /= 5.; |
if ( xpos > letmax-1 && xpos < letmax+1 && heavytail ) eyy[numpo] /= 5.; |
1184 |
//if ( xpos > letmax-2 && xpos < letmax+1 && heavytail ) eyy[numpo] /= 7.; |
//if ( xpos > letmax-2 && xpos < letmax+1 && heavytail ) eyy[numpo] /= 7.; |
1215 |
exx[numpo] = 0.1; |
exx[numpo] = 0.1; |
1216 |
yyy[numpo] = enemip; |
yyy[numpo] = enemip; |
1217 |
eyy[numpo] = sqrt(enemip*3.)+sqrt(5.); |
eyy[numpo] = sqrt(enemip*3.)+sqrt(5.); |
1218 |
if ( xpos > letmax && enemip > lmipth && heavytail ) eyy[numpo] = (sqrt(enemip*3.)+sqrt(5.))/numpo; |
//if ( xpos > letmax && enemip > lmipth && heavytail) eyy[numpo] = (sqrt(enemip*3.)+sqrt(5.))/numpo; |
1219 |
|
//if ( xpos > letmax && enemip > lmipth && heavytail ) eyy[numpo] = (sqrt(enemip*3.)+sqrt(5.))/numpo; |
1220 |
|
if ( xpos > letmax && enemip > lmipth && heavytail) eyy[numpo] = sqrt(enemip)/5.; |
1221 |
|
if ( xpos > letmax-1 && xpos < letmax+1 && heavytail ) eyy[numpo] /= 5.; |
1222 |
|
//if ( xpos > letmax-2 && xpos < letmax+1 && heavytail ) eyy[numpo] /= 7.; |
1223 |
|
if ( xpos < 3. && heavytail ) eyy[numpo] /= 5.; |
1224 |
// eyy[numpo] = sqrt(enemip)/(st*0.95); |
// eyy[numpo] = sqrt(enemip)/(st*0.95); |
1225 |
numpo++; |
numpo++; |
1226 |
// th->Fill(xpos,enemip); |
// th->Fill(xpos,enemip); |