laura is hosted by Hepforge, IPPP Durham
Laura++  v3r3
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauBelleNR.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 2014.
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_BELLE_NR
23 #define LAU_BELLE_NR
24 
25 #include "TString.h"
26 
27 #include "LauComplex.hh"
28 #include "LauAbsResonance.hh"
29 
30 class LauKinematics;
31 class LauParameter;
32 
33 
34 class LauBelleNR : public LauAbsResonance {
35 
36  public:
38 
45  const Int_t resPairAmpInt, const LauDaughters* daughters);
46 
48  virtual ~LauBelleNR();
49 
51 
59  void enforceLegendreSpinFactors( const Bool_t forceLegendre ) { forceLegendre_ = forceLegendre; }
60 
62  virtual void initialise();
63 
65 
69 
71 
75  virtual void setResonanceParameter(const TString& name, const Double_t value);
76 
78 
81  virtual void floatResonanceParameter(const TString& name);
82 
84 
88  virtual LauParameter* getResonanceParameter(const TString& name);
89 
91 
94  virtual const std::vector<LauParameter*>& getFloatingParameters();
95 
96  protected:
98 
101  void setAlpha(const Double_t alpha);
102 
104 
107  Double_t getAlpha() const {return (alpha_!=0) ? alpha_->unblindValue() : 0.0;}
108 
110 
113  Bool_t fixAlpha() const {return (alpha_!=0) ? alpha_->fixed() : kTRUE;}
114 
116 
120  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
121 
122  private:
124  LauBelleNR(const LauBelleNR& rhs);
125 
127  LauBelleNR& operator=(const LauBelleNR& rhs);
128 
131 
134 
137 
138  ClassDef(LauBelleNR,0)
139 };
140 
141 #endif
LauParameter * alpha_
The range parameter.
Definition: LauBelleNR.hh:130
Bool_t fixed() const
Check whether the parameter is fixed or floated.
virtual ~LauBelleNR()
Destructor.
Definition: LauBelleNR.cc:44
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauBelleNR.hh:68
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
Bool_t forceLegendre_
Force use of Legendre spin factors.
Definition: LauBelleNR.hh:136
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauBelleNR.cc:106
Double_t getAlpha() const
Get the effective range parameter.
Definition: LauBelleNR.hh:107
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauBelleNR.cc:67
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauBelleNR.cc:84
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauBelleNR.cc:95
virtual void initialise()
Initialise the model.
Definition: LauBelleNR.cc:48
Class for defining the Belle nonresonant model.
Definition: LauBelleNR.hh:34
File containing declaration of LauComplex class.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:35
Bool_t fixAlpha() const
See if the alpha parameter is fixed or floating.
Definition: LauBelleNR.hh:113
LauResonanceModel
Define the allowed resonance types.
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauBelleNR.cc:120
void enforceLegendreSpinFactors(const Bool_t forceLegendre)
Override the enforcement of pure Legendre polynomial spin factors.
Definition: LauBelleNR.hh:59
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
void setAlpha(const Double_t alpha)
Set the parameter alpha, the effective range.
Definition: LauBelleNR.cc:130
File containing declaration of LauAbsResonance class.
Double_t unblindValue() const
The unblinded value of the parameter.
Class for defining a complex number.
Definition: LauComplex.hh:47
LauAbsResonance::LauResonanceModel model_
The model to use.
Definition: LauBelleNR.hh:133
Class for calculating 3-body kinematic quantities.
LauBelleNR & operator=(const LauBelleNR &rhs)
Copy assignment operator (not implemented)
LauBelleNR(LauResonanceInfo *resInfo, const LauAbsResonance::LauResonanceModel resType, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauBelleNR.cc:27