ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
7 #include <TVirtualFFT.h>
51 std::unique_ptr<TVirtualFFT>
fFFT{
nullptr};
85 bool isValidFreqRange(
const AtFreqRange &range);
86 bool doesFreqRangeOverlap(
const AtFreqRange &range);
87 double getFilterKernel(
int freq,
int fFilterOrder,
int fCutoffFreq);
90 #endif //#ifndef ATFFTFILTER_H
void SetSaveTransform(bool saveTransform)
Bool_t fSubtractBackground
std::vector< AtFreqRange > FreqRanges
std::unique_ptr< TVirtualFFT > fFFTbackward
static constexpr Int_t fTransformSize
void Filter(AtPad *pad, AtPadReference *padReference) override
void InitEvent(AtRawEvent *event=nullptr) override
Called once for each event at the start of the Exec phase.
const FreqRanges & GetFreqRanges()
bool AddFreqRange(AtFreqRange range)
virtual std::unique_ptr< AtPadFFT > applyFrequencyCutsAndSetInverseFFT()
void Init() override
Called at the init stage of the AtFilterTask.
std::map< Int_t, Double_t > fFactors
void SetLowPass(int order, int cuttoff)
std::unique_ptr< TVirtualFFT > fFFT
Container class for AtPadBase objects.
friend bool operator<(const AtFreqRange &lhs, const AtFreqRange &rhs)
void SetSubtractBackground(bool subtractBackground)
bool IsGoodEvent() override
Called at the end of an event. Returns if filtering was successful.
bool GetSubtractBackground()