Ignore:
Timestamp:
12/19/03 16:16:12 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/manalysis
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MCalibrate.cc

    r2725 r2726  
    159159            Float_t calibrationConversionFactor      = pix.GetMeanConversionBlindPixelMethod();
    160160            Float_t calibrationConversionFactorError = pix.GetErrorConversionBlindPixelMethod();
    161            
    162161
    163162            Float_t nphot    = signal*calibrationConversionFactor;
     163            Float_t nphotErr = signal*calibrationConversionFactorError
     164                              *signal*calibrationConversionFactorError;
     165            nphotErr        += signalErr*calibrationConversionFactor
     166                              *signalErr*calibrationConversionFactor;
    164167
    165             Float_t nphotErr = signal*calibrationConversionFactorError*signal*calibrationConversionFactorError;
    166             nphotErr += signalErr*signalErr*calibrationConversionFactor*calibrationConversionFactor;
    167168            nphotErr  = TMath::Sqrt(nphotErr);
    168169
  • trunk/MagicSoft/Mars/manalysis/MCalibrationCalc.cc

    r2725 r2726  
    329329              *fLog << warn <<
    330330                "Overflow or Underflow occurred filling Blind Pixel eventnr = " << fEvents << endl;
    331             break;
    332331           
    333332          case gkCalibrationPINDiodeId:
  • trunk/MagicSoft/Mars/manalysis/MCalibrationCam.cc

    r2719 r2726  
    238238// --------------------------------------------------------------------------
    239239//
    240 //
    241 //
    242 //
     240// Print first the well fitted pixels
     241// and then the ones which are not FitValid
    243242//
    244243void MCalibrationCam::Print(Option_t *o) const
     
    288287}
    289288
    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//
    291309Bool_t MCalibrationCam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
    292310{
     
    370388}
    371389
     390// --------------------------------------------------------------------------
     391//
     392// What MHCamera needs in order to draw an individual pixel in the camera
     393//
    372394void MCalibrationCam::DrawPixelContent(Int_t idx) const
    373395{
    374 
    375396  (*this)[idx].Draw();
    376 
    377 }
    378 
    379 
    380 
     397}
     398
     399
     400// --------------------------------------------------------------------------
     401//
     402
     403//
    381404Bool_t MCalibrationCam::CalcNumPhotInsidePlexiglass()
    382405{
Note: See TracChangeset for help on using the changeset viewer.