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


Public Types | |
| using | TraceTrans = std::array< Double_t, 512/2+1 > |
Public Member Functions | |
| virtual std::unique_ptr< AtPadBase > | Clone () const override |
| Double_t | GetPointRe (int i) const |
| Returns the real part of the ith frequency compnent. More... | |
| Double_t | GetPointIm (int i) const |
| Returns the imaginary part of the ith frequency compnent. More... | |
| Double_t | GetPointMag (int i) const |
| Returns the magnitude of the ith frequency compnent. More... | |
| Double_t | GetPointPhase (int i) const |
| Returns the phase of the ith frequency compnent (-pi,pi]. More... | |
| TComplex | GetPointComplex (int i) const |
| std::pair< Double_t, Double_t > | GetPoint (int i) const |
| void | SetPointRe (int i, Double_t val) |
| Sets the real value of the ith frequency component. More... | |
| void | SetPointIm (int i, Double_t val) |
| Sets the imaginary value of the ith frequency component. More... | |
| void | SetPoint (int i, TComplex val) |
| void | SetData (TraceTrans re, TraceTrans im) |
| Sets the real and imaginary parts of all frequency components. More... | |
| void | GetDataFromFFT (const TVirtualFFT *fft) |
| Sets the real and imaginary parts of all frequency components from the TVirtualFFT. More... | |
| void | SetFFTData (TVirtualFFT *fft) |
| Sets the real and imaginary parts of all frequency components in a TVirtualFFT. More... | |
| ClassDefOverride (AtPadFFT, 1) | |
Public Member Functions inherited from AtPadBase | |
| virtual | ~AtPadBase ()=default |
| ClassDefOverride (AtPadBase, 1) | |
Static Public Member Functions | |
| static std::unique_ptr< AtPadFFT > | CreateFromFFT (const TVirtualFFT *fft) |
Protected Attributes | |
| TraceTrans | fRe |
| TraceTrans | fIm |
Definition at line 19 of file AtPadFFT.h.
| using AtPadFFT::TraceTrans = std::array<Double_t, 512 / 2 + 1> |
Definition at line 21 of file AtPadFFT.h.
| AtPadFFT::ClassDefOverride | ( | AtPadFFT | , |
| 1 | |||
| ) |
|
overridevirtual |
Implements AtPadBase.
Definition at line 9 of file AtPadFFT.cxx.
|
static |
Definition at line 112 of file AtPadFFT.cxx.
| void AtPadFFT::GetDataFromFFT | ( | const TVirtualFFT * | fft | ) |
Sets the real and imaginary parts of all frequency components from the TVirtualFFT.
Definition at line 84 of file AtPadFFT.cxx.
|
inline |
Definition at line 36 of file AtPadFFT.h.
|
inline |
Definition at line 35 of file AtPadFFT.h.
| Double_t AtPadFFT::GetPointIm | ( | int | i | ) | const |
Returns the imaginary part of the ith frequency compnent.
Definition at line 29 of file AtPadFFT.cxx.
| Double_t AtPadFFT::GetPointMag | ( | int | i | ) | const |
Returns the magnitude of the ith frequency compnent.
Definition at line 39 of file AtPadFFT.cxx.
| Double_t AtPadFFT::GetPointPhase | ( | int | i | ) | const |
Returns the phase of the ith frequency compnent (-pi,pi].
Definition at line 46 of file AtPadFFT.cxx.
| Double_t AtPadFFT::GetPointRe | ( | int | i | ) | const |
Returns the real part of the ith frequency compnent.
Definition at line 17 of file AtPadFFT.cxx.
| void AtPadFFT::SetData | ( | TraceTrans | re, |
| TraceTrans | im | ||
| ) |
Sets the real and imaginary parts of all frequency components.
Definition at line 74 of file AtPadFFT.cxx.
| void AtPadFFT::SetFFTData | ( | TVirtualFFT * | fft | ) |
Sets the real and imaginary parts of all frequency components in a TVirtualFFT.
Definition at line 100 of file AtPadFFT.cxx.
| void AtPadFFT::SetPoint | ( | int | i, |
| TComplex | val | ||
| ) |
Definition at line 105 of file AtPadFFT.cxx.
| void AtPadFFT::SetPointIm | ( | int | i, |
| Double_t | val | ||
| ) |
Sets the imaginary value of the ith frequency component.
Definition at line 63 of file AtPadFFT.cxx.
| void AtPadFFT::SetPointRe | ( | int | i, |
| Double_t | val | ||
| ) |
Sets the real value of the ith frequency component.
Definition at line 53 of file AtPadFFT.cxx.
|
protected |
Definition at line 26 of file AtPadFFT.h.
|
protected |
Definition at line 25 of file AtPadFFT.h.
1.8.18