laura is hosted by Hepforge, IPPP Durham
Laura++  v3r0p1
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 - 2014.
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 
40  LauFlatteRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
41 
43  virtual ~LauFlatteRes();
44 
46  virtual void initialise();
47 
49 
53 
55 
59  virtual void setResonanceParameter(const TString& name, const Double_t value);
60 
62 
65  virtual void floatResonanceParameter(const TString& name);
66 
68 
72  virtual LauParameter* getResonanceParameter(const TString& name);
73 
75 
78  virtual const std::vector<LauParameter*>& getFloatingParameters();
79 
80  protected:
82 
85  void setg1Parameter(const Double_t g1);
86 
88 
91  void setg2Parameter(const Double_t g2);
92 
94 
97  Double_t getg1Parameter() const {return (g1_!=0) ? g1_->value() : 0.0;}
98 
100 
103  Double_t getg2Parameter() const {return (g2_!=0) ? g2_->value() : 0.0;}
104 
106 
109  Double_t fixg1Parameter() const {return (g1_!=0) ? g1_->fixed() : kTRUE;}
110 
112 
115  Double_t fixg2Parameter() const {return (g2_!=0) ? g2_->fixed() : kTRUE;}
116 
118 
122  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
123 
124  private:
126  LauFlatteRes(const LauFlatteRes& rhs);
127 
129  LauFlatteRes& operator=(const LauFlatteRes& rhs);
130 
135 
137  Double_t mSumSq0_;
139  Double_t mSumSq1_;
141  Double_t mSumSq2_;
143  Double_t mSumSq3_;
144 
147 
149  Double_t sA_;
150 
151  ClassDef(LauFlatteRes,0)
152 };
153 
154 #endif
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
virtual void initialise()
Initialise the model.
Bool_t fixed() const
Check whether the parameter is fixed or floated.
LauParameter * g2_
Channel 1 coupling parameter.
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
Double_t mSumSq1_
Channel 1, subchannel 2 invariant mass.
Double_t fixg2Parameter() const
See if the g2 parameter is fixed or floating.
void setg1Parameter(const Double_t g1)
Set the g1 parameter.
Double_t mSumSq3_
Channel 2, subchannel 2 invariant mass.
void setg2Parameter(const Double_t g2)
Set the g2 parameter.
Double_t sA_
The Adler zero.
LauParameter * g1_
Channel 1 coupling parameter.
Bool_t useAdlerTerm_
Flag to turn on Adler term in the width.
Double_t getg2Parameter() const
Get the g2 parameter.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
File containing declaration of LauComplex class.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:34
virtual ~LauFlatteRes()
Destructor.
LauResonanceModel
Define the allowed resonance types.
LauFlatteRes & operator=(const LauFlatteRes &rhs)
Copy assignment operator (not implemented)
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Double_t mSumSq2_
Channel 2, subchannel 1 invariant mass.
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of a resonance parameter.
File containing declaration of LauAbsResonance class.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauFlatteRes.hh:52
Class for defining a complex number.
Definition: LauComplex.hh:47
Double_t mSumSq0_
Channel 1, subchannel 1 invariant mass.
Double_t fixg1Parameter() const
See if the g1 parameter is fixed or floating.
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Double_t value() const
The value of the parameter.
LauFlatteRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauFlatteRes.cc:26
Class for defining the Flatte resonance model.
Definition: LauFlatteRes.hh:31
Double_t getg1Parameter() const
Get the g1 parameter.
Definition: LauFlatteRes.hh:97