laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
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  LauAbsRValue(const LauAbsRValue& /*rhs*/) {}
40 
42  LauAbsRValue& operator=(const LauAbsRValue& /*rhs*/) {return *this;}
43 
45 
48  virtual const TString& name() const =0;
49 
51 
54  virtual Double_t value() const =0;
55 
57 
60  virtual Double_t unblindValue() const =0;
61 
63 
66  virtual Bool_t gaussConstraint() const =0;
67 
69 
72  virtual Double_t constraintMean() const =0;
73 
75 
78  virtual Double_t constraintWidth() const =0;
79 
81 
84  virtual std::vector<LauParameter*> getPars() =0;
85 
87 
90  virtual Bool_t isLValue() const =0;
91 
93 
96  virtual Bool_t fixed() const =0;
97 
98 
99  private:
100 
101  ClassDef(LauAbsRValue,1) // Abstract base class for R parameters
102 };
103 
104 #endif
virtual Bool_t isLValue() const =0
Is the parameter also an L value or not.
LauAbsRValue & operator=(const LauAbsRValue &)
Copy assignment operator.
Definition: LauAbsRValue.hh:42
virtual Double_t unblindValue() const =0
The unblinded value of the parameter.
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:35
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.
LauAbsRValue(const LauAbsRValue &)
Copy constructor.
Definition: LauAbsRValue.hh:39
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