PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Abstract class that all trace analyzers are derived from. More...
#include <TraceAnalyzer.hpp>
Public Member Functions | |
TraceAnalyzer () | |
virtual | ~TraceAnalyzer () |
virtual bool | Init (void) |
virtual void | DeclarePlots (void) |
virtual void | Analyze (Trace &trace, const std::string &type, const std::string &subtype) |
virtual void | Analyze (Trace &trace, const std::string &type, const std::string &subtype, const std::map< std::string, int > &tagMap) |
void | EndAnalyze (Trace &trace) |
void | EndAnalyze (void) |
void | SetLevel (int i) |
int | GetLevel () |
Protected Attributes | |
int | level |
the level of analysis to proceed with More... | |
std::string | name |
name of the analyzer More... | |
Static Protected Attributes | |
static int | numTracesAnalyzed = 0 |
rownumber for DAMM spectrum 850 More... | |
Private Attributes | |
tms | tmsBegin |
time at which the analyzer began More... | |
double | userTime |
user time used by this class More... | |
double | systemTime |
system time used by this class More... | |
double | clocksPerSecond |
frequency of system clock More... | |
Abstract class that all trace analyzers are derived from.
Definition at line 16 of file TraceAnalyzer.hpp.
TraceAnalyzer::TraceAnalyzer | ( | ) |
Default Constructor
Definition at line 28 of file TraceAnalyzer.cpp.
|
virtual |
Default Destructor
Definition at line 36 of file TraceAnalyzer.cpp.
|
virtual |
Function to analyze a trace online.
[in] | trace | the trace |
[in] | type | : the type of detector |
[in] | subtype | : the subtype of the detector |
Definition at line 43 of file TraceAnalyzer.cpp.
|
virtual |
Function to analyze a trace online.
[in] | trace | the trace |
[in] | type | : the type of detector |
[in] | subtype | : the subtype of the detector |
[in] | tagMap | : takes a map of all the tags that the channel has |
Reimplemented in TraceExtractor, TraceFilterAnalyzer, FittingAnalyzer, CfdAnalyzer, TauAnalyzer, WaveformAnalyzer, and WaaAnalyzer.
Definition at line 52 of file TraceAnalyzer.cpp.
|
inlinevirtual |
Declare Plots (empty for now)
Reimplemented in TraceExtractor, TraceFilterAnalyzer, and WaaAnalyzer.
Definition at line 27 of file TraceAnalyzer.hpp.
void TraceAnalyzer::EndAnalyze | ( | Trace & | trace | ) |
End the analysis and record the analyzer level in the trace
[in] | trace | : the trace |
Definition at line 61 of file TraceAnalyzer.cpp.
void TraceAnalyzer::EndAnalyze | ( | void | ) |
Finish analysis updating the analyzer timing information
Definition at line 66 of file TraceAnalyzer.cpp.
|
inline |
Definition at line 52 of file TraceAnalyzer.hpp.
|
inlinevirtual |
Initializes the Analyzer
Definition at line 25 of file TraceAnalyzer.hpp.
|
inline |
Set the level of the trace analysis
[in] | i | : the level of the analysis to be done |
Definition at line 50 of file TraceAnalyzer.hpp.
|
private |
frequency of system clock
Definition at line 61 of file TraceAnalyzer.hpp.
|
protected |
the level of analysis to proceed with
Definition at line 54 of file TraceAnalyzer.hpp.
|
protected |
name of the analyzer
Definition at line 56 of file TraceAnalyzer.hpp.
|
staticprotected |
rownumber for DAMM spectrum 850
number of analyzed traces
Definition at line 55 of file TraceAnalyzer.hpp.
|
private |
system time used by this class
Definition at line 60 of file TraceAnalyzer.hpp.
|
private |
time at which the analyzer began
Definition at line 58 of file TraceAnalyzer.hpp.
|
private |
user time used by this class
Definition at line 59 of file TraceAnalyzer.hpp.