laura is hosted by Hepforge, IPPP Durham
Laura++  v3r4
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFlatteRes.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2004 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
36 #ifndef LAU_FLATTE_RES
37 #define LAU_FLATTE_RES
38 
39 #include "TString.h"
40 
41 #include "LauComplex.hh"
42 #include "LauAbsResonance.hh"
43 
44 
45 class LauFlatteRes : public LauAbsResonance {
46 
47  public:
49 
54  LauFlatteRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
55 
57  virtual ~LauFlatteRes();
58 
60  virtual void initialise();
61 
63 
67 
69 
73  virtual void setResonanceParameter(const TString& name, const Double_t value);
74 
76 
79  virtual void floatResonanceParameter(const TString& name);
80 
82 
86  virtual LauParameter* getResonanceParameter(const TString& name);
87 
89 
92  virtual const std::vector<LauParameter*>& getFloatingParameters();
93 
94  protected:
96 
99  void setg1Parameter(const Double_t g1);
100 
102 
105  void setg2Parameter(const Double_t g2);
106 
108 
111  Double_t getg1Parameter() const {return (g1_!=0) ? g1_->unblindValue() : 0.0;}
112 
114 
117  Double_t getg2Parameter() const {return (g2_!=0) ? g2_->unblindValue() : 0.0;}
118 
120 
123  Double_t fixg1Parameter() const {return (g1_!=0) ? g1_->fixed() : kTRUE;}
124 
126 
129  Double_t fixg2Parameter() const {return (g2_!=0) ? g2_->fixed() : kTRUE;}
130 
132 
136  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
137 
138  private:
140  LauFlatteRes(const LauFlatteRes& rhs);
141 
143  LauFlatteRes& operator=(const LauFlatteRes& rhs);
144 
149 
151  Double_t mSumSq0_;
153  Double_t mSumSq1_;
155  Double_t mSumSq2_;
157  Double_t mSumSq3_;
158 
161 
163  Double_t sA_;
164 
166  Bool_t absorbM0_;
167 
168  ClassDef(LauFlatteRes,0)
169 };
170 
171 #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.
Bool_t absorbM0_
Flag to specify whether the couplings absorb the m_0 factor.
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:47
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:49
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.
Double_t unblindValue() const
The unblinded value of the parameter.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauFlatteRes.hh:66
Class for defining a complex number.
Definition: LauComplex.hh:61
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.
LauFlatteRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauFlatteRes.cc:40
Class for defining the Flatte resonance model.
Definition: LauFlatteRes.hh:45
Double_t getg1Parameter() const
Get the g1 parameter.