laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2p1
A maximum likelihood fitting package for performing Dalitz-plot analysis.

The abstract interface for the objects that control the calculation of the likelihood. More...

#include <LauFitObject.hh>

Inheritance diagram for LauFitObject:
LauAbsFitModel LauSimFitMaster LauCPFitModel LauSimpleFitModel

Public Member Functions

virtual ~LauFitObject ()
 Destructor. More...
 
virtual void withinAsymErrorCalc (Bool_t inAsymErrCalc)=0
 Mark that the fit is calculating asymmetric errors. More...
 
virtual void setParsFromMinuit (Double_t *par, Int_t npar)=0
 This function sets the parameter values from Minuit. More...
 
virtual Double_t getTotNegLogLikelihood ()=0
 Calculate the new value of the negative log likelihood. More...
 
virtual void addConstraint (const TString &formula, const std::vector< TString > &pars, const Double_t mean, const Double_t width)=0
 Store constraint information for fit parameters. More...
 

Protected Member Functions

 LauFitObject ()
 Constructor. More...
 

Detailed Description

The abstract interface for the objects that control the calculation of the likelihood.

Definition at line 26 of file LauFitObject.hh.

Constructor & Destructor Documentation

virtual LauFitObject::~LauFitObject ( )
inlinevirtual

Destructor.

Definition at line 30 of file LauFitObject.hh.

LauFitObject::LauFitObject ( )
inlineprotected

Constructor.

Definition at line 69 of file LauFitObject.hh.

Member Function Documentation

virtual void LauFitObject::addConstraint ( const TString &  formula,
const std::vector< TString > &  pars,
const Double_t  mean,
const Double_t  width 
)
pure virtual

Store constraint information for fit parameters.

Parameters
[in]formulathe formula to be used in the LauFormulaPar
[in]parsa vector of LauParameter names to be used in the Formula, in the order specified by the formula
[in]meanthe value of the mean of the Gaussian constraint
[in]widththe value of the width of the Gaussian constraint

Implemented in LauAbsFitModel, and LauSimFitMaster.

virtual Double_t LauFitObject::getTotNegLogLikelihood ( )
pure virtual

Calculate the new value of the negative log likelihood.

This function has to be public since it is called from the global FCN. It should not be called otherwise!

Implemented in LauAbsFitModel, and LauSimFitMaster.

virtual void LauFitObject::setParsFromMinuit ( Double_t *  par,
Int_t  npar 
)
pure virtual

This function sets the parameter values from Minuit.

This function has to be public since it is called from the global FCN. It should not be called otherwise!

Parameters
[in]paran array storing the various parameter values
[in]nparthe number of free parameters

Implemented in LauAbsFitModel, and LauSimFitMaster.

virtual void LauFitObject::withinAsymErrorCalc ( Bool_t  inAsymErrCalc)
pure virtual

Mark that the fit is calculating asymmetric errors.

This is called by the fitter interface to mark when entering and exiting the asymmetric error calculation

Parameters
[in]inAsymErrCalcboolean marking that the fit is calculating the asymmetric errors

Implemented in LauAbsFitModel, and LauSimFitMaster.


The documentation for this class was generated from the following file: