laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
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 "LauAbsResonance.hh"
41 #include "LauComplex.hh"
42 
43 #include "TString.h"
44 
45 class LauKappaRes : public LauAbsResonance {
46 
47  public:
49 
54  LauKappaRes( LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters );
55 
57  virtual ~LauKappaRes();
58 
60  virtual void initialise();
61 
63 
67  {
69  }
70 
72 
76  virtual void setResonanceParameter( const TString& name, const Double_t value );
77 
79 
82  virtual void floatResonanceParameter( const TString& name );
83 
85 
89  virtual LauParameter* getResonanceParameter( const TString& name );
90 
92 
95  virtual const std::vector<LauParameter*>& getFloatingParameters();
96 
97  protected:
99 
102  void setB1Value( const Double_t b1 );
103 
105 
108  void setB2Value( const Double_t b2 );
109 
111 
114  void setAValue( const Double_t A );
115 
117 
120  void setM0Value( const Double_t m0 );
121 
123 
126  Double_t getB1Value() const { return ( b1_ != 0 ) ? b1_->unblindValue() : 0.0; }
127 
129 
132  Double_t getB2Value() const { return ( b2_ != 0 ) ? b2_->unblindValue() : 0.0; }
133 
135 
138  Double_t getAValue() const { return ( a_ != 0 ) ? a_->unblindValue() : 0.0; }
139 
141 
144  Double_t getM0Value() const { return ( m0_ != 0 ) ? m0_->unblindValue() : 0.0; }
145 
147 
150  Bool_t fixB1Value() const { return ( b1_ != 0 ) ? b1_->fixed() : 0.0; }
151 
153 
156  Bool_t fixB2Value() const { return ( b2_ != 0 ) ? b2_->fixed() : 0.0; }
157 
159 
162  Bool_t fixAValue() const { return ( a_ != 0 ) ? a_->fixed() : 0.0; }
163 
165 
168  Bool_t fixM0Value() const { return ( m0_ != 0 ) ? m0_->fixed() : 0.0; }
169 
171 
175  virtual LauComplex resAmp( Double_t mass, Double_t spinTerm );
176 
178  void checkDaughterTypes() const;
179 
180  private:
182  LauKappaRes( const LauKappaRes& rhs );
183 
186 
188  const Double_t mSumSq_;
190  const Double_t sAdler_;
191 
200 
201  ClassDef( LauKappaRes, 0 ) // Kappa resonance model
202 };
203 
204 #endif
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauKappaRes.cc:234
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauKappaRes.cc:134
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
Double_t unblindValue() const
The unblinded value of the parameter.
Double_t getAValue() const
Get the A parameter value.
Definition: LauKappaRes.hh:138
Bool_t fixB1Value() const
Fix the b1 parameter value.
Definition: LauKappaRes.hh:150
void setM0Value(const Double_t m0)
Set the m0 parameter.
Definition: LauKappaRes.cc:312
Double_t getB2Value() const
Get the b2 parameter value.
Definition: LauKappaRes.hh:132
File containing declaration of LauAbsResonance class.
void setAValue(const Double_t A)
Set the A parameter.
Definition: LauKappaRes.cc:305
Bool_t fixAValue() const
Fix the A parameter value.
Definition: LauKappaRes.hh:162
Bool_t fixB2Value() const
Fix the b2 parameter value.
Definition: LauKappaRes.hh:156
void setB2Value(const Double_t b2)
Set the b2 parameter.
Definition: LauKappaRes.cc:298
virtual void initialise()
Initialise the model.
Definition: LauKappaRes.cc:96
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauKappaRes.cc:274
Class for defining a complex number.
Definition: LauComplex.hh:61
File containing declaration of LauComplex class.
LauParameter * m0_
Factor from BES data.
Definition: LauKappaRes.hh:199
LauParameter * b1_
Factor from BES data.
Definition: LauKappaRes.hh:193
void checkDaughterTypes() const
Check that Kappa daughters are K and pi.
Definition: LauKappaRes.cc:110
void setB1Value(const Double_t b1)
Set the b1 parameter.
Definition: LauKappaRes.cc:291
const Double_t sAdler_
Defined as mK*mK - 0.5*mPi*mPi.
Definition: LauKappaRes.hh:190
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Double_t getB1Value() const
Get the b1 parameter value.
Definition: LauKappaRes.hh:126
LauParameter * b2_
Factor from BES data.
Definition: LauKappaRes.hh:195
Class for defining the properties of a resonant particle.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauKappaRes.hh:66
Class for defining the Kappa resonance model.
Definition: LauKappaRes.hh:45
virtual ~LauKappaRes()
Destructor.
Definition: LauKappaRes.cc:92
Double_t getM0Value() const
Get the m0 parameter value.
Definition: LauKappaRes.hh:144
LauKappaRes & operator=(const LauKappaRes &rhs)
Copy assignment operator (not implemented)
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc....
LauKappaRes(const LauKappaRes &rhs)
Copy constructor (not implemented)
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauKappaRes.cc:186
LauKappaRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauKappaRes.cc:36
Bool_t fixM0Value() const
Fix the m0 parameter value.
Definition: LauKappaRes.hh:168
const Double_t mSumSq_
Square of (mK + mPi)
Definition: LauKappaRes.hh:188
LauParameter * a_
Factor from BES data.
Definition: LauKappaRes.hh:197
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
LauResonanceModel
Define the allowed resonance types.
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauKappaRes.cc:209