Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AnitaResponse::Response Class Reference

#include <SystemResponse.h>

Public Member Functions

 Response (int NFreq, double df)
 
 Response (const TGraph *time_domain, int npad)
 
 Response (int Nfreq, double df, int nangles, const double *angles, const FFTWComplex **responses)
 
 Response (int Nfreq, double df, const FFTWComplex *response)
 
void addResponseAtAngle (double angle, const FFTWComplex *response)
 
virtual FFTWComplex getResponse (double f, double angle=0) const
 
const TH2 * getReal () const
 
const TH2 * getImag () const
 
- Public Member Functions inherited from AnitaResponse::AbstractResponse
virtual FFTWComplexgetResponseArray (int N, const double *f, double angle=0, FFTWComplex *answer=0) const
 
virtual FFTWComplexgetResponseArray (int N, double df, double angle=0, FFTWComplex *answer=0) const
 
virtual double getMagnitude (double f, double angle=0) const
 
virtual double getPhase (double f, double angle=0) const
 
virtual AnalysisWaveformimpulseResponse (double dt=1./2.6, int N=256) const
 
virtual AnalysisWaveformconvolve (const AnalysisWaveform *wf, double angle=0) const
 
virtual AnalysisWaveformdeconvolve (const AnalysisWaveform *wf, const DeconvolutionMethod *method=&kDefaultDeconvolution, double angle=0) const
 
virtual void convolveInPlace (AnalysisWaveform *wf, double angle=0) const
 
virtual void deconvolveInPlace (AnalysisWaveform *wf, const DeconvolutionMethod *method=&kDefaultDeconvolution, double angle=0) const
 

Protected Member Functions

void recompute () const
 

Protected Attributes

TMutex lock
 
int Nfreq
 
double df
 
int nangles
 
std::map< double, FFTWComplex * > responses
 
TH2D real
 
TH2D imag
 
bool dirty
 

Detailed Description

This class is a bit over-engineered right now since it supports responses at different angles

Definition at line 237 of file SystemResponse.h.

Inheritance diagram for AnitaResponse::Response:
Inheritance graph
[legend]
Collaboration diagram for AnitaResponse::Response:
Collaboration graph
[legend]

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