PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
A class to extract traces from events. More...
#include <TraceExtractor.hpp>
Public Member Functions | |
TraceExtractor () | |
TraceExtractor (const std::string &aType, const std::string &aSubtype, const std::string &aTag="") | |
~TraceExtractor () | |
virtual void | DeclarePlots (void) |
virtual void | Analyze (Trace &trace, const std::string &aType, const std::string &aSubtype, const std::map< std::string, int > &tags) |
![]() | |
TraceAnalyzer () | |
virtual | ~TraceAnalyzer () |
virtual bool | Init (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 | |
std::string | type |
the detector type More... | |
std::string | subtype |
The detector subtype. More... | |
std::string | tag |
The tags for the detector. More... | |
![]() | |
int | level |
the level of analysis to proceed with More... | |
std::string | name |
name of the analyzer More... | |
Static Protected Attributes | |
static const unsigned int | traceBins |
The number of bins for the trace length. More... | |
static const unsigned int | numTraces = dammIds::trace::extractor::maxSingleTraces |
The number of traces to analyze. More... | |
![]() | |
static int | numTracesAnalyzed = 0 |
rownumber for DAMM spectrum 850 More... | |
A class to extract traces from events.
Definition at line 16 of file TraceExtractor.hpp.
|
inline |
Default Constructor
Definition at line 19 of file TraceExtractor.hpp.
TraceExtractor::TraceExtractor | ( | const std::string & | aType, |
const std::string & | aSubtype, | ||
const std::string & | aTag = "" |
||
) |
Constructor taking the type and subtype to plot
[in] | aType | : a type to plot the traces for |
[in] | aSubtype | : a subtype to plot the traces for |
[in] | aTag | : the tag for what we want to plot |
Definition at line 17 of file TraceExtractor.cpp.
|
inline |
Default Destructor
Definition at line 29 of file TraceExtractor.hpp.
|
virtual |
The main analysis driver
[in] | trace | : the trace to analyze |
[in] | aType | : the type being analyze |
[in] | aSubtype | : the subtype begin analyzed |
[in] | tags | : the map of tags for the channel |
Reimplemented from TraceAnalyzer.
Definition at line 32 of file TraceExtractor.cpp.
|
virtual |
Declare the plots for the analyzer
Reimplemented from TraceAnalyzer.
Definition at line 24 of file TraceExtractor.cpp.
|
staticprotected |
The number of traces to analyze.
Definition at line 44 of file TraceExtractor.hpp.
|
protected |
The detector subtype.
Definition at line 47 of file TraceExtractor.hpp.
|
protected |
The tags for the detector.
Definition at line 48 of file TraceExtractor.hpp.
|
staticprotected |
The number of bins for the trace length.
Definition at line 43 of file TraceExtractor.hpp.
|
protected |
the detector type
Definition at line 46 of file TraceExtractor.hpp.