1 #ifndef SaturationFcn_h
2 #define SaturationFcn_h
4 #include "Minuit2/FCNBase.h"
16 void set_data(
int N,
float *charge_ptr,
float *adc_ptr){
28 x3start=(y[4]*x[1]-y[1]*x[4])/(x[1]-x[4]);
35 virtual double Up()
const {
return 1.;}
37 virtual double operator()(
const std::vector<double>&
x)
const {
41 double val=1.0+
pow(x[1]*
datx[
i],x[2]);
virtual double Up() const
void set_data(int N, float *charge_ptr, float *adc_ptr)
virtual double operator()(const std::vector< double > &x) const
std::vector< std::vector< double > > tmp
Power< A, B >::type pow(const A &a, const B &b)