laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFitObject.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2013 - 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
19 #ifndef LAU_FIT_OBJECT
20 #define LAU_FIT_OBJECT
21 
22 #include "TObject.h"
23 #include "TVirtualFitter.h"
24 
25 
26 class LauFitObject : public TObject {
27 
28  public:
30  virtual ~LauFitObject() {}
31 
33 
39  virtual void withinAsymErrorCalc(Bool_t inAsymErrCalc) = 0;
40 
42 
49  virtual void setParsFromMinuit(Double_t* par, Int_t npar) = 0;
50 
52 
56  virtual Double_t getTotNegLogLikelihood() = 0;
57 
58  protected:
60  LauFitObject() : TObject() {}
61 
62  private:
63  ClassDef(LauFitObject,0)
64 };
65 
66 #endif
67 
virtual Double_t getTotNegLogLikelihood()=0
Calculate the new value of the negative log likelihood.
LauFitObject()
Constructor.
Definition: LauFitObject.hh:60
virtual void setParsFromMinuit(Double_t *par, Int_t npar)=0
This function sets the parameter values from Minuit.
virtual ~LauFitObject()
Destructor.
Definition: LauFitObject.hh:30
virtual void withinAsymErrorCalc(Bool_t inAsymErrCalc)=0
Mark that the fit is calculating asymmetric errors.
The abstract interface for the objects that control the calculation of the likelihood.
Definition: LauFitObject.hh:26