laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2p1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFlatteRes.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 
22 #ifndef LAU_FLATTE_RES
23 #define LAU_FLATTE_RES
24 
25 #include "TString.h"
26 
27 #include "LauComplex.hh"
28 #include "LauAbsResonance.hh"
29 
30 
31 class LauFlatteRes : public LauAbsResonance {
32 
33  public:
35 
44  LauFlatteRes(TString resName, Double_t resMass, Double_t resWidth,
45  Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt,
46  const LauDaughters* daughters);
47 
49  virtual ~LauFlatteRes();
50 
52  virtual void initialise();
53 
55 
59 
61 
65  virtual void setResonanceParameter(const TString& name, const Double_t value);
66 
67  protected:
69 
72  Double_t getg1Parameter() const {return g1_;}
73 
75 
78  Double_t getg2Parameter() const {return g2_;}
79 
81 
85  void setGFactors(Double_t g1, Double_t g2);
86 
88 
91  void setg1Parameter(Double_t g1) {g1_ = g1;}
92 
94 
97  void setg2Parameter(Double_t g2) {g2_ = g2;}
98 
100 
104  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
105 
106  private:
109 
111  Double_t resMassSq_;
113  Double_t g1_;
115  Double_t g2_;
117  Double_t mSumSq0_;
119  Double_t mSumSq1_;
121  Double_t mSumSq2_;
123  Double_t mSumSq3_;
124 
125  ClassDef(LauFlatteRes,0) // Flatte resonance model
126 
127 };
128 
129 #endif
virtual void initialise()
Initialise the model.
Definition: LauFlatteRes.cc:52
FlattePartType
Define allowed types.
Double_t resMassSq_
Square of the resonance mass.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
Double_t mSumSq1_
Defined as (mPi+mPi)*(mPi+mPi)
LauFlatteRes(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauFlatteRes.cc:23
Double_t mSumSq3_
Defined as (mK0+mK0)*(mK0+mK0)
void setg2Parameter(Double_t g2)
Set the g2 parameter.
Definition: LauFlatteRes.hh:97
void setGFactors(Double_t g1, Double_t g2)
Set the constant g factors.
Definition: LauFlatteRes.cc:69
Double_t getg2Parameter() const
Get the g2 parameter.
Definition: LauFlatteRes.hh:78
Double_t g2_
Constant factor (default value from BES data)
File containing declaration of LauComplex class.
Double_t g1_
Constant factor (default value from BES data)
virtual ~LauFlatteRes()
Destructor.
Definition: LauFlatteRes.cc:48
LauResonanceModel
Define the allowed resonance types.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
void setg1Parameter(Double_t g1)
Set the g1 parameter.
Definition: LauFlatteRes.hh:91
Double_t mSumSq2_
Defined as (mK+mK)*(mK+mK)
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of a resonance parameter.
Definition: LauFlatteRes.cc:75
File containing declaration of LauAbsResonance class.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauFlatteRes.hh:58
Class for defining a complex number.
Definition: LauComplex.hh:47
Double_t mSumSq0_
Defined as (mPi0+mPi0)*(mPi0+mPi0)
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauFlatteRes.cc:90
Class for defining the Flatte resonance model.
Definition: LauFlatteRes.hh:31
Double_t getg1Parameter() const
Get the g1 parameter.
Definition: LauFlatteRes.hh:72