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

Legend:

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

    r3637 r3639  
    2727//  MHCalibrationChargePINDiode
    2828//
    29 //  Histogram container for the calibration PIN Diode information
    30 //  Extracts the signal stored in MExtractedSignalPINDiode, histograms and fits it.
     29//  Histogram class for the charge calibration of the PIN Diode.
     30//  Stores and fits the charges, the RMS of the charges  and stores the
     31//  location of the maximum FADC slice. Charges are taken from MExtractedSignalPINDiode.
    3132//
    3233//////////////////////////////////////////////////////////////////////////////
     
    8889// - the default y-axis title for fHRmsCharge ("Nr. of events")
    8990// - the default directory of the fHRmsCharge (NULL)
     91// - the current style for fHRmsCharge (NULL)
    9092//
    9193// Initializes:
    9294// - fHRmsCharge()
    9395// - all pointers to NULL
    94 // - all variables to 0.
    95 // - all flags to kFALSE
     96//
     97// Calls:
     98// - Clear()
    9699//
    97100MHCalibrationChargePINDiode::MHCalibrationChargePINDiode(const char *name, const char *title)
     
    174177//
    175178// Retrieves from MExtractedSignalPINDiode:
    176 // - Number of used FADC samples
    177 // - Extracted signal
    178 // - Signal Rms
    179 // - Arrival Time
     179// - Number of used FADC samples via MExtractedSignalPINDiode::GetNumFADCSamples()
     180// - Extracted signal via            MExtractedSignalPINDiode::GetExtractedSignal()
     181// - Signal Rms                      MExtractedSignalPINDiode::GetExtractedRms()
     182// - Arrival Time                    MExtractedSignalPINDiode::GetExtractedTime()
    180183//
    181184// Fills the following histograms:
     
    217220// --------------------------------------------------------------------------
    218221//
    219 // Returns kFALSE, if empty
     222// Returns kTRUE, if empty
    220223//
    221224// Performs the following fits:
     
    223226// - FitRmsCharge()
    224227//
    225 // Creates the fourier spectrum and sets bit IsFourierSpectrumOK()
     228// Creates the fourier spectrum (MHGausEvents::CreateFourierSpectrum()
     229// and sets bit MCalibrationChargePINDiode::SetOscillating( MHGausEvents::IsFourierSpectrumOK() )
    226230// Retrieves the results of the following fits and stores them in MCalibrationChargePINDiode:
    227231// - Mean Charge and Error
    228232// - Sigma Charge and Error
     233// - Fit Probability
    229234// - Abs Time Mean
    230235// - Abs Time Rms
     
    244249  fPINDiode->SetOscillating  ( !IsFourierSpectrumOK() );
    245250
    246   fPINDiode->SetMeanCharge(     GetMean()     );
    247   fPINDiode->SetMeanChargeErr(  GetMeanErr()  );
    248   fPINDiode->SetSigmaCharge(    GetSigma()    );
    249   fPINDiode->SetSigmaChargeErr( GetSigmaErr() );
     251  fPINDiode->SetMean     (  GetMean()     );
     252  fPINDiode->SetMeanErr  (  GetMeanErr()  );
     253  fPINDiode->SetSigma    (  GetSigma()    );
     254  fPINDiode->SetSigmaErr (  GetSigmaErr() );
     255  fPINDiode->SetProb     (  GetProb()     );
    250256
    251257  fPINDiode->SetAbsTimeMean(    GetAbsTimeMean() );
Note: See TracChangeset for help on using the changeset viewer.