PAASS
Software suite to Acquire and Analyze Data from Pixie16
TraceExtractor Class Reference

A class to extract traces from events. More...

#include <TraceExtractor.hpp>

Inheritance diagram for TraceExtractor:
Collaboration diagram for TraceExtractor:

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)
 
- Public Member Functions inherited from TraceAnalyzer
 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...
 
- Protected Attributes inherited from TraceAnalyzer
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 Protected Attributes inherited from TraceAnalyzer
static int numTracesAnalyzed = 0
 rownumber for DAMM spectrum 850 More...
 

Detailed Description

A class to extract traces from events.

Definition at line 16 of file TraceExtractor.hpp.

Constructor & Destructor Documentation

§ TraceExtractor() [1/2]

TraceExtractor::TraceExtractor ( )
inline

Default Constructor

Definition at line 19 of file TraceExtractor.hpp.

§ TraceExtractor() [2/2]

TraceExtractor::TraceExtractor ( const std::string &  aType,
const std::string &  aSubtype,
const std::string &  aTag = "" 
)

Constructor taking the type and subtype to plot

Parameters
[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.

§ ~TraceExtractor()

TraceExtractor::~TraceExtractor ( )
inline

Default Destructor

Definition at line 29 of file TraceExtractor.hpp.

Here is the call graph for this function:

Member Function Documentation

§ Analyze()

void TraceExtractor::Analyze ( Trace trace,
const std::string &  aType,
const std::string &  aSubtype,
const std::map< std::string, int > &  tags 
)
virtual

The main analysis driver

Parameters
[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.

Here is the call graph for this function:
Here is the caller graph for this function:

§ DeclarePlots()

void TraceExtractor::DeclarePlots ( void  )
virtual

Declare the plots for the analyzer

Reimplemented from TraceAnalyzer.

Definition at line 24 of file TraceExtractor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

§ numTraces

const unsigned int TraceExtractor::numTraces = dammIds::trace::extractor::maxSingleTraces
staticprotected

The number of traces to analyze.

Definition at line 44 of file TraceExtractor.hpp.

§ subtype

std::string TraceExtractor::subtype
protected

The detector subtype.

Definition at line 47 of file TraceExtractor.hpp.

§ tag

std::string TraceExtractor::tag
protected

The tags for the detector.

Definition at line 48 of file TraceExtractor.hpp.

§ traceBins

const unsigned int TraceExtractor::traceBins
staticprotected

The number of bins for the trace length.

Definition at line 43 of file TraceExtractor.hpp.

§ type

std::string TraceExtractor::type
protected

the detector type

Definition at line 46 of file TraceExtractor.hpp.


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