Changeset 19203 for trunk/Mars/mimage
- Timestamp:
- 09/01/18 14:10:18 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mimage/MHillasExt.cc
r19158 r19203 299 299 const Double_t meandtw = sumdtw/sumw; 300 300 301 fTimeSpread = TMath::Sqrt(sumt2 /cnt - meant *meant); 302 fTimeSpreadWeighted = TMath::Sqrt(sumt2w/sumw - meantw*meantw); 303 304 fSlopeSpread = TMath::Sqrt(sumdt2 /cnt - meandt *meandt); 305 fSlopeSpreadWeighted = TMath::Sqrt(sumdt2w/sumw - meandtw*meandtw); 301 const Double_t rad_ts = sumt2 /cnt - meant *meant; 302 const Double_t rad_tsw = sumt2w /sumw - meantw*meantw; 303 const Double_t rad_ss = sumdt2 /cnt - meandt *meandt; 304 const Double_t rad_ssw = sumdt2w/sumw - meandtw*meandtw; 305 306 fTimeSpread = rad_ts <0 ? 0 : TMath::Sqrt(rad_ts); 307 fTimeSpreadWeighted = rad_tsw<0 ? 0 : TMath::Sqrt(rad_tsw); 308 309 fSlopeSpread = rad_ss <0 ? 0 : TMath::Sqrt(rad_ss); 310 fSlopeSpreadWeighted = rad_ssw<0 ? 0 : TMath::Sqrt(rad_ssw); 306 311 307 312 //
Note:
See TracChangeset
for help on using the changeset viewer.