Changeset 22 in svn
- Timestamp:
- Nov 7, 2008, 6:36:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SmearUtil.cc
r11 r22 173 173 pow(ELG_Ncen,2) + 174 174 pow(ELG_Ccen*energy,2) + 175 pow(ELG_Scen*sqrt(energy),2) ) 175 pow(ELG_Scen*sqrt(energy),2) )); 176 176 } else { // outside the tracker 177 177 energyS = gRandom->Gaus(energy, sqrt( … … 227 227 energyS = ((energyS1>0)?energyS1:0) + ((energyS2>0)?energyS2:0); 228 228 } else { 229 energyS = gRandom->Gaus(energy, 229 energyS = gRandom->Gaus(energy, sqrt( 230 230 pow(HAD_Nhf,2) + 231 231 pow(HAD_Chf*energy,2) + 232 pow(HAD_Shf*sqrt(energy),2) ) ;232 pow(HAD_Shf*sqrt(energy),2) )); 233 233 } 234 234
Note:
See TracChangeset
for help on using the changeset viewer.