- Timestamp:
- 04/04/04 14:28:25 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePINDiode.cc
r3637 r3639 27 27 // MHCalibrationChargePINDiode 28 28 // 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. 31 32 // 32 33 ////////////////////////////////////////////////////////////////////////////// … … 88 89 // - the default y-axis title for fHRmsCharge ("Nr. of events") 89 90 // - the default directory of the fHRmsCharge (NULL) 91 // - the current style for fHRmsCharge (NULL) 90 92 // 91 93 // Initializes: 92 94 // - fHRmsCharge() 93 95 // - all pointers to NULL 94 // - all variables to 0. 95 // - all flags to kFALSE 96 // 97 // Calls: 98 // - Clear() 96 99 // 97 100 MHCalibrationChargePINDiode::MHCalibrationChargePINDiode(const char *name, const char *title) … … 174 177 // 175 178 // 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() 180 183 // 181 184 // Fills the following histograms: … … 217 220 // -------------------------------------------------------------------------- 218 221 // 219 // Returns k FALSE, if empty222 // Returns kTRUE, if empty 220 223 // 221 224 // Performs the following fits: … … 223 226 // - FitRmsCharge() 224 227 // 225 // Creates the fourier spectrum and sets bit IsFourierSpectrumOK() 228 // Creates the fourier spectrum (MHGausEvents::CreateFourierSpectrum() 229 // and sets bit MCalibrationChargePINDiode::SetOscillating( MHGausEvents::IsFourierSpectrumOK() ) 226 230 // Retrieves the results of the following fits and stores them in MCalibrationChargePINDiode: 227 231 // - Mean Charge and Error 228 232 // - Sigma Charge and Error 233 // - Fit Probability 229 234 // - Abs Time Mean 230 235 // - Abs Time Rms … … 244 249 fPINDiode->SetOscillating ( !IsFourierSpectrumOK() ); 245 250 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() ); 250 256 251 257 fPINDiode->SetAbsTimeMean( GetAbsTimeMean() );
Note:
See TracChangeset
for help on using the changeset viewer.