Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
FittingAnalyzer.hpp
Go to the documentation of this file.
1 
10 #ifndef __FITTINGANALYZER_HPP_
11 #define __FITTINGANALYZER_HPP_
12 
13 #include "Trace.hpp"
14 #include "TraceAnalyzer.hpp"
15 
18 public:
24  virtual void DeclarePlots(void);
29  virtual void Analyze(Trace &trace, const std::string &detType,
30  const std::string &detSubtype);
31 
36  double CalculateWalk(const double &val, const std::string &type,
37  const std::string &subType);
38 
40  struct FitData {
41  size_t n;
42  double * y;
43  double * sigma;
44  double beta;
45  double gamma;
46  double qdc;
47  };
48 };
49 #endif // __FITTINGANALYZER_HPP_
50 // David is awesome.
double qdc
the QDC for the fit
Definition: FittingAnalyzer.hpp:46
double gamma
the gamma parameter for the fit
Definition: FittingAnalyzer.hpp:45
double CalculateWalk(const double &val, const std::string &type, const std::string &subType)
Header file for the TraceAnalyzer class.
double beta
the beta parameter for the fit
Definition: FittingAnalyzer.hpp:44
size_t n
size of the fitting parameters
Definition: FittingAnalyzer.hpp:41
double * y
ydata to fit
Definition: FittingAnalyzer.hpp:42
~FittingAnalyzer()
Definition: FittingAnalyzer.hpp:22
Structure necessary for the GSL fitting routines.
Definition: FittingAnalyzer.hpp:40
Analyzer that handles the fitting of traces for High Resolution Timing.
Definition: FittingAnalyzer.hpp:17
Online trace analysis.
Definition: TraceAnalyzer.hpp:19
Store the information for a trace.
Definition: Trace.hpp:34
A simple class to store the traces.
double * sigma
weight of the points
Definition: FittingAnalyzer.hpp:43
virtual void DeclarePlots(void)
virtual void Analyze(Trace &trace, const std::string &detType, const std::string &detSubtype)