Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
Online trace analysis. 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) |
void | EndAnalyze (Trace &trace) |
void | EndAnalyze (void) |
void | SetLevel (int i) |
int | GetLevel () |
Protected Attributes | |
int | level |
the level of analysis to proceed with | |
std::string | name |
name of the analyzer | |
Static Protected Attributes | |
static int | numTracesAnalyzed |
rownumber for DAMM spectrum 850 | |
Private Attributes | |
tms | tmsBegin |
time at which the analyzer began | |
double | userTime |
user time used by this class | |
double | systemTime |
system time used by this class | |
double | clocksPerSecond |
frequency of system clock | |
Online trace analysis.
Simple class which is the basis for all types of trace analysis
TraceAnalyzer::TraceAnalyzer | ( | ) |
Default Constructor
|
virtual |
Default Destructor
|
virtual |
Function to analyze a trace online.
[in] | trace | the trace |
[in] | type | : the type of detector |
[in] | subtype | : the subtype of the detector |
Reimplemented in DoubleTraceAnalyzer, TraceFilterer, TraceExtractor, FittingAnalyzer, TauAnalyzer, CfdAnalyzer, and WaveformAnalyzer.
|
inlinevirtual |
Declare Plots (empty for now)
Reimplemented in DoubleTraceAnalyzer, TraceFilterer, TraceExtractor, and FittingAnalyzer.
void TraceAnalyzer::EndAnalyze | ( | Trace & | trace | ) |
End the analysis and record the analyzer level in the trace
[in] | trace | : the trace |
void TraceAnalyzer::EndAnalyze | ( | void | ) |
Finish analysis updating the analyzer timing information
|
inline |
|
inlinevirtual |
Initializes the Analyzer
Reimplemented in DoubleTraceAnalyzer.
|
inline |
Set the level of the trace analysis
[in] | i | : the level of the analysis to be done |