/[PAMELA software]/DarthVader/CalorimeterLevel2/src/CaloLevel2.cpp
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/src/CaloLevel2.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by mocchiut, Thu Nov 29 14:20:30 2007 UTC revision 1.17 by mocchiut, Wed Dec 26 15:57:53 2007 UTC
# Line 262  Float_t CaloLevel2::impy(Int_t tr){ Line 262  Float_t CaloLevel2::impy(Int_t tr){
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));

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23