Changeset 5740
- Timestamp:
- 01/08/05 11:33:50 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5739 r5740 31 31 calculate the joint probability of Chisquare of pixel "pixidx" 32 32 and fNdf 33 - added documentation of data members 33 34 - raised version number by 1 34 35 -
trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.cc
r3720 r5740 51 51 : fFirstUsedSliceHiGain(0), fFirstUsedSliceLoGain(0), 52 52 fLastUsedSliceHiGain(0), fLastUsedSliceLoGain(0), 53 fUsedWindowHiGain(0.), fUsedWindowLoGain(0.) 53 fUsedWindowHiGain(0.), fUsedWindowLoGain(0.), fNdf(-1) 54 54 { 55 55 fName = name ? name : "MExtractedSignalCam"; … … 114 114 } 115 115 116 Float_t MExtractedSignalCam::GetProb( const Int_t pixidx ) const 117 { 118 119 if (pixidx > GetSize()-1) 120 return -1.; 121 122 return TMath::Prob((*this)[pixidx].GetChisquare(),fNdf); 123 } 124 116 125 void MExtractedSignalCam::Clear(Option_t *o) 117 126 {
Note:
See TracChangeset
for help on using the changeset viewer.