REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Protected Attributes
TRestRawFFT Class Reference

Detailed Description




         RESTSoft : Software for Rare Event Searches with TPCs

         TRestRawFFT.cxx

         Event class to help for using TFFT

         dec 2015:   First concept
             Created as part of the conceptualization of existing REST
             software.
             Javier Galan

Definition at line 27 of file TRestRawFFT.h.

#include <TRestRawFFT.h>

Inheritance diagram for TRestRawFFT:

Public Member Functions

void ApplyLowPassFilter (Int_t cutFrequency)
 
void ApplyResponse (TRestRawFFT *fftInput, Int_t cutOff)
 
void BackwardFFT ()
 
void ButterWorthFilter (Int_t cutOff, Int_t order)
 
void DivideBy (TRestRawFFT *fftInput, Int_t from=0, Int_t to=0)
 
void ForwardSignalFFT (TRestRawSignal *sgnl, Int_t fNStart=0, Int_t fNEnd=0)
 
void GaussianSecondOrderResponse (Double_t f1, Double_t f2, Double_t Ao, Double_t sigma)
 
Double_t GetFrequencyAmplitudeImg (Int_t n)
 
Double_t GetFrequencyAmplitudeReal (Int_t n)
 
Double_t GetFrequencyNorm2 (Int_t n)
 
Int_t GetNfft () const
 
void GetSignal (TRestRawSignal *sgnl)
 
void KillFrequencies (Int_t cutOff)
 
void MultiplyBy (TRestRawFFT *fftInput, Int_t from=0, Int_t to=0)
 
void ProduceDelta (Int_t t_o, Int_t Nfft)
 
void RemoveBaseline ()
 
void RenormalizeNode (Int_t n, Double_t factor)
 
void SetNfft (Int_t n)
 
void SetNode (Int_t n, Double_t real, Double_t img=0)
 
void SetSecondOrderAnalyticalResponse (Double_t f1, Double_t f2, Double_t to)
 
void WriteFrequencyToTextFile (TString filename)
 
void WriteTimeSignalToTextFile (TString filename)
 

Protected Attributes

TArrayD fFrequencyImg
 
TArrayD fFrequencyReal
 
Int_t fNfft
 
TArrayD fTimeImg
 
TArrayD fTimeReal
 

Constructor & Destructor Documentation

◆ TRestRawFFT()

TRestRawFFT::TRestRawFFT ( )

Definition at line 27 of file TRestRawFFT.cxx.

◆ ~TRestRawFFT()

TRestRawFFT::~TRestRawFFT ( )

Definition at line 31 of file TRestRawFFT.cxx.

Member Function Documentation

◆ ApplyLowPassFilter()

void TRestRawFFT::ApplyLowPassFilter ( Int_t  cutFrequency)

Definition at line 186 of file TRestRawFFT.cxx.

◆ ApplyResponse()

void TRestRawFFT::ApplyResponse ( TRestRawFFT fftInput,
Int_t  cutOff 
)

Definition at line 147 of file TRestRawFFT.cxx.

◆ BackwardFFT()

void TRestRawFFT::BackwardFFT ( )

Definition at line 70 of file TRestRawFFT.cxx.

◆ ButterWorthFilter()

void TRestRawFFT::ButterWorthFilter ( Int_t  cutOff,
Int_t  order 
)

Definition at line 171 of file TRestRawFFT.cxx.

◆ DivideBy()

void TRestRawFFT::DivideBy ( TRestRawFFT fftInput,
Int_t  from = 0,
Int_t  to = 0 
)

Definition at line 128 of file TRestRawFFT.cxx.

◆ ForwardSignalFFT()

void TRestRawFFT::ForwardSignalFFT ( TRestRawSignal sgnl,
Int_t  fNStart = 0,
Int_t  fNEnd = 0 
)

Definition at line 51 of file TRestRawFFT.cxx.

◆ GaussianSecondOrderResponse()

void TRestRawFFT::GaussianSecondOrderResponse ( Double_t  f1,
Double_t  f2,
Double_t  Ao,
Double_t  sigma 
)

Definition at line 195 of file TRestRawFFT.cxx.

◆ GetFrequencyAmplitudeImg()

Double_t TRestRawFFT::GetFrequencyAmplitudeImg ( Int_t  n)
inline

Definition at line 39 of file TRestRawFFT.h.

◆ GetFrequencyAmplitudeReal()

Double_t TRestRawFFT::GetFrequencyAmplitudeReal ( Int_t  n)
inline

Definition at line 38 of file TRestRawFFT.h.

◆ GetFrequencyNorm2()

Double_t TRestRawFFT::GetFrequencyNorm2 ( Int_t  n)

Definition at line 44 of file TRestRawFFT.cxx.

◆ GetNfft()

Int_t TRestRawFFT::GetNfft ( ) const
inline

Definition at line 43 of file TRestRawFFT.h.

◆ GetSignal()

void TRestRawFFT::GetSignal ( TRestRawSignal sgnl)

Definition at line 104 of file TRestRawFFT.cxx.

◆ KillFrequencies()

void TRestRawFFT::KillFrequencies ( Int_t  cutOff)

Definition at line 162 of file TRestRawFFT.cxx.

◆ MultiplyBy()

void TRestRawFFT::MultiplyBy ( TRestRawFFT fftInput,
Int_t  from = 0,
Int_t  to = 0 
)

Definition at line 109 of file TRestRawFFT.cxx.

◆ ProduceDelta()

void TRestRawFFT::ProduceDelta ( Int_t  t_o,
Int_t  Nfft 
)

Definition at line 84 of file TRestRawFFT.cxx.

◆ RemoveBaseline()

void TRestRawFFT::RemoveBaseline ( )

Definition at line 253 of file TRestRawFFT.cxx.

◆ RenormalizeNode()

void TRestRawFFT::RenormalizeNode ( Int_t  n,
Double_t  factor 
)

Definition at line 260 of file TRestRawFFT.cxx.

◆ SetNfft()

void TRestRawFFT::SetNfft ( Int_t  n)

Definition at line 35 of file TRestRawFFT.cxx.

◆ SetNode()

void TRestRawFFT::SetNode ( Int_t  n,
Double_t  real,
Double_t  img = 0 
)
inline

Definition at line 50 of file TRestRawFFT.h.

◆ SetSecondOrderAnalyticalResponse()

void TRestRawFFT::SetSecondOrderAnalyticalResponse ( Double_t  f1,
Double_t  f2,
Double_t  to 
)

Definition at line 224 of file TRestRawFFT.cxx.

◆ WriteFrequencyToTextFile()

void TRestRawFFT::WriteFrequencyToTextFile ( TString  filename)

Definition at line 268 of file TRestRawFFT.cxx.

◆ WriteTimeSignalToTextFile()

void TRestRawFFT::WriteTimeSignalToTextFile ( TString  filename)

Definition at line 275 of file TRestRawFFT.cxx.

Field Documentation

◆ fFrequencyImg

TArrayD TRestRawFFT::fFrequencyImg
protected

Definition at line 34 of file TRestRawFFT.h.

◆ fFrequencyReal

TArrayD TRestRawFFT::fFrequencyReal
protected

Definition at line 33 of file TRestRawFFT.h.

◆ fNfft

Int_t TRestRawFFT::fNfft
protected

Definition at line 29 of file TRestRawFFT.h.

◆ fTimeImg

TArrayD TRestRawFFT::fTimeImg
protected

Definition at line 32 of file TRestRawFFT.h.

◆ fTimeReal

TArrayD TRestRawFFT::fTimeReal
protected

Definition at line 31 of file TRestRawFFT.h.


The documentation for this class was generated from the following files: