laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2p1
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 - 2013.
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 
45  LauKappaRes(TString resName, Double_t resMass, Double_t resWidth,
46  Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt,
47  const LauDaughters* daughters);
48 
50  virtual ~LauKappaRes();
51 
53  virtual void initialise();
54 
56 
60 
62 
66  virtual void setResonanceParameter(const TString& name, const Double_t value);
67 
68  protected:
70 
76  void setConstants(const Double_t b1, const Double_t b2, const Double_t A, const Double_t m0);
77 
79 
82  void setB1Value(const Double_t b1) { b1_ = b1; }
83 
85 
88  void setB2Value(const Double_t b2) { b2_ = b2; }
89 
91 
94  void setAValue(const Double_t A) { A_ = A; }
95 
97 
100  void setM0Value(const Double_t m0) { m0_ = m0; m0Sq_ = m0*m0; denom_ = m0Sq_ - sAdler_; }
101 
103 
106  Double_t getB1Value() const { return b1_; }
107 
109 
112  Double_t getB2Value() const { return b2_; }
113 
115 
118  Double_t getAValue() const { return A_; }
119 
121 
124  Double_t getM0Value() const { return m0_; }
125 
127 
131  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
132 
134  void checkDaughterTypes() const;
135 
136  private:
138  Double_t mSum_;
140  Double_t mSumSq_;
142  Double_t sAdler_;
144  Double_t b1_;
146  Double_t b2_;
148  Double_t A_;
150  Double_t m0_;
152  Double_t m0Sq_;
154  Double_t denom_;
155 
156  ClassDef(LauKappaRes,0) // Kappa resonance model
157 
158 };
159 
160 #endif
Double_t m0Sq_
Square of m0.
Definition: LauKappaRes.hh:152
Double_t mSum_
Define m mSum as mK + mPi.
Definition: LauKappaRes.hh:138
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauKappaRes.cc:133
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauKappaRes.hh:59
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.hh:88
Double_t getAValue() const
Get the A parameter value.
Definition: LauKappaRes.hh:118
LauKappaRes(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauKappaRes.cc:23
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauKappaRes.cc:92
Double_t getB2Value() const
Get the b2 parameter value.
Definition: LauKappaRes.hh:112
void setM0Value(const Double_t m0)
Set the m0 parameter.
Definition: LauKappaRes.hh:100
Double_t sAdler_
Defined as mK*mK - 0.5*mPi*mPi.
Definition: LauKappaRes.hh:142
void setB1Value(const Double_t b1)
Set the b1 parameter.
Definition: LauKappaRes.hh:82
Double_t A_
Factor from BES data.
Definition: LauKappaRes.hh:148
virtual void initialise()
Initialise the model.
Definition: LauKappaRes.cc:53
void setAValue(const Double_t A)
Set the A parameter.
Definition: LauKappaRes.hh:94
File containing declaration of LauComplex class.
Class for defining the Kappa resonance model.
Definition: LauKappaRes.hh:32
Double_t b1_
Factor from BES data.
Definition: LauKappaRes.hh:144
Double_t getM0Value() const
Get the m0 parameter value.
Definition: LauKappaRes.hh:124
Double_t mSumSq_
Square of mSum.
Definition: LauKappaRes.hh:140
void checkDaughterTypes() const
Check that Kappa daughters are K and pi.
Definition: LauKappaRes.cc:73
LauResonanceModel
Define the allowed resonance types.
Double_t b2_
Factor from BES data.
Definition: LauKappaRes.hh:146
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
File containing declaration of LauAbsResonance class.
Double_t denom_
Defined as m0Sq - sAdler.
Definition: LauKappaRes.hh:154
Class for defining a complex number.
Definition: LauComplex.hh:47
Double_t getB1Value() const
Get the b1 parameter value.
Definition: LauKappaRes.hh:106
Double_t m0_
Factor from BES data.
Definition: LauKappaRes.hh:150
virtual ~LauKappaRes()
Destructor.
Definition: LauKappaRes.cc:49
void setConstants(const Double_t b1, const Double_t b2, const Double_t A, const Double_t m0)
Set the parameter values.
Definition: LauKappaRes.cc:63