MDetermineHeaterProperties Class Reference

Inheritance diagram for MDetermineHeaterProperties:

QModule QBaseModule

List of all members.


Detailed Description

compute significant properties of the heater pulses distributions both for stabilized and for non stabilized amplitudes generates plots of the amplitudes and RMS of all the heater pulses before and after the stabilization procedure. Fits the stab and high heater ditributions with a gaussian and outputs a warning if the quality of the fit is poor. This is done with both the stabilized and non stabilized amplitudes. A warning is also produced if the number of stabilization and high pulses doesn't match with the expected one.

Author:
Elena Guardincerri, Fabio Bellini
  • Config example:
     module DetermineHeaterProperties
     verbosity = debug
     enable = true
     HeaterType = Stabilization 
     OutFilename = "CheckHeaterProp"
     OutRootFileName = "CheckR"
     FitNDFMax = 20.0
     MinLHAmplitude = 1000.0
     ResolutionWarning =0.003
     endmod
       

HeaterType [string = Stabilization]: select which heater is processed. Stabilization High Low OutFilename [string = "CheckHeaterProp"]: All the text warnings produced by the checks above are dumped here. The run number is appended to the file name FitNDFMax [double = 5.0]: maximum value accepted for the ChiSquare/NDF MinLHAmplitude [double = 1000.0] heater pulses below this threshold are discarded (# expected pulses - recorded pulses)=<2 this check works only for stab and high pulser, warning is issued if condition no satisfied A gaussian fit is performed to the A_OF amplitude, a warning is issued if sigma > ResolutionWarning[double 0.003] * A_OF. OutRootFileName [string = "CheckR"]: All the plots produced are written here. The run number is appended to the file name

Public Member Functions

 MDetermineHeaterProperties (QSequence *)
 Constructor.
virtual void Init ()
 Init method: reads parameters.
virtual QEventDo (QEvent *)
 Do method: correct pulse amplitudes.
virtual void Done ()
 Done method is called after event loop.

Private Member Functions

TH1F * Get1DHistoFromVector (QVector &v, double mean, double rms)
void CreateHistograms ()
void SaveHistograms ()
void DeleteHistograms ()
void CreateReference ()
void SetReference (char *VariableName, const QVector &VariableValue)
double TruncatedRMS (const QVector &vector, double KeepRMS)

Private Attributes

std::string fHeaterType
 identifier of the heater. In Cuoricino: 1->middle 3->low 2->high
std::vector< QVector > fNonStabAmplitudes
std::vector< QVector > fStabAmplitudes
QOutputFileHandler * fOutputHandler
bool fFirstEvent
std::string fOutRootFileName
std::string fOutReferenceDir
double fChiNDFMax
double fRisWarning
double fMinLHAmplitude
double fWarningLevel
int fExpectedNbHighHeaters
int fExpectedNbStabHeaters
ChannelManagerfChannelManager
TH1F * fAverageHighHeater
TH1F * fAverageLowHeater
TH1F * fAverageStabHeater
TH1F * fRMSHighHeater
TH1F * fRMSLowHeater
TH1F * fRMSStabHeater
TH1F * fAverageHighHeaterStabilized
TH1F * fAverageLowHeaterStabilized
TH1F * fAverageStabHeaterStabilized
TH1F * fRMSHighHeaterStabilized
TH1F * fRMSLowHeaterStabilized
TH1F * fRMSStabHeaterStabilized
int fLastChannel
QVector fStabRMSHeater
QVector fStabAverageHeater
QVector fNonStabAverageHeater
int fRun


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:02 2010 for CUORE Software by  doxygen 1.5.6