Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
FittingAnalyzer Class Reference

Analyzer that handles the fitting of traces for High Resolution Timing. More...

#include <FittingAnalyzer.hpp>

Inheritance diagram for FittingAnalyzer:
Collaboration diagram for FittingAnalyzer:

Data Structures

struct  FitData
 Structure necessary for the GSL fitting routines. More...
 

Public Member Functions

 FittingAnalyzer ()
 
 ~FittingAnalyzer ()
 
virtual void DeclarePlots (void)
 
virtual void Analyze (Trace &trace, const std::string &detType, const std::string &detSubtype)
 
double CalculateWalk (const double &val, const std::string &type, const std::string &subType)
 
- Public Member Functions inherited from TraceAnalyzer
 TraceAnalyzer ()
 
virtual ~TraceAnalyzer ()
 
virtual bool Init (void)
 
void EndAnalyze (Trace &trace)
 
void EndAnalyze (void)
 
void SetLevel (int i)
 
int GetLevel ()
 

Additional Inherited Members

- Protected Attributes inherited from TraceAnalyzer
int level
 the level of analysis to proceed with
 
std::string name
 name of the analyzer
 
- Static Protected Attributes inherited from TraceAnalyzer
static int numTracesAnalyzed
 rownumber for DAMM spectrum 850
 

Detailed Description

Analyzer that handles the fitting of traces for High Resolution Timing.

Constructor & Destructor Documentation

FittingAnalyzer::FittingAnalyzer ( )

Default Constructor

FittingAnalyzer::~FittingAnalyzer ( )
inline

Default Destructor

Member Function Documentation

virtual void FittingAnalyzer::Analyze ( Trace trace,
const std::string &  detType,
const std::string &  detSubtype 
)
virtual

Analyzes the traces

Parameters
[in]trace: the trace to analyze
[in]detType: the detector type we have
[in]detSubtype: the subtype of the detector

Reimplemented from TraceAnalyzer.

double FittingAnalyzer::CalculateWalk ( const double &  val,
const std::string &  type,
const std::string &  subType 
)
Returns
the walk of the specified channel due to the fitting function
Parameters
[in]val: The Maximum Value in the trace
[in]type: the detector type that we are working with
[in]subType: the detector subtype that we are working with
virtual void FittingAnalyzer::DeclarePlots ( void  )
virtual

Declare plots for the analyzer

Reimplemented from TraceAnalyzer.


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