Public Member Functions | |
AnitaTemplateMachine (const int inLength=2048) | |
Default Constructor. More... | |
~AnitaTemplateMachine () | |
void | zeroInternals () |
void | loadTemplates (unsigned int evTime=0, int version=AnitaVersion::get()) |
void | deconvolveTemplates (AnitaResponse::DeconvolutionMethod *deconv) |
bool | isTmpltsLoaded () |
bool | isTmpltsDeconv () |
void | doTemplateAnalysis (const AnalysisWaveform *waveform, int poli, int dir, AnitaTemplateSummary *summary, bool do_impulse=true, bool do_wais=true, bool do_cr=true) |
void | doDeconvolvedTemplateAnalysis (const AnalysisWaveform *waveform, const AnitaResponse::DeconvolutionMethod *deconv, int poli, int dir, AnitaTemplateSummary *summary, bool do_impulse=true, bool do_wais=true, bool do_cr=true) |
void | writeTemplatesToFile (TFile *outFile) |
void | setUseAverageCRTemplate (bool opt) |
void | setDoWindow (bool opt) |
std::string | getNotchStr () |
Public Attributes | |
const int | length |
const double | dT |
FFTWComplex * | theImpTemplateFFT |
TGraph * | theImpTemplate |
FFTWComplex * | theWaisTemplateFFT |
TGraph * | theWaisTemplate |
FFTWComplex * | theCRTemplateFFTs [numCRTemplates] |
TGraph * | theCRTemplates [numCRTemplates] |
FFTWComplex * | theImpTemplateFFT_deconv |
TGraph * | theImpTemplate_deconv |
FFTWComplex * | theWaisTemplateFFT_deconv |
TGraph * | theWaisTemplate_deconv |
FFTWComplex * | theCRTemplateFFTs_deconv [numCRTemplates] |
TGraph * | theCRTemplates_deconv [numCRTemplates] |
Static Public Attributes | |
static const int | numCRTemplates = 10 |
Definition at line 37 of file AnitaTemplates.h.
AnitaTemplateMachine::AnitaTemplateMachine | ( | const int | inLength = 2048 | ) |
Default Constructor.
Default Constructor
AnitaTemplateMachine Default constructor for ROOT
Definition at line 41 of file AnitaTemplates.cc.
AnitaTemplateMachine::~AnitaTemplateMachine | ( | ) |
Default Destructor
Definition at line 64 of file AnitaTemplates.cc.
void AnitaTemplateMachine::deconvolveTemplates | ( | AnitaResponse::DeconvolutionMethod * | deconv | ) |
void AnitaTemplateMachine::doTemplateAnalysis | ( | const AnalysisWaveform * | waveform, |
int | poli, | ||
int | dir, | ||
AnitaTemplateSummary * | summary, | ||
bool | do_impulse = true , |
||
bool | do_wais = true , |
||
bool | do_cr = true |
||
) |
use the templates, and a supplied AnalysisWaveform, to fill up the summary
Definition at line 421 of file AnitaTemplates.cc.
|
inline |
Flags
Definition at line 84 of file AnitaTemplates.h.
void AnitaTemplateMachine::loadTemplates | ( | unsigned int | evTime = 0 , |
int | version = AnitaVersion::get() |
||
) |
Filling the stored templates
Definition at line 302 of file AnitaTemplates.cc.
void AnitaTemplateMachine::writeTemplatesToFile | ( | TFile * | outFile | ) |
Write templates to file
Definition at line 721 of file AnitaTemplates.cc.
void AnitaTemplateMachine::zeroInternals | ( | ) |
in case you want to reset for some reason
Definition at line 69 of file AnitaTemplates.cc.
const int AnitaTemplateMachine::length |
template waveform defaults
Definition at line 50 of file AnitaTemplates.h.
FFTWComplex* AnitaTemplateMachine::theImpTemplateFFT |
Template Storage
Definition at line 55 of file AnitaTemplates.h.