laura is hosted by Hepforge, IPPP Durham
Laura++  v2r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauLASSNRRes.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2008 - 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_NR_RES
23 #define LAU_LASS_NR_RES
24 
25 #include "TString.h"
26 
27 #include "LauComplex.hh"
28 #include "LauAbsResonance.hh"
29 
30 
31 class LauLASSNRRes : public LauAbsResonance {
32 
33  public:
35 
44  LauLASSNRRes(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 ~LauLASSNRRes();
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(LauLASSNRRes,0) // LASS nonresonant model
176 };
177 
178 #endif
Double_t R_
LASS resonance magnitude.
virtual Double_t getEffectiveRange()
Get the effective range parameter.
Definition: LauLASSNRRes.hh:64
virtual void setResonancePhase(Double_t phiR)
Set the resonance phase.
virtual Double_t getBackgroundPhase()
Get the background phase.
Definition: LauLASSNRRes.hh:84
virtual void setEffectiveRange(Double_t r)
Set the effective range parameter.
LauLASSNRRes(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauLASSNRRes.cc:23
Double_t r_
LASS effective range parameter.
virtual void setScatteringLength(Double_t a)
Set the scattering length parameter.
virtual Double_t getBackgroundMag()
Get the background magnitude.
Definition: LauLASSNRRes.hh:74
Double_t mDaugSum_
Sum of the daughter masses.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
virtual void setBackgroundMag(Double_t B)
Set the background magnitude.
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauLASSNRRes.cc:82
virtual Double_t getScatteringLength()
Get the scattering length range parameter.
Definition: LauLASSNRRes.hh:69
Double_t a_
LASS scattering length parameter.
Double_t mDaugDiff_
Difference between the daughter masses.
Class for defining the non resonant part of the LASS model.
Definition: LauLASSNRRes.hh:31
Double_t mDaugDiffSq_
Square of mDaugDiff.
virtual Double_t getResonanceMag()
Get the resonance magnitude.
Definition: LauLASSNRRes.hh:79
Double_t q0_
Decay momentum of either daughter in the resonance rest frame.
virtual Double_t getResonancePhase()
Get the resonance phase.
Definition: LauLASSNRRes.hh:89
Double_t mDaugSumSq_
Square of mDaugSum.
virtual void setResonanceParameter(Double_t value, const TString &name)
Set value of the various parameters.
File containing declaration of LauComplex class.
Double_t resMassSq_
Square of the resonance mass.
virtual ~LauLASSNRRes()
Destructor.
Definition: LauLASSNRRes.cc:50
Double_t cutOff_
LASS cut off parameter.
LauResonanceModel
Define the allowed resonance types.
virtual void setBackgroundPhase(Double_t phiB)
Set the background phase.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual void initialise()
Initialise the model.
Definition: LauLASSNRRes.cc:54
Double_t B_
LASS background magnitude.
Double_t phiB_
LASS background phase.
File containing declaration of LauAbsResonance class.
Double_t phiR_
LASS resonance phase.
Class for defining a complex number.
Definition: LauComplex.hh:47
virtual void setCutOff(Double_t cutOff)
Set the cut off parameter.
virtual Double_t getCutOff()
Get the cut off parameter.
Definition: LauLASSNRRes.hh:94
virtual void setResonanceMag(Double_t R)
Set the resonance magnitude.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauLASSNRRes.hh:58