ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file. 1 #ifndef ATTRAPEZOIDFILTER_H
2 #define ATTRAPEZOIDFILTER_H
20 Int_t fDiscriminatorThreshold;
24 std::vector<Float_t> d;
26 void setSignalStart(
AtPad *pad);
27 void zeroSignalBeforeStart(
AtPad *pad);
28 void setDVector(
AtPad *pad);
35 void SetM(Float_t m) { fM = m; }
40 Float_t
GetM() {
return fM; }
44 virtual void Init()
override {}
50 #endif //#ifndef ATTRAPEZOIDFILTER_H
virtual void Filter(AtPad *pad, AtPadReference *padReference) override
Called to filter each pad.
void SetTopTime(Int_t topTime)
virtual bool IsGoodEvent() override
Called at the end of an event. Returns if filtering was successful.
virtual void Init() override
Called at the init stage of the AtFilterTask.
void SetDiscriminatorThreshold(Int_t threshold)
virtual void InitEvent(AtRawEvent *event) override
Called once for each event at the start of the Exec phase.
void SetRiseTime(Int_t riseTime)
Container class for AtPadBase objects.