laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauDabbaRes.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2010 - 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_DABBA_RES
23 #define LAU_DABBA_RES
24 
25 #include "TString.h"
26 
27 #include "LauAbsResonance.hh"
28 #include "LauComplex.hh"
29 
30 
31 class LauDabbaRes : public LauAbsResonance {
32 
33  public:
35 
44  LauDabbaRes(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 ~LauDabbaRes();
50 
52  virtual void initialise();
53 
55 
59 
61 
65  virtual void setResonanceParameter(const TString& name, const Double_t value);
66 
67  protected:
69 
74  void setConstants(Double_t b, Double_t alpha, Double_t beta);
75 
77 
80  void setBValue(const Double_t b) { b_ = b; }
81 
83 
86  void setAlphaValue(const Double_t alpha) { alpha_ = alpha; }
87 
89 
92  void setBetaValue(const Double_t beta) { beta_ = beta; }
93 
95 
98  Double_t getBValue() const { return b_; }
99 
101 
104  Double_t getAlphaValue() const { return alpha_; }
105 
107 
110  Double_t getBetaValue() const { return beta_; }
111 
113 
117  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
118 
120  void checkDaughterTypes() const;
121 
122  private:
124  Double_t mSumSq_;
126  Double_t sAdler_;
128  Double_t b_;
130  Double_t alpha_;
132  Double_t beta_;
133 
134  ClassDef(LauDabbaRes,0) // Dabba resonance model
135 
136 };
137 
138 #endif
void setBValue(const Double_t b)
Set the b parameter.
Definition: LauDabbaRes.hh:80
Double_t alpha_
Constant factor.
Definition: LauDabbaRes.hh:130
Double_t getBetaValue() const
Get the beta parameter value.
Definition: LauDabbaRes.hh:110
Double_t getAlphaValue() const
Get the alpha parameter value.
Definition: LauDabbaRes.hh:104
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauDabbaRes.hh:58
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
Double_t beta_
Constant factor.
Definition: LauDabbaRes.hh:132
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauDabbaRes.cc:93
Double_t mSumSq_
Defined as mD + mPi all squared.
Definition: LauDabbaRes.hh:124
virtual void initialise()
Initialise the model.
Definition: LauDabbaRes.cc:46
File containing declaration of LauComplex class.
const Double_t beta
Angle beta of the unitarity triangle.
Definition: LauConstants.hh:84
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauDabbaRes.cc:128
virtual ~LauDabbaRes()
Destructor.
Definition: LauDabbaRes.cc:42
LauDabbaRes(TString resName, Double_t resMass, Double_t resWidth, Int_t resSpin, Int_t resCharge, Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauDabbaRes.cc:31
LauResonanceModel
Define the allowed resonance types.
void setAlphaValue(const Double_t alpha)
Set the alpha parameter.
Definition: LauDabbaRes.hh:86
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
Class for defining the Dabba resonance model.
Definition: LauDabbaRes.hh:31
void checkDaughterTypes() const
Check that the daughter particles are D and pi.
Definition: LauDabbaRes.cc:74
File containing declaration of LauAbsResonance class.
Double_t sAdler_
Defined as mD*mD - 0.5*mPi*mPi.
Definition: LauDabbaRes.hh:126
Class for defining a complex number.
Definition: LauComplex.hh:47
void setBetaValue(const Double_t beta)
Set the beta parameter.
Definition: LauDabbaRes.hh:92
Double_t b_
Constant factor.
Definition: LauDabbaRes.hh:128
Double_t getBValue() const
Get the b parameter value.
Definition: LauDabbaRes.hh:98
void setConstants(Double_t b, Double_t alpha, Double_t beta)
Set the parameter values.
Definition: LauDabbaRes.cc:68