Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
TraceExtractor.hpp
Go to the documentation of this file.
1 
7 #ifndef __TRACEEXTRACTOR_HPP_
8 #define __TRACEEXTRACTOR_HPP_
9 #include <string>
10 
11 #include "TraceAnalyzer.hpp"
12 
13 #include "DammPlotIds.hpp"
14 
15 class Trace;
16 
18 class TraceExtractor : public TraceAnalyzer {
19 public:
22 
26  TraceExtractor(const std::string &aType, const std::string &aSubtype);
27 
30 
32  virtual void DeclarePlots(void);
33 
38  virtual void Analyze(Trace &trace, const std::string &aType,
39  const std::string &aSubtype);
40 protected:
41  static const int traceBins;
42  static const int numTraces;
43 
44  std::string type;
45  std::string subtype;
46 };
47 #endif // __TRACEEXTRACTOR_HPP_
A class to extract traces from events.
Definition: TraceExtractor.hpp:18
Header file for the TraceAnalyzer class.
Lists Offsets and Ranges for various Processors.
static const int traceBins
The number of bins for the trace length.
Definition: TraceExtractor.hpp:41
static const int numTraces
The number of traces to analyze.
Definition: TraceExtractor.hpp:42
Online trace analysis.
Definition: TraceAnalyzer.hpp:19
Store the information for a trace.
Definition: Trace.hpp:34
~TraceExtractor()
Definition: TraceExtractor.hpp:29
virtual void DeclarePlots(void)
std::string type
the detector type
Definition: TraceExtractor.hpp:44
std::string subtype
The detector subtype.
Definition: TraceExtractor.hpp:45
TraceExtractor()
Definition: TraceExtractor.hpp:21
virtual void Analyze(Trace &trace, const std::string &aType, const std::string &aSubtype)