DDASToys for NSCLDAQ  6.2-000
Classes
lmfit_analytic.h File Reference

Define the analytic fitting functions and data structures for GSL's Levenburg-Marquardt fitter. More...

#include <cstdint>
#include <vector>
#include "fit_extensions.h"
Include dependency graph for lmfit_analytic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ddastoys::analyticfit::GslFitParameters
 Data passed around the fitting subsystem to Jacobian and function evaluators. More...
 

Functions

void ddastoys::analyticfit::lmfit1 (fit1Info *pResult, std::vector< uint16_t > &trace, const std::pair< unsigned, unsigned > &limits, uint16_t saturation=0xffff)
 Driver for the GSL LM fitter for single pulses. More...
 
void ddastoys::analyticfit::lmfit2 (fit2Info *pResult, std::vector< uint16_t > &trace, const std::pair< unsigned, unsigned > &limits, fit1Info *pSinglePulseFit=nullptr, uint16_t saturation=0xffff)
 Driver for the GSL LM fitter for double pulses. More...
 
void ddastoys::analyticfit::lmfit2fixedT (fit2Info *pResult, std::vector< uint16_t > &trace, const std::pair< unsigned, unsigned > &limits, fit1Info *pSinglePulseFit=nullptr, uint16_t saturation=0xffff)
 Driver for the GSL LM fitter for double pulses, constraining the two timing parameters (rise time and fall time) to be the same for both pulses. More...
 

Detailed Description

Define the analytic fitting functions and data structures for GSL's Levenburg-Marquardt fitter.