laura is hosted by Hepforge, IPPP Durham
Laura++  v3r1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauKappaRes.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 
23 #ifndef LAU_KAPPA_RES
24 #define LAU_KAPPA_RES
25 
26 #include "TString.h"
27 
28 #include "LauComplex.hh"
29 #include "LauAbsResonance.hh"
30 
31 
32 class LauKappaRes : public LauAbsResonance {
33 
34  public:
36 
41  LauKappaRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
42 
44  virtual ~LauKappaRes();
45 
47  virtual void initialise();
48 
50 
54 
56 
60  virtual void setResonanceParameter(const TString& name, const Double_t value);
61 
63 
66  virtual void floatResonanceParameter(const TString& name);
67 
69 
73  virtual LauParameter* getResonanceParameter(const TString& name);
74 
76 
79  virtual const std::vector<LauParameter*>& getFloatingParameters();
80 
81  protected:
83 
86  void setB1Value(const Double_t b1);
87 
89 
92  void setB2Value(const Double_t b2);
93 
95 
98  void setAValue(const Double_t A);
99 
101 
104  void setM0Value(const Double_t m0);
105 
107 
110  Double_t getB1Value() const { return (b1_!=0) ? b1_->unblindValue() : 0.0; }
111 
113 
116  Double_t getB2Value() const { return (b2_!=0) ? b2_->unblindValue() : 0.0; }
117 
119 
122  Double_t getAValue() const { return (a_!=0) ? a_->unblindValue() : 0.0; }
123 
125 
128  Double_t getM0Value() const { return (m0_!=0) ? m0_->unblindValue() : 0.0; }
129 
131 
134  Bool_t fixB1Value() const { return (b1_!=0) ? b1_->fixed() : 0.0; }
135 
137 
140  Bool_t fixB2Value() const { return (b2_!=0) ? b2_->fixed() : 0.0; }
141 
143 
146  Bool_t fixAValue() const { return (a_!=0) ? a_->fixed() : 0.0; }
147 
149 
152  Bool_t fixM0Value() const { return (m0_!=0) ? m0_->fixed() : 0.0; }
153 
155 
159  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
160 
162  void checkDaughterTypes() const;
163 
164  private:
166  LauKappaRes(const LauKappaRes& rhs);
167 
169  LauKappaRes& operator=(const LauKappaRes& rhs);
170 
172  const Double_t mSumSq_;
174  const Double_t sAdler_;
175 
184 
185  ClassDef(LauKappaRes,0) // Kappa resonance model
186 
187 };
188 
189 #endif
LauParameter * a_
Factor from BES data.
Definition: LauKappaRes.hh:181
Bool_t fixed() const
Check whether the parameter is fixed or floated.
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauKappaRes.cc:161
const Double_t mSumSq_
Square of (mK + mPi)
Definition: LauKappaRes.hh:172
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauKappaRes.cc:184
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauKappaRes.hh:53
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
void setB2Value(const Double_t b2)
Set the b2 parameter.
Definition: LauKappaRes.cc:266
Double_t getAValue() const
Get the A parameter value.
Definition: LauKappaRes.hh:122
LauParameter * m0_
Factor from BES data.
Definition: LauKappaRes.hh:183
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauKappaRes.cc:113
Double_t getB2Value() const
Get the b2 parameter value.
Definition: LauKappaRes.hh:116
void setM0Value(const Double_t m0)
Set the m0 parameter.
Definition: LauKappaRes.cc:280
void setB1Value(const Double_t b1)
Set the b1 parameter.
Definition: LauKappaRes.cc:259
LauParameter * b2_
Factor from BES data.
Definition: LauKappaRes.hh:179
LauParameter * b1_
Factor from BES data.
Definition: LauKappaRes.hh:177
const Double_t sAdler_
Defined as mK*mK - 0.5*mPi*mPi.
Definition: LauKappaRes.hh:174
virtual void initialise()
Initialise the model.
Definition: LauKappaRes.cc:82
void setAValue(const Double_t A)
Set the A parameter.
Definition: LauKappaRes.cc:273
Bool_t fixB2Value() const
Fix the b2 parameter value.
Definition: LauKappaRes.hh:140
File containing declaration of LauComplex class.
Class for defining the Kappa resonance model.
Definition: LauKappaRes.hh:32
Bool_t fixAValue() const
Fix the A parameter value.
Definition: LauKappaRes.hh:146
Class for defining the fit parameter objects.
Definition: LauParameter.hh:35
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauKappaRes.cc:243
Double_t getM0Value() const
Get the m0 parameter value.
Definition: LauKappaRes.hh:128
void checkDaughterTypes() const
Check that Kappa daughters are K and pi.
Definition: LauKappaRes.cc:94
LauResonanceModel
Define the allowed resonance types.
Bool_t fixM0Value() const
Fix the m0 parameter value.
Definition: LauKappaRes.hh:152
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauKappaRes.cc:208
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
Bool_t fixB1Value() const
Fix the b1 parameter value.
Definition: LauKappaRes.hh:134
LauKappaRes & operator=(const LauKappaRes &rhs)
Copy assignment operator (not implemented)
Double_t getB1Value() const
Get the b1 parameter value.
Definition: LauKappaRes.hh:110
virtual ~LauKappaRes()
Destructor.
Definition: LauKappaRes.cc:78
LauKappaRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauKappaRes.cc:24