Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
Analyzer to handle double traces from RMS style experiments. More...
#include <DoubleTraceAnalyzer.hpp>
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 PulseInfo & | FindPulse (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 | |
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.
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
[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 |
|
inlinevirtual |
Default Destructor
|
virtual |
Do the analysis on traces
[in] | trace | : the trace to analyze |
[in] | type | : the detector type |
[in] | subtype | : detector subtype |
Reimplemented from TraceFilterer.
|
virtual |
Declare plots for the analyzer
Reimplemented from TraceFilterer.
|
inlinevirtual |