Changeset 3712
- Timestamp:
- 04/13/04 11:21:32 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3711 r3712 21 21 22 22 * mcalib/MCalibrationPix.[h,cc] 23 add functions GetHiLoMeansDivided(), GetHiLoSigmasDivided() and 24 errors 25 23 - add functions GetHiLoMeansDivided(), GetHiLoSigmasDivided() and 24 errors 25 26 * mcalib/MCalibrationChargeCam.[h,cc] 27 - removed hi-vs.Lo histograms (come into a separate MIntensityCam) 28 - updated GetPixelContents 29 - updated class documentation 30 26 31 27 32 2004/04/13: Thomas Bretz -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.h
r3697 r3712 6 6 #endif 7 7 8 class TH1D;9 class TH2D;10 11 8 class MCalibrationChargeCam : public MCalibrationCam 12 9 { 13 10 private: 14 11 15 TH1D* fOffsets; //! Histogram with Higain-vs-LoGain fit result Offsets16 TH1D* fSlopes; //! Histogram with Higain-vs-LoGain fit result Slopes17 TH2D* fOffvsSlope; //! Histogram with Higain-vs-LoGain fit result Offsets vs. Slopes18 19 12 Byte_t fFlags; // Bit-field to hold the flags 20 13 21 14 enum { kFFactorMethodValid }; 22 15 23 24 16 public: 25 17 26 18 MCalibrationChargeCam(const char *name=NULL, const char *title=NULL); 27 ~MCalibrationChargeCam();28 19 29 20 void Clear ( Option_t *o="" ); 30 21 31 22 // Draws 32 // void DrawHiLoFits();33 23 void DrawPixelContent(Int_t num) const; 34 24 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
r3684 r3712 349 349 } 350 350 351 352 351 353 // -------------------------------------------------------------------------- 352 354 // … … 659 661 // 660 662 // Calculate the total F-Factor with the formula: 661 // fMeanFFactorFADC2Phot = Sqrt ( fRSigmaSquare ) / GetMean() * sqrt( nphotons)663 // fMeanFFactorFADC2Phot = Sqrt ( fRSigmaSquare ) / GetMean() * sqrt(nphotons) 662 664 // 663 665 // Calculate the error of the total F-Factor -
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r3711 r3712 132 132 // -------------------------------------------------------------------------- 133 133 // 134 // Return -1, if IsHiGainSaturation() 134 135 // Return -1, if the LoGain Mean is zero or -1. (has not yet been set) 135 136 // Return -1, if the HiGain Mean is -1. (has not yet been set) … … 139 140 { 140 141 142 if (IsHiGainSaturation()) 143 return -1.; 144 141 145 if (fLoGainMean == 0. || fLoGainMean == -1.) 142 146 return -1.; … … 151 155 // ---------------------------------------------------------------------------------- 152 156 // 157 // Return -1, if IsHiGainSaturation() 153 158 // Return -1, if the LoGain Mean or its variance is zero or -1. (has not yet been set) 154 159 // Return -1, if the HiGain Mean or its variance is -1. (has not yet been set) … … 158 163 { 159 164 165 if (IsHiGainSaturation()) 166 return -1.; 167 160 168 if (fLoGainMean == 0. || fLoGainMean == -1.) 161 169 return -1.; … … 180 188 // -------------------------------------------------------------------------- 181 189 // 190 // Return -1, if IsHiGainSaturation() 182 191 // Return -1, if the LoGain Sigma is zero or -1. (has not yet been set) 183 192 // Return -1, if the HiGain Sigma is -1. (has not yet been set) … … 187 196 { 188 197 198 if (IsHiGainSaturation()) 199 return -1.; 200 189 201 if (fLoGainSigma == 0. || fLoGainSigma == -1.) 190 202 return -1.; … … 199 211 // ---------------------------------------------------------------------------------- 200 212 // 213 // Return -1, if IsHiGainSaturation() 201 214 // Return -1, if the LoGain Sigma or its variance is zero or -1. (has not yet been set) 202 215 // Return -1, if the HiGain Sigma or its variance is -1. (has not yet been set) … … 206 219 { 207 220 221 if (IsHiGainSaturation()) 222 return -1.; 223 208 224 if (fLoGainSigma == 0. || fLoGainSigma == -1.) 209 225 return -1.;
Note:
See TracChangeset
for help on using the changeset viewer.