15 fnPeaks = GetInt(
"NumberOfPeaks", -1);
16 fBaselineSlope = GetDouble(
"MaxBaselineSlope", 0,
false);
31 double bs = ev.
Get<
QBaselineData>(
"BaselineModule",
"BaselineData").GetBaselineSlope();
32 if(bs > fBaselineSlope || bs < (-1*fBaselineSlope))
38 int numberOfPulses = ev.
Get<
QCountPulsesData>(
"BCountPulses",
"CountPulsesData").GetNumberOfPulses();
41 if(numberOfPulses > 0) result =
false;
43 if(fnPeaks >= 0 && numberOfPulses != fnPeaks) result =
false;
#define REGISTER_MODULE(clazz)
number of pulses and time interval beetwen peaks in the same acquired window
void Get(const char *owner, ReadHandle< Q > &handle) const
Get a QObject Handle in read mode.
Raw event: bolometer channel, trigger positions and types.
bool GetIsSignal() const
Get IsSignal.
bool GetIsNoise() const
Get IsNoise.
bool GetIsPulser() const
Get IsPulser.
bool fIsSaturatedLow
IsSaturatedLow.
bool fIsSaturatedHigh
IsSaturatedHigh.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...