DAS  3.0
Das Analysis System
FunctionalFormabstract

Description

Abstract class for fit function.

#include <Step.h>

+ Inheritance diagram for FunctionalForm:
+ Collaboration diagram for FunctionalForm:

Public Member Functions

virtual double operator() (const double *x, const double *p) const =0
 

Public Attributes

unsigned int npars
 
const double m
 
const double M
 
std::ostream & stream
 

Protected Member Functions

 FunctionalForm (const char *classname, unsigned int Npars, double mi, double Ma, std::ostream &Stream=std::cout)
 
virtual ~FunctionalForm ()=default
 

Constructor & Destructor Documentation

◆ FunctionalForm()

FunctionalForm ( const char *  classname,
unsigned int  Npars,
double  mi,
double  Ma,
std::ostream &  Stream = std::cout 
)
inlineprotected

Constructor.

203  :
204  npars(Npars), m(mi), M(Ma), stream(Stream)
205  {
206  if (verbose)
207  stream << "Declaring a `" << classname << "` with " << npars << " parameters between " << mi << " and " << Ma << '\n';
208  }

◆ ~FunctionalForm()

virtual ~FunctionalForm ( )
protectedvirtualdefault

Member Function Documentation

◆ operator()()

virtual double operator() ( const double *  x,
const double *  p 
) const
pure virtual

operator overloading for the functor to be used with ROOT TF1

Implemented in Polynomial< T, Log, Exp >.

Member Data Documentation

◆ m

const double m

lower edge

◆ M

const double M

upper edge

◆ npars

unsigned int npars

number of parameters

◆ stream

std::ostream& stream

stream (e.g. cout or file)


The documentation for this struct was generated from the following file:
Step::verbose
static bool verbose
Definition: Step.h:40
Step::FunctionalForm::m
const double m
lower edge
Definition: Step.h:195
Step::FunctionalForm::stream
std::ostream & stream
stream (e.g. cout or file)
Definition: Step.h:197
Step::FunctionalForm::npars
unsigned int npars
number of parameters
Definition: Step.h:194
Step::FunctionalForm::M
const double M
upper edge
Definition: Step.h:196