laura is hosted by Hepforge, IPPP Durham
Laura++  v3r4
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauKappaRes.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2004 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
37 #ifndef LAU_KAPPA_RES
38 #define LAU_KAPPA_RES
39 
40 #include "TString.h"
41 
42 #include "LauComplex.hh"
43 #include "LauAbsResonance.hh"
44 
45 
46 class LauKappaRes : public LauAbsResonance {
47 
48  public:
50 
55  LauKappaRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
56 
58  virtual ~LauKappaRes();
59 
61  virtual void initialise();
62 
64 
68 
70 
74  virtual void setResonanceParameter(const TString& name, const Double_t value);
75 
77 
80  virtual void floatResonanceParameter(const TString& name);
81 
83 
87  virtual LauParameter* getResonanceParameter(const TString& name);
88 
90 
93  virtual const std::vector<LauParameter*>& getFloatingParameters();
94 
95  protected:
97 
100  void setB1Value(const Double_t b1);
101 
103 
106  void setB2Value(const Double_t b2);
107 
109 
112  void setAValue(const Double_t A);
113 
115 
118  void setM0Value(const Double_t m0);
119 
121 
124  Double_t getB1Value() const { return (b1_!=0) ? b1_->unblindValue() : 0.0; }
125 
127 
130  Double_t getB2Value() const { return (b2_!=0) ? b2_->unblindValue() : 0.0; }
131 
133 
136  Double_t getAValue() const { return (a_!=0) ? a_->unblindValue() : 0.0; }
137 
139 
142  Double_t getM0Value() const { return (m0_!=0) ? m0_->unblindValue() : 0.0; }
143 
145 
148  Bool_t fixB1Value() const { return (b1_!=0) ? b1_->fixed() : 0.0; }
149 
151 
154  Bool_t fixB2Value() const { return (b2_!=0) ? b2_->fixed() : 0.0; }
155 
157 
160  Bool_t fixAValue() const { return (a_!=0) ? a_->fixed() : 0.0; }
161 
163 
166  Bool_t fixM0Value() const { return (m0_!=0) ? m0_->fixed() : 0.0; }
167 
169 
173  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
174 
176  void checkDaughterTypes() const;
177 
178  private:
180  LauKappaRes(const LauKappaRes& rhs);
181 
183  LauKappaRes& operator=(const LauKappaRes& rhs);
184 
186  const Double_t mSumSq_;
188  const Double_t sAdler_;
189 
198 
199  ClassDef(LauKappaRes,0) // Kappa resonance model
200 
201 };
202 
203 #endif
LauParameter * a_
Factor from BES data.
Definition: LauKappaRes.hh:195
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:175
const Double_t mSumSq_
Square of (mK + mPi)
Definition: LauKappaRes.hh:186
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauKappaRes.cc:198
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauKappaRes.hh:67
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
void setB2Value(const Double_t b2)
Set the b2 parameter.
Definition: LauKappaRes.cc:280
Double_t getAValue() const
Get the A parameter value.
Definition: LauKappaRes.hh:136
LauParameter * m0_
Factor from BES data.
Definition: LauKappaRes.hh:197
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauKappaRes.cc:127
Double_t getB2Value() const
Get the b2 parameter value.
Definition: LauKappaRes.hh:130
void setM0Value(const Double_t m0)
Set the m0 parameter.
Definition: LauKappaRes.cc:294
void setB1Value(const Double_t b1)
Set the b1 parameter.
Definition: LauKappaRes.cc:273
LauParameter * b2_
Factor from BES data.
Definition: LauKappaRes.hh:193
LauParameter * b1_
Factor from BES data.
Definition: LauKappaRes.hh:191
const Double_t sAdler_
Defined as mK*mK - 0.5*mPi*mPi.
Definition: LauKappaRes.hh:188
virtual void initialise()
Initialise the model.
Definition: LauKappaRes.cc:96
void setAValue(const Double_t A)
Set the A parameter.
Definition: LauKappaRes.cc:287
Bool_t fixB2Value() const
Fix the b2 parameter value.
Definition: LauKappaRes.hh:154
File containing declaration of LauComplex class.
Class for defining the Kappa resonance model.
Definition: LauKappaRes.hh:46
Bool_t fixAValue() const
Fix the A parameter value.
Definition: LauKappaRes.hh:160
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauKappaRes.cc:257
Double_t getM0Value() const
Get the m0 parameter value.
Definition: LauKappaRes.hh:142
void checkDaughterTypes() const
Check that Kappa daughters are K and pi.
Definition: LauKappaRes.cc:108
LauResonanceModel
Define the allowed resonance types.
Bool_t fixM0Value() const
Fix the m0 parameter value.
Definition: LauKappaRes.hh:166
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:222
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:61
Bool_t fixB1Value() const
Fix the b1 parameter value.
Definition: LauKappaRes.hh:148
LauKappaRes & operator=(const LauKappaRes &rhs)
Copy assignment operator (not implemented)
Double_t getB1Value() const
Get the b1 parameter value.
Definition: LauKappaRes.hh:124
virtual ~LauKappaRes()
Destructor.
Definition: LauKappaRes.cc:92
LauKappaRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauKappaRes.cc:38