laura is hosted by Hepforge, IPPP Durham
Laura++  v2r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauAbsRValue.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 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 
22 #ifndef LAU_ABSRVALUE
23 #define LAU_ABSRVALUE
24 
25 #include <vector>
26 
27 class LauParameter;
28 
29 class LauAbsRValue {
30 
31  public:
34 
36  virtual ~LauAbsRValue() {}
37 
39 
42  virtual const TString& name() const =0;
43 
45 
48  virtual Double_t value() const =0;
49 
51 
54  virtual Bool_t gaussConstraint() const =0;
55 
57 
60  virtual Double_t constraintMean() const =0;
61 
63 
66  virtual Double_t constraintWidth() const =0;
67 
69 
72  virtual std::vector<LauParameter*> getPars() =0;
73 
75 
78  virtual Bool_t isLValue() const =0;
79 
81 
84  virtual Bool_t fixed() const =0;
85 
86 
87  private:
88 
89  ClassDef(LauAbsRValue,0) // Abstract base class for R parameters
90 };
91 
92 #endif
virtual Bool_t isLValue() const =0
Is the parameter also an L value or not.
virtual const TString & name() const =0
Return the name of the parameter.
virtual Double_t constraintMean() const =0
The mean of the Gaussian constraint.
virtual Double_t constraintWidth() const =0
The width of the Gaussian constraint.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:33
virtual Bool_t fixed() const =0
Check is the parameter is fixed or floated.
virtual Bool_t gaussConstraint() const =0
Check whether a Gaussian constraints is applied.
virtual Double_t value() const =0
Return the value of the parameter.
virtual ~LauAbsRValue()
Destructor.
Definition: LauAbsRValue.hh:36
virtual std::vector< LauParameter * > getPars()=0
Return the list of LauParameters on which the LauAbsRValue depends.
Pure abstract base class for defining a parameter containing an R value.
Definition: LauAbsRValue.hh:29
LauAbsRValue()
Constructor.
Definition: LauAbsRValue.hh:33