- Timestamp:
- 04/04/04 14:28:25 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc
r3637 r3639 27 27 // MHCalibrationChargeBlindPix 28 28 // 29 // Histogram container for the calibration Blind Pixel information 30 // Extracts the signal stored in MExtractedSignalBlindPixel , histograms and fits it. 31 // Performs the Single Photo-electron fit to extract the Poisson mean and its errors 32 // 33 // Different fits can be chosen with the function ChangeFitFunc() 34 // 35 // The fit result is accepted under condition that: 29 // Histogram class for the charge calibration of the Blind Pixel. 30 // Stores and fits the charges and stores the averaged assumed pedestal and 31 // single-phe FADC slice entries. Charges are taken from MExtractedSignalBlindPix. 32 // Performs the Single Photo-electron fit to extract the Poisson mean and its errors. 33 // 34 // Different fits can be chosen with the function ChangeFitFunc(). 35 // 36 // The fit result is accepted under the condition that: 36 37 // 1) the Probability is greater than fProbLimit (default 0.001 == 99.7%) 37 38 // 2) at least fNumSinglePheLimit events are found in the single Photo-electron peak … … 105 106 // 106 107 // Sets: 107 // - the default number for MHGausEvents::fNbins(fgChargeNbins)108 // - the default number for MHGausEvents::fFirst(fgChargeFirst)109 // - the default number for MHGausEvents::fLast(fgChargeLast)108 // - the default number for fNbins (fgChargeNbins) 109 // - the default number for fFirst (fgChargeFirst) 110 // - the default number for fLast (fgChargeLast) 110 111 // - the default number for fSinglePheCut (fgSingePheCut) 111 112 // - the default number for fNumSinglePheLimit (fgNumSinglePheLimit) 113 // - the default number of bins after stripping (30) 112 114 // 113 115 // - the default name of the fHGausHist ("HCalibrationChargeBlindPix") … … 118 120 // Initializes: 119 121 // - all pointers to NULL 120 // - all variables to 0., except the fit result variables to -999.121 // - all flags to kFALSE122 // - the default Fit function to kEPoisson5122 // 123 // Calls: 124 // - Clear() 123 125 // 124 126 MHCalibrationChargeBlindPix::MHCalibrationChargeBlindPix(const char *name, const char *title) … … 130 132 131 133 fName = name ? name : "MHCalibrationChargeBlindPix"; 132 fTitle = title ? title : " Fill the accumulated charges and times of all Blind Pixel events and perform fits";134 fTitle = title ? title : "Statistics of the FADC sums of Blind Pixel calibration events"; 133 135 134 136 SetNbins( fgChargeNbins ); … … 183 185 // - all flags to kFALSE 184 186 // - all pointers to NULL 187 // - the default fit function (kEPoisson5) 185 188 // 186 189 // Deletes: 187 190 // - all pointers unequal NULL 188 191 // 189 // Executes MHCalibrationChargePix::Clear() 192 // Calls: 193 // - MHCalibrationChargePix::Clear() 190 194 // 191 195 void MHCalibrationChargeBlindPix::Clear(Option_t *o) … … 248 252 } 249 253 254 // -------------------------------------------------------------------------- 255 // 256 // Set bit kSinglePheFitOK from outside 257 // 250 258 void MHCalibrationChargeBlindPix::SetSinglePheFitOK (const Bool_t b) 251 259 { … … 253 261 } 254 262 263 // -------------------------------------------------------------------------- 264 // 265 // Set bit kPedestalFitOK from outside 266 // 255 267 void MHCalibrationChargeBlindPix::SetPedestalFitOK(const Bool_t b) 256 268 { … … 258 270 } 259 271 272 // -------------------------------------------------------------------------- 273 // 274 // Ask for status of bit kSinglePheFitOK 275 // 260 276 const Bool_t MHCalibrationChargeBlindPix::IsSinglePheFitOK() const 261 277 { … … 263 279 } 264 280 281 // -------------------------------------------------------------------------- 282 // 283 // Ask for status of bit kPedestalFitOK 284 // 265 285 const Bool_t MHCalibrationChargeBlindPix::IsPedestalFitOK() const 266 286 { … … 278 298 // - fAPedestalFADCSlices(0); 279 299 // 280 // Sets Binning of the fHGausHist 300 // Calls: 301 // - MHGausHist::InitBins() 281 302 // 282 303 Bool_t MHCalibrationChargeBlindPix::SetupFill(const MParList *pList) … … 384 405 // Returns kFALSE, if empty 385 406 // 386 // - Creates the fourier spectrum and sets bit IsFourierSpectrumOK()407 // - Creates the fourier spectrum and sets bit MHGausEvents::IsFourierSpectrumOK() 387 408 // - Retrieves the pedestals from MExtractedSignalBlindPixel 388 409 // - Normalizes fASinglePheFADCSlices and fAPedestalFADCSlices
Note:
See TracChangeset
for help on using the changeset viewer.