laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauSigmaRes.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_SIGMA_RES
23 #define LAU_SIGMA_RES
24 
25 #include "TString.h"
26 
27 #include "LauAbsResonance.hh"
28 #include "LauComplex.hh"
29 
30 
31 class LauSigmaRes : public LauAbsResonance {
32 
33  public:
35 
44  LauSigmaRes(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 ~LauSigmaRes();
50 
52  virtual void initialise();
53 
55 
59 
61 
65  virtual void setResonanceParameter(const TString& name, const Double_t value);
66 
67  protected:
69 
75  void setConstants(Double_t b1, Double_t b2, Double_t A, Double_t m0);
76 
78 
81  void setB1Value(const Double_t b1) { b1_ = b1; }
82 
84 
87  void setB2Value(const Double_t b2) { b2_ = b2; }
88 
90 
93  void setAValue(const Double_t A) { A_ = A; }
94 
96 
99  void setM0Value(const Double_t m0) { m0_ = m0; m0Sq_ = m0*m0; denom_ = m0Sq_ - sAdler_; }
100 
102 
105  Double_t getB1Value() const { return b1_; }
106 
108 
111  Double_t getB2Value() const { return b2_; }
112 
114 
117  Double_t getAValue() const { return A_; }
118 
120 
123  Double_t getM0Value() const { return m0_; }
124 
126 
130  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
131 
133  void checkDaughterTypes() const;
134 
135  private:
137  Double_t mPiSq4_;
139  Double_t sAdler_;
141  Double_t b1_;
143  Double_t b2_;
145  Double_t A_;
147  Double_t m0_;
149  Double_t m0Sq_;
151  Double_t denom_;
152 
153  ClassDef(LauSigmaRes,0) // Sigma resonance model
154 
155 };
156 
157 #endif
virtual ~LauSigmaRes()
Destructor.
Definition: LauSigmaRes.cc:48
void setAValue(const Double_t A)
Set the A parameter.
Definition: LauSigmaRes.hh:93
LauSigmaRes(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauSigmaRes.cc:23
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
Double_t getAValue() const
Get the A parameter value.
Definition: LauSigmaRes.hh:117
Double_t getB2Value() const
Get the b2 parameter value.
Definition: LauSigmaRes.hh:111
void setConstants(Double_t b1, Double_t b2, Double_t A, Double_t m0)
Set the parameter values.
Definition: LauSigmaRes.cc:62
virtual void initialise()
Initialise the model.
Definition: LauSigmaRes.cc:52
Double_t sAdler_
Defined as 0.5*mPi*mPi.
Definition: LauSigmaRes.hh:139
Class for defining the Sigma resonance model.
Definition: LauSigmaRes.hh:31
Double_t getB1Value() const
Get the b1 parameter value.
Definition: LauSigmaRes.hh:105
Double_t b2_
Factor from BES data.
Definition: LauSigmaRes.hh:143
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauSigmaRes.cc:132
File containing declaration of LauComplex class.
Double_t b1_
Factor from BES data.
Definition: LauSigmaRes.hh:141
Double_t m0_
Factor from BES data.
Definition: LauSigmaRes.hh:147
void checkDaughterTypes() const
Check that both daughters are the same type of particle.
Definition: LauSigmaRes.cc:71
void setB2Value(const Double_t b2)
Set the b2 parameter.
Definition: LauSigmaRes.hh:87
LauResonanceModel
Define the allowed resonance types.
void setB1Value(const Double_t b1)
Set the b1 parameter.
Definition: LauSigmaRes.hh:81
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant ampltiude.
Definition: LauSigmaRes.cc:91
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
Double_t A_
Factor from BES data.
Definition: LauSigmaRes.hh:145
Double_t m0Sq_
Defined as m0 squared.
Definition: LauSigmaRes.hh:149
File containing declaration of LauAbsResonance class.
Double_t denom_
Defined as m0Sq - sAdler.
Definition: LauSigmaRes.hh:151
Class for defining a complex number.
Definition: LauComplex.hh:47
Double_t getM0Value() const
Get the m0 parameter value.
Definition: LauSigmaRes.hh:123
void setM0Value(const Double_t m0)
Set the m0 parameter.
Definition: LauSigmaRes.hh:99
Double_t mPiSq4_
Defined as 4*mPi*mPi.
Definition: LauSigmaRes.hh:137
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauSigmaRes.hh:58