laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
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 
64  Double_t getg1Parameter() {return g1_;}
65 
67 
70  Double_t getg2Parameter() {return g2_;}
71 
73 
77  void setGFactors(Double_t g1, Double_t g2);
78 
80 
83  void setg1Parameter(Double_t g1) {g1_ = g1;}
84 
86 
89  void setg2Parameter(Double_t g2) {g2_ = g2;}
90 
92 
96  virtual void setResonanceParameter(Double_t value, const TString& name);
97 
98  protected:
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 getg2Parameter()
Get the g2 parameter.
Definition: LauFlatteRes.hh:70
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:89
void setGFactors(Double_t g1, Double_t g2)
Set the constant g factors.
Definition: LauFlatteRes.cc:69
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.
Double_t getg1Parameter()
Get the g1 parameter.
Definition: LauFlatteRes.hh:64
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:83
Double_t mSumSq2_
Defined as (mK+mK)*(mK+mK)
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
virtual void setResonanceParameter(Double_t value, const TString &name)
Set resonance parameter.
Definition: LauFlatteRes.cc:75
Class for defining the Flatte resonance model.
Definition: LauFlatteRes.hh:31