class emcCalibrator

Virtual base class of a calibrator.

Inheritance:


Public Methods

[more]virtual bool Calibrate(const emcRawDataObject& rdo, emcMixedDataObject& mdo, const PHTimeStamp& when)
Calibrate interface going from RawDataObject to MixedDataObject
[more]virtual bool Calibrate(const emcMixedDataObject& mdo, emcCalibratedDataObject& cdo, const PHTimeStamp& when)
Calibrate interface going from MixedDataObject to CalibratedDataObject
[more]virtual bool Calibrate(const emcRawDataObject& rdo, emcCalibratedDataObject& cdo, const PHTimeStamp& when)
short cut to go from raw to calibrated
[more]virtual float GetThresholdADC(void) const
Get ADC threshold (below this threshold we do not try to calibrate energy).
[more]virtual float GetGlobalT0(void) const
Get Global T0 value which in principal may be run dependent and which is needed almost entirely for presentation purposes (also if we want to use timing in Clustering and need it to be approximately correct)
[more]virtual bool GetCollectionStatus(const char* type) const
Get status of last try of collecting calibration data
[more]virtual int GetHighLowLimit(void) const
Get ADC channel count limit between high and low gain
[more]virtual const char* GetName(void) const
Get the name of this calibrator (has to be the classname, so the CalibratorFactory can detect changes).
[more]virtual void Print(void) const
A print utility to inform what the calibrator is doing
[more]virtual void SetThresholdADC(float thres = 10.0)
Set ADC threshold
[more]virtual void SetGlobalT0(float T0 = 0.0)
Set Global T0
[more]virtual void SetHighLowLimit(int lim = 1024)
Set ADC channel count limit between high and low gain
[more]virtual bool SelectSource(const char* type, emcManageable::EStorage source)
Select the source of calibration data.
[more]void SetZeroSuppression(bool swi = true)
switches on and off the zero suppression flag

Protected Fields

[more]string fName
Name of the calibrator
[more]Bool_t fZeroSuppression
tells if zero's should be suppressed from raw data


Documentation

Virtual base class of a calibrator.

This class defines the calibration interface.

ovirtual bool Calibrate(const emcRawDataObject& rdo, emcMixedDataObject& mdo, const PHTimeStamp& when)
Calibrate interface going from RawDataObject to MixedDataObject

ovirtual bool Calibrate(const emcMixedDataObject& mdo, emcCalibratedDataObject& cdo, const PHTimeStamp& when)
Calibrate interface going from MixedDataObject to CalibratedDataObject

ovirtual bool Calibrate(const emcRawDataObject& rdo, emcCalibratedDataObject& cdo, const PHTimeStamp& when)
short cut to go from raw to calibrated

ovirtual float GetThresholdADC(void) const
Get ADC threshold (below this threshold we do not try to calibrate energy).

ovirtual float GetGlobalT0(void) const
Get Global T0 value which in principal may be run dependent and which is needed almost entirely for presentation purposes (also if we want to use timing in Clustering and need it to be approximately correct)

ovirtual bool GetCollectionStatus(const char* type) const
Get status of last try of collecting calibration data

ovirtual int GetHighLowLimit(void) const
Get ADC channel count limit between high and low gain

ovirtual const char* GetName(void) const
Get the name of this calibrator (has to be the classname, so the CalibratorFactory can detect changes).

ovirtual void Print(void) const
A print utility to inform what the calibrator is doing

ovirtual void SetThresholdADC(float thres = 10.0)
Set ADC threshold

ovirtual void SetGlobalT0(float T0 = 0.0)
Set Global T0

ovirtual void SetHighLowLimit(int lim = 1024)
Set ADC channel count limit between high and low gain

ovirtual bool SelectSource(const char* type, emcManageable::EStorage source)
Select the source of calibration data.

ovoid SetZeroSuppression(bool swi = true)
switches on and off the zero suppression flag

ostring fName
Name of the calibrator

oBool_t fZeroSuppression
tells if zero's should be suppressed from raw data


Direct child classes:
emcRawDataCalibrator

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.