15 fPulserDelayThresholdDown= GetInt(
"PulserDelayLow",0);
16 fPulserDelayThresholdUp= GetInt(
"PulserDelayHigh",45000);
31 Debug(
"Chan %d: Pulser Delay %d",chan,pulserDelay);
33 if(pulserDelay < fPulserDelayThresholdDown || pulserDelay > fPulserDelayThresholdUp)
return false;
#define REGISTER_MODULE(clazz)
one-line description of your filter
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
bool Filter(const Diana::QEvent &ev)
return true if ev passes the cuts
void Require(const std::string &owner, const std::string &name) const
notify the QEvent that we need a QObject, if not found an exception is thrown
void Get(const char *owner, ReadHandle< Q > &handle) const
Get a QObject Handle in read mode.
Raw event: bolometer channel, trigger positions and types.
const QSampleInfo & GetMasterSample() const
Get MasterSample.
bool GetIsPulser() const
Get IsPulser.
const int & GetChannelId() const
Get ChannelId.
Int_t GetPulserDelay() const
Get pulser delay. Valid for IsPulser.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...