|
Berkeley Nuclear Data Software
|
#include <CalibrationClasses.h>


Public Member Functions | |
| QuadraticCalib () | |
| returns a_value*a_value*m_quadScalar + a_value*m_scalar More... | |
| double | applyCalib (double a_value) const |
| returns a_value*a_value*m_quadScalar + a_value*m_scalar More... | |
| void | setCalibration (double a_quadScalar, double a_scalar, double a_offset) |
| void | setQuadScalar (double a_quadScalar) |
| void | setScalar (double a_scalar) |
| void | setOffset (double a_offset) |
| virtual std::ostream & | print (std::ostream &a_stream=std::cout) const |
| prints nothing by default More... | |
| virtual QuadraticCalib * | clone () |
Public Member Functions inherited from DetectorCalib | |
| DetectorCalib () | |
| virtual double | invertCalib (double a_value) const |
| CalibType | getCalibType () |
| void | setTime (uint32_t a_t) |
| sets the experiment time during the processing in time since epoch More... | |
| void | setTDiv (int a_timeDiv) |
| sets the divisor for which to consider the given time More... | |
| virtual | ~DetectorCalib () |
Protected Attributes | |
| double | m_quadScalar |
| double | m_scalar |
| scalar for the calibration More... | |
| double | m_offset |
| scalar for the calibration More... | |
Protected Attributes inherited from DetectorCalib | |
| CalibType | m_type |
| uint32_t | m_t |
| int | m_tDiv |
class used to apply a QuadraticCalibration to a measurement value inherits from above abc to provide common interface
| QuadraticCalib::QuadraticCalib | ( | ) |
returns a_value*a_value*m_quadScalar + a_value*m_scalar
default constuctor puts the class into a functional state with a qudratic sclaer value of 0, a scalar value of one and an offset value of zero (does nothing to the original value)

|
inlinevirtual |
returns a_value*a_value*m_quadScalar + a_value*m_scalar
Implements DetectorCalib.
|
virtual |
this is required to implement deep copies of derived classes and needs to be implemented for any inheriting class
Implements DetectorCalib.

|
virtual |
prints nothing by default
Reimplemented from DetectorCalib.
| void QuadraticCalib::setCalibration | ( | double | a_quadScalar, |
| double | a_scalar, | ||
| double | a_offset | ||
| ) |
| void QuadraticCalib::setOffset | ( | double | a_offset | ) |
| void QuadraticCalib::setQuadScalar | ( | double | a_quadScalar | ) |
| void QuadraticCalib::setScalar | ( | double | a_scalar | ) |
|
protected |
scalar for the calibration
|
protected |
|
protected |
scalar for the calibration