Changeset 2726 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 12/19/03 16:16:12 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCalibrate.cc
r2725 r2726 159 159 Float_t calibrationConversionFactor = pix.GetMeanConversionBlindPixelMethod(); 160 160 Float_t calibrationConversionFactorError = pix.GetErrorConversionBlindPixelMethod(); 161 162 161 163 162 Float_t nphot = signal*calibrationConversionFactor; 163 Float_t nphotErr = signal*calibrationConversionFactorError 164 *signal*calibrationConversionFactorError; 165 nphotErr += signalErr*calibrationConversionFactor 166 *signalErr*calibrationConversionFactor; 164 167 165 Float_t nphotErr = signal*calibrationConversionFactorError*signal*calibrationConversionFactorError;166 nphotErr += signalErr*signalErr*calibrationConversionFactor*calibrationConversionFactor;167 168 nphotErr = TMath::Sqrt(nphotErr); 168 169 -
trunk/MagicSoft/Mars/manalysis/MCalibrationCalc.cc
r2725 r2726 329 329 *fLog << warn << 330 330 "Overflow or Underflow occurred filling Blind Pixel eventnr = " << fEvents << endl; 331 break;332 331 333 332 case gkCalibrationPINDiodeId: -
trunk/MagicSoft/Mars/manalysis/MCalibrationCam.cc
r2719 r2726 238 238 // -------------------------------------------------------------------------- 239 239 // 240 // 241 // 242 // 240 // Print first the well fitted pixels 241 // and then the ones which are not FitValid 243 242 // 244 243 void MCalibrationCam::Print(Option_t *o) const … … 288 287 } 289 288 290 289 // The types are as follows: 290 // 291 // 0: Fitted Charge 292 // 1: Error of fitted Charge 293 // 2: Sigma of fitted Charge 294 // 3: Error of Sigma of fitted Charge 295 // 4: Returned probability of Gauss fit to Charge distribution 296 // 5: Mean arrival time 297 // 6: Sigma of the arrival time 298 // 7: Chi-square of the Gauss fit to the arrival times 299 // 8: Pedestal 300 // 9: Pedestal RMS 301 // 10: Reduced Sigma Square 302 // 11: Number of Photo-electrons after the F-Factor method 303 // 12: Error on the Number of Photo-electrons after the F-Factor method 304 // 13: Mean conversion factor after the F-Factor method 305 // 14: Error on the conversion factor after the F-Factor method 306 // 15: Number of Photons after the Blind Pixel method 307 // 16: Mean conversion factor after the Blind Pixel method 308 // 291 309 Bool_t MCalibrationCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const 292 310 { … … 370 388 } 371 389 390 // -------------------------------------------------------------------------- 391 // 392 // What MHCamera needs in order to draw an individual pixel in the camera 393 // 372 394 void MCalibrationCam::DrawPixelContent(Int_t idx) const 373 395 { 374 375 396 (*this)[idx].Draw(); 376 377 } 378 379 380 397 } 398 399 400 // -------------------------------------------------------------------------- 401 // 402 403 // 381 404 Bool_t MCalibrationCam::CalcNumPhotInsidePlexiglass() 382 405 {
Note:
See TracChangeset
for help on using the changeset viewer.