262 |
**/ |
**/ |
263 |
void CaloLevel2::GetElectronEnergy(Float_t &energy, Float_t &sigma){ |
void CaloLevel2::GetElectronEnergy(Float_t &energy, Float_t &sigma){ |
264 |
if ( nstrip == 0 ) return; |
if ( nstrip == 0 ) return; |
265 |
energy = qtot * 260.; |
energy = qtot / 260.; |
266 |
// energy = qtot * 40.82 * 0.000106; |
// energy = qtot * 40.82 * 0.000106; |
267 |
sigma = 0.; |
sigma = 0.; |
268 |
if ( energy > 0. ) sigma = energy * (0.01183 + 0.121/sqrt(energy)); |
if ( energy > 0. ) sigma = energy * (0.01183 + 0.121/sqrt(energy)); |