| 32 |
cstrip = new CaloStrip(false); |
cstrip = new CaloStrip(false); |
| 33 |
debug = false; |
debug = false; |
| 34 |
simulation = false; |
simulation = false; |
| 35 |
|
usepl18x = false; |
| 36 |
// |
// |
| 37 |
Clear(); |
Clear(); |
| 38 |
// |
// |
| 157 |
for ( Int_t i=0; i<L2->GetCaloLevel1()->istrip; i++ ){ |
for ( Int_t i=0; i<L2->GetCaloLevel1()->istrip; i++ ){ |
| 158 |
// |
// |
| 159 |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
mip = L2->GetCaloLevel1()->DecodeEstrip(i,view,plane,strip); |
| 160 |
|
// |
| 161 |
|
if ( !usepl18x && view==0 && plane==18 ) mip = 0.; |
| 162 |
|
// |
| 163 |
event->clevel1->estrip[strip][plane][view] = mip; |
event->clevel1->estrip[strip][plane][view] = mip; |
| 164 |
// |
// |
| 165 |
}; |
}; |
| 197 |
Float_t m = (ptrack->GetToFTrack()->xtr_tof[0] - ptrack->GetToFTrack()->xtr_tof[3])/(ZTOF11-ZTOF21); |
Float_t m = (ptrack->GetToFTrack()->xtr_tof[0] - ptrack->GetToFTrack()->xtr_tof[3])/(ZTOF11-ZTOF21); |
| 198 |
Float_t q = ptrack->GetToFTrack()->xtr_tof[3] - m * ZTOF21; |
Float_t q = ptrack->GetToFTrack()->xtr_tof[3] - m * ZTOF21; |
| 199 |
// |
// |
| 200 |
c2s->pos = (m * event->clevel1->zalig + q)*10. + event->clevel1->xalig; |
c2s->pos = (m * (event->clevel1->zalig/10.) + q)*10. + event->clevel1->xalig; |
| 201 |
c2s->angol = m; |
c2s->angol = m; |
| 202 |
// |
// |
| 203 |
// call fortran routine |
// call fortran routine |