#include <GslFitter.hpp>
|
struct | FitData |
| Structure necessary for the GSL fitting routines. More...
|
|
|
| GslFitter () |
| Default Constructor. More...
|
|
| ~GslFitter () |
| Default Destructor. More...
|
|
double | GetAmplitude (void) |
|
double | GetChiSq (void) |
|
double | GetChiSqPerDof (void) |
|
double | CalculatePhase (const std::vector< double > &data, const std::pair< double, double > &pars, const std::pair< unsigned int, double > &max, const std::pair< double, double > baseline) |
|
void | SetIsFastSiPm (const bool &a) |
|
| TimingDriver () |
| Default Constructor. More...
|
|
virtual | ~TimingDriver () |
| Default destructor. More...
|
|
virtual std::vector< double > | GetResults (void) |
|
virtual double | CalculatePhase (const std::vector< unsigned int > &data, const std::pair< double, double > &pars, const std::pair< unsigned int, double > &max, const std::pair< double, double > baseline) |
|
void | SetQdc (const double &a) |
|
Definition at line 18 of file GslFitter.hpp.
§ GslFitter()
§ ~GslFitter()
GslFitter::~GslFitter |
( |
| ) |
|
|
inline |
§ CalculatePhase()
double GslFitter::CalculatePhase |
( |
const std::vector< double > & |
data, |
|
|
const std::pair< double, double > & |
pars, |
|
|
const std::pair< unsigned int, double > & |
max, |
|
|
const std::pair< double, double > |
baseline |
|
) |
| |
|
virtual |
The ever important phase calculation
- Parameters
-
[in] | data | The baseline subtracted data for the fitting |
[in] | pars | The parameters for the fit |
[in] | max | : Information about the maximum position and value |
[in] | baseline | : The average and standard deviation of the baseline |
Reimplemented from TimingDriver.
Definition at line 50 of file Gsl1Fitter.cpp.
§ GetAmplitude()
double GslFitter::GetAmplitude |
( |
void |
| ) |
|
|
inline |
- Returns
- the amplitude from the GSL fit
Definition at line 27 of file GslFitter.hpp.
§ GetChiSq()
double GslFitter::GetChiSq |
( |
void |
| ) |
|
|
inline |
- Returns
- the chi^2 from the GSL fit
Definition at line 30 of file GslFitter.hpp.
§ GetChiSqPerDof()
double GslFitter::GetChiSqPerDof |
( |
void |
| ) |
|
|
inline |
- Returns
- the chi^2dof from the GSL fit
Definition at line 33 of file GslFitter.hpp.
§ SetIsFastSiPm()
void GslFitter::SetIsFastSiPm |
( |
const bool & |
a | ) |
|
|
inline |
Sets the isFastSiPm_ flag
- Parameters
-
[in] | a | : The value that we are going to set |
Definition at line 47 of file GslFitter.hpp.
§ amp_
§ chi_
§ dof_
§ isFastSiPm_
bool GslFitter::isFastSiPm_ |
|
private |
The documentation for this class was generated from the following files: