Changeset 5685
- Timestamp:
- 12/22/04 22:17:26 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5679 r5685 31 31 * mcalib/MCalibrationColorSteer.cc 32 32 - use the new functions 33 34 * mhcalib/MHCalibrationCam.[h,cc] 35 * mhcalib/MHCalibrationRelTimeCam.[h,cc] 36 * mhcalib/MHCalibrationChargeCam.[h,cc] 37 - centralize the decision about the probability limit to be 38 taken inside these classes. 33 39 34 40 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r5622 r5685 87 87 88 88 const Int_t MHCalibrationCam::fgPulserFrequency = 500; 89 const Float_t MHCalibrationCam::fgProbLimit = 0.0001; 89 90 const TString MHCalibrationCam::gsHistName = "Hist"; 90 91 const TString MHCalibrationCam::gsHistTitle = ""; … … 105 106 // Initializes: 106 107 // - fPulserFrequency to fgPulserFrequency 108 // - fProbLimit to fgProbLimit 107 109 // 108 110 // - SetAveregeing (kTRUE); … … 138 140 139 141 SetPulserFrequency(); 142 SetProbLimit(); 140 143 141 144 SetAverageing (kTRUE); … … 706 709 pix.SetFirst(fFirst); 707 710 pix.SetLast (fLast); 711 pix.SetProbLimit(fProbLimit); 708 712 709 713 MBadPixelsPix &bad = fIntensBad ? (*fIntensBad)[i] : (*fBadPixels)[i]; … … 785 789 pix.SetFirst(fFirst); 786 790 pix.SetLast (fLast); 791 pix.SetProbLimit(fProbLimit); 787 792 788 793 MBadPixelsPix &bad = fIntensBad ? (*fIntensBad)[i] : (*fBadPixels)[i]; -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
r5137 r5685 41 41 private: 42 42 43 static const Int_t fgPulserFrequency; //! The default for fPulserFrequency (now set to: 500) 44 45 static const TString gsHistName; //! Default Histogram names 46 static const TString gsHistTitle; //! Default Histogram titles 47 static const TString gsHistXTitle; //! Default Histogram x-axis titles 48 static const TString gsHistYTitle; //! Default Histogram y-axis titles 43 static const Int_t fgPulserFrequency; //! The default for fPulserFrequency (now set to: 500) 44 static const Float_t fgProbLimit; //! The default for fProbLimit (now set to: 0.0001) 45 46 static const TString gsHistName; //! Default Histogram names 47 static const TString gsHistTitle; //! Default Histogram titles 48 static const TString gsHistXTitle; //! Default Histogram x-axis titles 49 static const TString gsHistYTitle; //! Default Histogram y-axis titles 49 50 50 51 protected: … … 54 55 Axis_t fLast; // Upper histogram limit 55 56 57 Float_t fProbLimit; // Limit for acceptance of probability of Gauss-Fit 58 56 59 TString fHistName; //! Histogram names 57 60 TString fHistTitle; //! Histogram titles … … 92 95 93 96 enum { kDebug, kLoGain, kAverageing, 94 kOscillations, kSizeCheck }; 97 kOscillations, kSizeCheck }; // Possible flags 95 98 96 99 Byte_t fFlags; // Bit-field to hold the flags … … 208 211 void SetNbins ( const Int_t i ) { fNbins = i; } 209 212 void SetFirst ( const Axis_t f ) { fFirst = f; } 210 void SetLast ( const Axis_t f ) { fLast = f; } 213 void SetLast ( const Axis_t f ) { fLast = f; } 214 215 void SetProbLimit ( const Float_t f=fgProbLimit) { fProbLimit = f; } 211 216 212 217 void SetNumLoGainSaturationLimit( const Float_t lim ) { fNumLoGainSaturationLimit = lim; } … … 214 219 void SetPulserFrequency ( const Int_t f=fgPulserFrequency) { fPulserFrequency = f; } 215 220 216 ClassDef(MHCalibrationCam, 1) // Base Histogram class for Calibration Camera221 ClassDef(MHCalibrationCam, 2) // Base Histogram class for Calibration Camera 217 222 }; 218 223 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r5609 r5685 129 129 const Axis_t MHCalibrationRelTimeCam::fgFirst = -5.; 130 130 const Axis_t MHCalibrationRelTimeCam::fgLast = 5.; 131 const Float_t MHCalibrationRelTimeCam::fgProbLimit = 0.; 131 132 const TString MHCalibrationRelTimeCam::gsHistName = "RelTime"; 132 133 const TString MHCalibrationRelTimeCam::gsHistTitle = "Rel. Arr. Times"; … … 161 162 SetFirst(fgFirst); 162 163 SetLast (fgLast ); 164 165 SetProbLimit(fgProbLimit); 163 166 164 167 SetHistName (gsHistName .Data()); -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.h
r5609 r5685 26 26 static const Axis_t fgFirst; //! Default lower histogram limit (now set to: -13.5 ) 27 27 static const Axis_t fgLast; //! Default upper histogram limit (now set to: 13.5 ) 28 28 static const Float_t fgProbLimit; //! The default for fProbLimit (now set to: 0.0) 29 29 30 static const TString gsHistName; //! Default Histogram names 30 31 static const TString gsHistTitle; //! Default Histogram titles
Note:
See TracChangeset
for help on using the changeset viewer.