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

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

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

Go to the source code of this file.

Classes

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

Functions

void ddastoys::templatefit::lmfit1 (fit1Info *pResult, std::vector< uint16_t > &trace, std::vector< double > &traceTemplate, unsigned alignPoint, const std::pair< unsigned, unsigned > &limits, uint16_t saturation=0xffff)
 Driver for the GSL LM fitter for single pulses. More...
 
void ddastoys::templatefit::lmfit2 (fit2Info *pResult, std::vector< uint16_t > &trace, std::vector< double > &traceTemplate, unsigned alignPoint, const std::pair< unsigned, unsigned > &limits, fit1Info *pSinglePulseFit=nullptr, uint16_t saturation=0xffff)
 Driver for the GSL LM fitter for double pulses. More...
 

Detailed Description

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

Note
Fit functions are in the ddastoys::templatefit namespace.