ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtFilterZero.h>
Public Member Functions | |
void | SetThreshold (double val) |
virtual void | Init () override |
Called at the init stage of the AtFilterTask. More... | |
virtual void | InitEvent (AtRawEvent *) override |
Called once for each event at the start of the Exec phase. More... | |
virtual void | Filter (AtPad *pad, AtPadReference *padReference) override |
Called to filter each pad. More... | |
virtual bool | IsGoodEvent () override |
Called at the end of an event. Returns if filtering was successful. More... | |
![]() | |
virtual | ~AtFilter ()=default |
virtual AtRawEvent * | ConstructOutputEvent (TClonesArray *outputEventArray, AtRawEvent *inputEvent) |
Construct output event from input event array. More... | |
Class to look through traces and attempt to fill in any missing data by taking the average of the two neighboring timebuckets. It will do a sanity check and if the difference between the two neighboring time buckets is above a certain threshold, then it will just copy the value of the TB just before the missing data.
Definition at line 17 of file AtFilterZero.h.
|
overridevirtual |
Called to filter each pad.
Optional padRef currently only used by SCA filter (10/20/22).
[in] | pad | Pad to filter. |
[in[ | padRefernece optional parameter only needed when when filtering FPN channels. |
Implements AtFilter.
Definition at line 7 of file AtFilterZero.cxx.
|
inlineoverridevirtual |
Called at the init stage of the AtFilterTask.
Implements AtFilter.
Definition at line 25 of file AtFilterZero.h.
|
inlineoverridevirtual |
Called once for each event at the start of the Exec phase.
Implements AtFilter.
Definition at line 26 of file AtFilterZero.h.
|
inlineoverridevirtual |
Called at the end of an event. Returns if filtering was successful.
Implements AtFilter.
Definition at line 28 of file AtFilterZero.h.
|
inline |
Definition at line 23 of file AtFilterZero.h.