Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
DoubleTraceAnalyzer.hpp
Go to the documentation of this file.
1 
6 #ifndef __DOUBLETRACEANALYZER_HPP_
7 #define __DOUBLETRACEANALYZER_HPP_
8 
9 #include <string>
10 #include <sys/times.h>
11 
12 #include "Trace.hpp"
13 #include "TraceFilterer.hpp"
14 
21 protected:
22  static int numDoubleTraces;
23 
24 public:
35  DoubleTraceAnalyzer(double energyScaleFactor,
36  short fast_rise, short fast_gap, short fast_threshold,
37  short energy_rise, short energy_gap,
38  short slow_rise, short slow_gap, short slow_threshold);
40  virtual ~DoubleTraceAnalyzer() {};
41 
44  virtual bool Init(void) {
45  return TraceFilterer::Init();
46  }
48  virtual void DeclarePlots(void);
53  virtual void Analyze(Trace &trace, const std::string &type,
54  const std::string &subtype);
55 };
56 #endif // __DOUBLETRACEANALYZER_HPP_
Declaration of analysis class which does the filtering of traces.
static int numDoubleTraces
number of double traces found
Definition: DoubleTraceAnalyzer.hpp:22
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 void DeclarePlots(void)
Store the information for a trace.
Definition: Trace.hpp:34
A simple class to store the traces.
Analyzer to handle double traces from RMS style experiments.
Definition: DoubleTraceAnalyzer.hpp:20
A class to perform trapezoidal filters on the traces.
Definition: TraceFilterer.hpp:19
virtual bool Init(void)
Definition: DoubleTraceAnalyzer.hpp:44
virtual bool Init(void)
Definition: TraceAnalyzer.hpp:39
virtual void Analyze(Trace &trace, const std::string &type, const std::string &subtype)
virtual ~DoubleTraceAnalyzer()
Definition: DoubleTraceAnalyzer.hpp:40