ATTPCROOT
0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
|
Go to the documentation of this file.
17 class TMemberInspector;
29 virtual std::unique_ptr<AtPadBase>
Clone()
const override;
45 static std::unique_ptr<AtPadFFT>
CreateFromFFT(
const TVirtualFFT *fft);
49 #endif //#ifndef ATPADFFT_H
virtual std::unique_ptr< AtPadBase > Clone() const override
void SetData(TraceTrans re, TraceTrans im)
Sets the real and imaginary parts of all frequency components.
static std::unique_ptr< AtPadFFT > CreateFromFFT(const TVirtualFFT *fft)
void SetPoint(int i, TComplex val)
Base class for AtPad composition pattern.
void SetPointIm(int i, Double_t val)
Sets the imaginary value of the ith frequency component.
void SetPointRe(int i, Double_t val)
Sets the real value of the ith frequency component.
Double_t GetPointRe(int i) const
Returns the real part of the ith frequency compnent.
Double_t GetPointIm(int i) const
Returns the imaginary part of the ith frequency compnent.
ClassDefOverride(AtPadFFT, 1)
Double_t GetPointPhase(int i) const
Returns the phase of the ith frequency compnent (-pi,pi].
std::array< Double_t, 512/2+1 > TraceTrans
TComplex GetPointComplex(int i) const
void GetDataFromFFT(const TVirtualFFT *fft)
Sets the real and imaginary parts of all frequency components from the TVirtualFFT.
std::pair< Double_t, Double_t > GetPoint(int i) const
Double_t GetPointMag(int i) const
Returns the magnitude of the ith frequency compnent.
void SetFFTData(TVirtualFFT *fft)
Sets the real and imaginary parts of all frequency components in a TVirtualFFT.