109 |
if(CaloTrk)CaloTrk->Delete(); //ELENA |
if(CaloTrk)CaloTrk->Delete(); //ELENA |
110 |
// |
// |
111 |
nstrip = 0; |
nstrip = 0; |
112 |
|
nsatstrip = 0; |
113 |
qtot = 0.; |
qtot = 0.; |
114 |
// impx = 0.; |
// impx = 0.; |
115 |
// impy = 0.; |
// impy = 0.; |
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 * 40.82 * 0.000106; |
energy = qtot * 260.; |
266 |
|
// 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)); |
269 |
return; |
return; |