421 |
// |
// |
422 |
strip = (Int_t)truncf((Float_t)((eval - fbi*1000000000 -plom*10000000)/100000)); |
strip = (Int_t)truncf((Float_t)((eval - fbi*1000000000 -plom*10000000)/100000)); |
423 |
// |
// |
424 |
Float_t mip = ((Float_t)(eval - fbi*1000000000 -plom*10000000 -strip*100000))/tim; |
Double_t mip = (Double_t)(((Float_t)(eval - fbi*1000000000 -plom*10000000 -strip*100000))/tim); |
425 |
// |
// |
426 |
saturated = false; |
saturated = false; |
427 |
if ( mip > 5000. ){ |
if ( mip > 5000. ){ |
428 |
mip -= 5000.; |
mip -= 5000.; |
429 |
saturated = true; |
saturated = true; |
430 |
}; |
}; |
431 |
if ( mip > 0. && mip < 99999. ) return(mip); |
if ( mip > 0. && mip < 99999. ) return((Float_t)mip); |
432 |
// |
// |
433 |
printf(" ERROR: problems decoding value %i at entry %i \n",estrip.At(entry),entry); |
printf(" ERROR: problems decoding value %i at entry %i \n",estrip.At(entry),entry); |
434 |
// |
// |
497 |
if ( view == sview && splane == plane ){ |
if ( view == sview && splane == plane ){ |
498 |
if ( lsat ) sat = true; |
if ( lsat ) sat = true; |
499 |
totmip += mip; |
totmip += mip; |
500 |
|
//printf(" totmip %f mip %f \n",totmip,mip); |
501 |
}; |
}; |
502 |
// |
// |
503 |
// entry are ordered by strip, plane and view number. Go out if you pass the input strip |
// entry are ordered by strip, plane and view number. Go out if you pass the input strip |