laura is hosted by Hepforge, IPPP Durham
Laura++  v2r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFormulaPar.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2006 - 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 
23 #ifndef LAU_FORMULAPAR
24 #define LAU_FORMULAPAR
25 
26 #include <map>
27 #include <vector>
28 
29 #include "TString.h"
30 #include "TFormula.h"
31 #include "LauParameter.hh"
32 
33 
35 
36  public:
38 
43  LauFormulaPar(const TString& forName, const TString& formula, const std::vector<LauParameter*>& params);
44 
45  // Destructor
46  virtual ~LauFormulaPar();
47 
48  // Return the value of the LauFormalaPar
52  Double_t value() const;
53 
55 
58  inline const TString& name() const {return name_;}
59 
60  protected:
61 
62  private:
64  TString name_;
65 
67  mutable TFormula formula_;
68 
70  std::vector<LauParameter*> paramVec_;
71 
73  Double_t* dummy_;
74 
76  Double_t* paramArray_;
77 
78  ClassDef(LauFormulaPar, 0)
79 
80 };
81 
82 #endif
Class for defining combinations of fit parameter objects.
virtual ~LauFormulaPar()
const TString & name() const
The parameter name.
std::vector< LauParameter * > paramVec_
Vector of LauParameters in the formula.
LauFormulaPar(const TString &forName, const TString &formula, const std::vector< LauParameter * > &params)
Constructor double limit parameter.
TString name_
The parameter name.
TFormula formula_
The parameter name.
Double_t * dummy_
Array.
File containing declaration of LauParameter class.
Double_t * paramArray_
Array.
Double_t value() const