|
ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
#include <AtFilterDivide.h>


Public Member Functions | |
| void | SetDivisor (Double_t divisor) |
| Double_t | GetDivisor () |
| virtual void | Init () override |
| Called at the init stage of the AtFilterTask. More... | |
| virtual void | InitEvent (AtRawEvent *event) 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... | |
Public Member Functions inherited from AtFilter | |
| virtual | ~AtFilter ()=default |
| virtual AtRawEvent * | ConstructOutputEvent (TClonesArray *outputEventArray, AtRawEvent *inputEvent) |
| Construct output event from input event array. More... | |
Example filter to divide the signal by some amount specified at run time
Definition at line 15 of file AtFilterDivide.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 18 of file AtFilterDivide.cxx.
|
inline |
Definition at line 22 of file AtFilterDivide.h.
|
overridevirtual |
Called at the init stage of the AtFilterTask.
Implements AtFilter.
Definition at line 14 of file AtFilterDivide.cxx.
|
overridevirtual |
Called once for each event at the start of the Exec phase.
Implements AtFilter.
Definition at line 16 of file AtFilterDivide.cxx.
|
overridevirtual |
Called at the end of an event. Returns if filtering was successful.
Implements AtFilter.
Definition at line 27 of file AtFilterDivide.cxx.
| void AtFilterDivide::SetDivisor | ( | Double_t | divisor | ) |
Definition at line 9 of file AtFilterDivide.cxx.
1.8.18