Public Member Functions | |
QEleCheckLoadCurve (unsigned int lg) | |
ctor | |
virtual | ~QEleCheckLoadCurve () |
dtor | |
virtual void | Dump (std::ostream &os) const |
dump curve to ostream | |
Protected Member Functions | |
virtual QLCBaseMeasurement * | FillMeasurement (const Cuore::QEvent *ev, const QEleChannelConfig *config) const |
read from ev physical quantities evaluated by diana modules and store them in the returned object | |
virtual void | ClassifyMeasurement (const QLCBaseMeasurement *meas) |
measurements are classified based on test signal parameters | |
virtual void | ProcessCurveChild () |
virtual void | SetOutputConfig () |
virtual void | SetIsActive () |
Private Attributes | |
std::map< int, std::list < const QLCEleCheckMeasurement * > > | fClassifiedMeasurements |
int | fIsWorking |
TGraphErrors * | fGraph |
QLCBaseMeasurement * QEleCheckLoadCurve::FillMeasurement | ( | const Cuore::QEvent * | ev, | |
const QEleChannelConfig * | config | |||
) | const [protected, virtual] |
read from ev physical quantities evaluated by diana modules and store them in the returned object
config | const ptr to QEleChannelConfig object |
References QLCEleCheckMeasurement::SetBaselineMv(), and QLCEleCheckMeasurement::SetBaselineRmsMv().
void QEleCheckLoadCurve::ClassifyMeasurement | ( | const QLCBaseMeasurement * | meas | ) | [protected, virtual] |
measurements are classified based on test signal parameters
The parameters are test_signal_pos-test_signal_neg and test_signal_pol (or something like that...)
References fClassifiedMeasurements, QEleChannelConfig::GetTestSignalNeg(), and QEleChannelConfig::GetTestSignalPos().
void QEleCheckLoadCurve::ProcessCurveChild | ( | ) | [protected, virtual] |
fit the measurements with a straight line.
The index i runs over all the measurements performed with a given value of x.
The channel is assumed to work if the fit has a non null slope (within the error).
References fClassifiedMeasurements, fGraph, fIsWorking, QOnlineMessenger::OLInfo(), and QOnlineMessenger::OLWarn().
void QEleCheckLoadCurve::SetOutputConfig | ( | ) | [protected, virtual] |
Output configuration corresponds to the input ones but for the input signal configuration (all input configuration are expected to be the same but for the value of the test signals). If the channel was found to be working, the input signal is set to "bolometer", otherwise it is left to "test signal".
References fClassifiedMeasurements, and fIsWorking.
virtual void QEleCheckLoadCurve::SetIsActive | ( | ) | [inline, protected, virtual] |
this is determined based on the outcome of ProcessCurveChild()
References fIsWorking.
std::map<int, std::list<const QLCEleCheckMeasurement*> > QEleCheckLoadCurve::fClassifiedMeasurements [private] |
key: test_sig_pos-test_sig_neg, value: corresponding measurements
Referenced by ClassifyMeasurement(), Dump(), ProcessCurveChild(), and SetOutputConfig().
int QEleCheckLoadCurve::fIsWorking [private] |
Set by the ProcessChild() method. This variable tells whether or not the electronics channel associated to this curve is working.
It can have three values:
Referenced by ProcessCurveChild(), SetIsActive(), and SetOutputConfig().
TGraphErrors* QEleCheckLoadCurve::fGraph [private] |
used to store informations in the final data processing phase
Referenced by Dump(), ProcessCurveChild(), and ~QEleCheckLoadCurve().