Ignore:
Timestamp:
04/04/04 14:28:25 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeBlindPix.cc

    r3637 r3639  
    2727//  MHCalibrationChargeBlindPix
    2828//
    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:
    3637//  1) the Probability is greater than fProbLimit (default 0.001 == 99.7%)
    3738//  2) at least fNumSinglePheLimit events are found in the single Photo-electron peak
     
    105106//
    106107// 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)
    110111// - the default number for fSinglePheCut (fgSingePheCut)
    111112// - the default number for fNumSinglePheLimit (fgNumSinglePheLimit)
     113// - the default number of bins after stripping (30)
    112114//
    113115// - the default name of the  fHGausHist ("HCalibrationChargeBlindPix")
     
    118120// Initializes:
    119121// - all pointers to NULL
    120 // - all variables to 0., except the fit result variables to -999.
    121 // - all flags to kFALSE
    122 // - the default Fit function to kEPoisson5
     122//
     123// Calls:
     124// - Clear()
    123125//
    124126MHCalibrationChargeBlindPix::MHCalibrationChargeBlindPix(const char *name, const char *title)
     
    130132
    131133    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";
    133135
    134136    SetNbins( fgChargeNbins );
     
    183185// - all flags to kFALSE
    184186// - all pointers to NULL
     187// - the default fit function (kEPoisson5)
    185188//
    186189// Deletes:
    187190// - all pointers unequal NULL
    188191//
    189 // Executes MHCalibrationChargePix::Clear()
     192// Calls:
     193// - MHCalibrationChargePix::Clear()
    190194//
    191195void MHCalibrationChargeBlindPix::Clear(Option_t *o)
     
    248252}
    249253
     254// --------------------------------------------------------------------------
     255//
     256// Set bit kSinglePheFitOK from outside
     257//
    250258void MHCalibrationChargeBlindPix::SetSinglePheFitOK (const Bool_t b)
    251259{
     
    253261}
    254262
     263// --------------------------------------------------------------------------
     264//
     265// Set bit kPedestalFitOK from outside
     266//
    255267void MHCalibrationChargeBlindPix::SetPedestalFitOK(const Bool_t b)
    256268{
     
    258270}
    259271
     272// --------------------------------------------------------------------------
     273//
     274// Ask for status of bit kSinglePheFitOK
     275//
    260276const Bool_t  MHCalibrationChargeBlindPix::IsSinglePheFitOK()     const
    261277{
     
    263279}
    264280
     281// --------------------------------------------------------------------------
     282//
     283// Ask for status of bit kPedestalFitOK
     284//
    265285const Bool_t  MHCalibrationChargeBlindPix::IsPedestalFitOK()  const
    266286{
     
    278298// - fAPedestalFADCSlices(0);
    279299//
    280 // Sets Binning of the fHGausHist
     300// Calls:
     301// - MHGausHist::InitBins()
    281302//
    282303Bool_t MHCalibrationChargeBlindPix::SetupFill(const MParList *pList)
     
    384405// Returns kFALSE, if empty
    385406//
    386 // - Creates the fourier spectrum and sets bit IsFourierSpectrumOK()
     407// - Creates the fourier spectrum and sets bit MHGausEvents::IsFourierSpectrumOK()
    387408// - Retrieves the pedestals from MExtractedSignalBlindPixel
    388409// - Normalizes fASinglePheFADCSlices and fAPedestalFADCSlices
Note: See TracChangeset for help on using the changeset viewer.