Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
DoubleTraceAnalyzer Class Reference

Analyzer to handle double traces from RMS style experiments. More...

#include <DoubleTraceAnalyzer.hpp>

Inheritance diagram for DoubleTraceAnalyzer:
Collaboration diagram for DoubleTraceAnalyzer:

Public Member Functions

 DoubleTraceAnalyzer (double energyScaleFactor, short fast_rise, short fast_gap, short fast_threshold, short energy_rise, short energy_gap, short slow_rise, short slow_gap, short slow_threshold)
 
virtual ~DoubleTraceAnalyzer ()
 
virtual bool Init (void)
 
virtual void DeclarePlots (void)
 
virtual void Analyze (Trace &trace, const std::string &type, const std::string &subtype)
 
- Public Member Functions inherited from TraceFilterer
 TraceFilterer (double energyScaleFactor_, short fast_rise, short fast_gap, short fast_threshold, short energy_rise, short energy_gap, short slow_rise, short slow_gap, short slow_threshold)
 
virtual ~TraceFilterer ()
 
virtual bool Init (const std::string &filterFileName="Config.xml")
 
- Public Member Functions inherited from TraceAnalyzer
 TraceAnalyzer ()
 
virtual ~TraceAnalyzer ()
 
void EndAnalyze (Trace &trace)
 
void EndAnalyze (void)
 
void SetLevel (int i)
 
int GetLevel ()
 

Static Protected Attributes

static int numDoubleTraces
 number of double traces found
 
- Static Protected Attributes inherited from TraceFilterer
static const int energyBins
 Number of energy bins.
 
- Static Protected Attributes inherited from TraceAnalyzer
static int numTracesAnalyzed
 rownumber for DAMM spectrum 850
 

Additional Inherited Members

- Protected Member Functions inherited from TraceFilterer
virtual const PulseInfoFindPulse (Trace::iterator begin, Trace::iterator end)
 
- Protected Attributes inherited from TraceFilterer
double energyScaleFactor_
 energy scaling factor
 
TrapezoidalFilterParameters fastParms
 Fast (Trigger) filter parameters.
 
Trace::value_type fastThreshold
 Threshold for fast filter.
 
TrapezoidalFilterParameters energyParms
 Slow (Energy) filter parameters.
 
TrapezoidalFilterParameters thirdParms
 Parameters for second fast filter.
 
Trace::value_type slowThreshold
 Threshold for fast filter.
 
Trace fastFilter
 fast filter of trace
 
Trace energyFilter
 slow filter of trace
 
Trace thirdFilter
 second slow filter of trace
 
bool useThirdFilter
 True if we want to use the third filter.
 
PulseInfo pulse
 Instance of the PulseInfo class.
 
- Protected Attributes inherited from TraceAnalyzer
int level
 the level of analysis to proceed with
 
std::string name
 name of the analyzer
 

Detailed Description

Analyzer to handle double traces from RMS style experiments.

Trace class implements a quick online trapezoidal filter for the identification of double pulses with relatively little computation.

Constructor & Destructor Documentation

DoubleTraceAnalyzer::DoubleTraceAnalyzer ( double  energyScaleFactor,
short  fast_rise,
short  fast_gap,
short  fast_threshold,
short  energy_rise,
short  energy_gap,
short  slow_rise,
short  slow_gap,
short  slow_threshold 
)

Constructor taking all of the arguments for the filter

Parameters
[in]energyScaleFactor: scaling for the energy
[in]fast_rise: the rise time for the fast filter
[in]fast_gap: the gap for the fast filter
[in]fast_threshold: the threshold for the first decay
[in]energy_rise: the energy filter risetime
[in]energy_gap: the gap for the energy filter
[in]slow_rise: the slow rise time
[in]slow_gap: the gap for the slow filter
[in]slow_threshold: the threshold for the second decay
virtual DoubleTraceAnalyzer::~DoubleTraceAnalyzer ( )
inlinevirtual

Default Destructor

Member Function Documentation

virtual void DoubleTraceAnalyzer::Analyze ( Trace trace,
const std::string &  type,
const std::string &  subtype 
)
virtual

Do the analysis on traces

Parameters
[in]trace: the trace to analyze
[in]type: the detector type
[in]subtype: detector subtype

Reimplemented from TraceFilterer.

virtual void DoubleTraceAnalyzer::DeclarePlots ( void  )
virtual

Declare plots for the analyzer

Reimplemented from TraceFilterer.

virtual bool DoubleTraceAnalyzer::Init ( void  )
inlinevirtual

Initialize the processor

Returns
true if init went well

Reimplemented from TraceAnalyzer.


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