laura is hosted by Hepforge, IPPP Durham
Laura++  v3r0p1
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  virtual void initialise();
52 
54 
58 
60 
64  virtual void setResonanceParameter(const TString& name, const Double_t value);
65 
67 
70  virtual void floatResonanceParameter(const TString& name);
71 
73 
77  virtual LauParameter* getResonanceParameter(const TString& name);
78 
80 
83  virtual const std::vector<LauParameter*>& getFloatingParameters();
84 
85  protected:
87 
90  void setAlpha(const Double_t alpha);
91 
93 
96  Double_t getAlpha() const {return (alpha_!=0) ? alpha_->value() : 0.0;}
97 
99 
102  Bool_t fixAlpha() const {return (alpha_!=0) ? alpha_->fixed() : kTRUE;}
103 
105 
109  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
110 
111  private:
113  LauBelleNR(const LauBelleNR& rhs);
114 
116  LauBelleNR& operator=(const LauBelleNR& rhs);
117 
120 
123 
124  ClassDef(LauBelleNR,0)
125 };
126 
127 #endif
LauParameter * alpha_
The range parameter.
Definition: LauBelleNR.hh:119
Bool_t fixed() const
Check whether the parameter is fixed or floated.
virtual ~LauBelleNR()
Destructor.
Definition: LauBelleNR.cc:43
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauBelleNR.hh:57
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauBelleNR.cc:103
Double_t getAlpha() const
Get the effective range parameter.
Definition: LauBelleNR.hh:96
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauBelleNR.cc:64
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauBelleNR.cc:81
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauBelleNR.cc:92
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:34
Bool_t fixAlpha() const
See if the alpha parameter is fixed or floating.
Definition: LauBelleNR.hh:102
LauResonanceModel
Define the allowed resonance types.
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauBelleNR.cc:117
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:127
File containing declaration of LauAbsResonance class.
Class for defining a complex number.
Definition: LauComplex.hh:47
LauAbsResonance::LauResonanceModel model_
The model to use.
Definition: LauBelleNR.hh:122
Class for calculating 3-body kinematic quantities.
Double_t value() const
The value of the parameter.
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