laura is hosted by Hepforge, IPPP Durham
Laura++  v1r1p1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauLASSRes.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_LASS_RES
23 #define LAU_LASS_RES
24 
25 #include "TString.h"
26 
27 #include "LauComplex.hh"
28 #include "LauAbsResonance.hh"
29 
30 
31 class LauLASSRes : public LauAbsResonance {
32 
33  public:
35 
44  LauLASSRes(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 ~LauLASSRes();
50 
52  virtual void initialise();
53 
55 
59 
61 
64  virtual Double_t getEffectiveRange() {return r_;}
66 
69  virtual Double_t getScatteringLength() {return a_;}
71 
74  virtual Double_t getBackgroundMag() {return B_;}
76 
79  virtual Double_t getResonanceMag() {return R_;}
81 
84  virtual Double_t getBackgroundPhase() {return phiB_;}
86 
89  virtual Double_t getResonancePhase() {return phiR_;}
91 
94  virtual Double_t getCutOff() {return cutOff_;}
95 
97 
100  virtual void setEffectiveRange(Double_t r) {r_ = r;}
102 
105  virtual void setScatteringLength(Double_t a) {a_ = a;}
107 
110  virtual void setBackgroundMag(Double_t B) {B_ = B;}
112 
115  virtual void setResonanceMag(Double_t R) {R_ = R;}
117 
120  virtual void setBackgroundPhase(Double_t phiB) {phiB_ = phiB;}
122 
125  virtual void setResonancePhase(Double_t phiR) {phiR_ = phiR;}
127 
130  virtual void setCutOff(Double_t cutOff) {cutOff_ = cutOff;}
131 
133 
137  virtual void setResonanceParameter(Double_t value, const TString& name);
138 
139  protected:
141 
145  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
146 
147  private:
149  Double_t q0_;
151  Double_t mDaugSum_;
153  Double_t mDaugSumSq_;
155  Double_t mDaugDiff_;
157  Double_t mDaugDiffSq_;
159  Double_t resMassSq_;
161  Double_t r_;
163  Double_t a_;
165  Double_t B_;
167  Double_t R_;
169  Double_t phiB_;
171  Double_t phiR_;
173  Double_t cutOff_;
174 
175  ClassDef(LauLASSRes,0) // LASS resonance model
176 
177 };
178 
179 #endif
Class for defining the LASS resonance model.
Definition: LauLASSRes.hh:31
Double_t a_
LASS scattering length parameter.
Definition: LauLASSRes.hh:163
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauLASSRes.hh:58
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
virtual Double_t getEffectiveRange()
Get the effective range parameter.
Definition: LauLASSRes.hh:64
Double_t r_
LASS effective range parameter.
Definition: LauLASSRes.hh:161
Double_t mDaugDiffSq_
Square of mDaugDiff.
Definition: LauLASSRes.hh:157
LauLASSRes(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauLASSRes.cc:23
virtual void setCutOff(Double_t cutOff)
Set the cut off parameter.
Definition: LauLASSRes.hh:130
virtual Double_t getCutOff()
Get the cut off parameter.
Definition: LauLASSRes.hh:94
virtual void setBackgroundPhase(Double_t phiB)
Set the background phase.
Definition: LauLASSRes.hh:120
Double_t R_
LASS resonance magnitude.
Definition: LauLASSRes.hh:167
virtual Double_t getBackgroundPhase()
Get the background phase.
Definition: LauLASSRes.hh:84
Double_t B_
LASS background magnitude.
Definition: LauLASSRes.hh:165
Double_t q0_
Decay momentum of either daughter in the resonance rest frame.
Definition: LauLASSRes.hh:149
Double_t resMassSq_
Square of the resonance mass.
Definition: LauLASSRes.hh:159
virtual void initialise()
Initialise the model.
Definition: LauLASSRes.cc:54
virtual void setEffectiveRange(Double_t r)
Set the effective range parameter.
Definition: LauLASSRes.hh:100
Double_t phiR_
LASS resonance phase.
Definition: LauLASSRes.hh:171
virtual Double_t getResonanceMag()
Get the resonance magnitude.
Definition: LauLASSRes.hh:79
virtual void setScatteringLength(Double_t a)
Set the scattering length parameter.
Definition: LauLASSRes.hh:105
Double_t mDaugDiff_
Difference between the daughter masses.
Definition: LauLASSRes.hh:155
File containing declaration of LauComplex class.
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauLASSRes.cc:82
Double_t mDaugSum_
Sum of the daughter masses.
Definition: LauLASSRes.hh:151
virtual Double_t getScatteringLength()
Get the scattering length range parameter.
Definition: LauLASSRes.hh:69
LauResonanceModel
Define the allowed resonance types.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual Double_t getBackgroundMag()
Get the background magnitude.
Definition: LauLASSRes.hh:74
Double_t cutOff_
LASS cut off parameter.
Definition: LauLASSRes.hh:173
File containing declaration of LauAbsResonance class.
Class for defining a complex number.
Definition: LauComplex.hh:47
virtual void setResonanceMag(Double_t R)
Set the resonance magnitude.
Definition: LauLASSRes.hh:115
virtual void setResonancePhase(Double_t phiR)
Set the resonance phase.
Definition: LauLASSRes.hh:125
Double_t phiB_
LASS background phase.
Definition: LauLASSRes.hh:169
virtual Double_t getResonancePhase()
Get the resonance phase.
Definition: LauLASSRes.hh:89
Double_t mDaugSumSq_
Square of mDaugSum.
Definition: LauLASSRes.hh:153
virtual void setBackgroundMag(Double_t B)
Set the background magnitude.
Definition: LauLASSRes.hh:110
virtual ~LauLASSRes()
Destructor.
Definition: LauLASSRes.cc:50
virtual void setResonanceParameter(Double_t value, const TString &name)
Set value of the various parameters.
Definition: LauLASSRes.cc:166