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

A class to perform trapezoidal filters on the traces. More...

#include <TraceFilterAnalyzer.hpp>

Inheritance diagram for TraceFilterAnalyzer:
Collaboration diagram for TraceFilterAnalyzer:

Public Member Functions

 TraceFilterAnalyzer ()
 
 TraceFilterAnalyzer (const bool &analyzePileup)
 
virtual ~TraceFilterAnalyzer ()
 
virtual void DeclarePlots (void)
 
virtual void Analyze (Trace &trace, const std::string &type, const std::string &subtype, const std::map< std::string, int > &tagmap)
 
- 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 ()
 

Private Attributes

bool analyzePileup_
 True if looking for pileups. More...
 
TrapFilterParameters trigPars_
 Trigger filter parameters. More...
 
TrapFilterParameters enPars_
 energy filter parametersf More...
 
std::vector< double > fastFilter
 fast filter of trace More...
 
std::vector< double > energyFilter
 slow filter of trace More...
 

Additional Inherited Members

- 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 inherited from TraceAnalyzer
static int numTracesAnalyzed = 0
 rownumber for DAMM spectrum 850 More...
 

Detailed Description

A class to perform trapezoidal filters on the traces.

Definition at line 18 of file TraceFilterAnalyzer.hpp.

Constructor & Destructor Documentation

§ TraceFilterAnalyzer() [1/2]

TraceFilterAnalyzer::TraceFilterAnalyzer ( )
inline

Default Constructor

Definition at line 21 of file TraceFilterAnalyzer.hpp.

§ TraceFilterAnalyzer() [2/2]

TraceFilterAnalyzer::TraceFilterAnalyzer ( const bool &  analyzePileup)

Constructor

Parameters
[in]analyzePileup: True if we want to analyze pileups

Definition at line 17 of file TraceFilterAnalyzer.cpp.

§ ~TraceFilterAnalyzer()

virtual TraceFilterAnalyzer::~TraceFilterAnalyzer ( )
inlinevirtual

Default Destructor

Definition at line 28 of file TraceFilterAnalyzer.hpp.

Here is the call graph for this function:

Member Function Documentation

§ Analyze()

void TraceFilterAnalyzer::Analyze ( Trace trace,
const std::string &  type,
const std::string &  subtype,
const std::map< std::string, int > &  tagmap 
)
virtual

The analyzer method to do the analysis

Parameters
[in]trace: the trace to analyze
[in]type: the detector type
[in]subtype: the detector subtype
[in]tagmap: map of the tags for the channel

Reimplemented from TraceAnalyzer.

Definition at line 39 of file TraceFilterAnalyzer.cpp.

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

§ DeclarePlots()

void TraceFilterAnalyzer::DeclarePlots ( void  )
virtual

Declare the plots for the Analyzer

Declare plots within the trace object

Reimplemented from TraceAnalyzer.

Definition at line 23 of file TraceFilterAnalyzer.cpp.

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

Field Documentation

§ analyzePileup_

bool TraceFilterAnalyzer::analyzePileup_
private

True if looking for pileups.

Definition at line 42 of file TraceFilterAnalyzer.hpp.

§ energyFilter

std::vector<double> TraceFilterAnalyzer::energyFilter
private

slow filter of trace

Definition at line 46 of file TraceFilterAnalyzer.hpp.

§ enPars_

TrapFilterParameters TraceFilterAnalyzer::enPars_
private

energy filter parametersf

Definition at line 44 of file TraceFilterAnalyzer.hpp.

§ fastFilter

std::vector<double> TraceFilterAnalyzer::fastFilter
private

fast filter of trace

Definition at line 45 of file TraceFilterAnalyzer.hpp.

§ trigPars_

TrapFilterParameters TraceFilterAnalyzer::trigPars_
private

Trigger filter parameters.

Definition at line 43 of file TraceFilterAnalyzer.hpp.


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