laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauSigmaRes.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_SIGMA_RES
37 #define LAU_SIGMA_RES
38 
39 #include "LauAbsResonance.hh"
40 #include "LauComplex.hh"
41 
42 #include "TString.h"
43 
44 class LauSigmaRes : public LauAbsResonance {
45 
46  public:
48 
53  LauSigmaRes( LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters );
54 
56  virtual ~LauSigmaRes();
57 
59  virtual void initialise();
60 
62 
66  {
68  }
69 
71 
75  virtual void setResonanceParameter( const TString& name, const Double_t value );
76 
78 
81  virtual void floatResonanceParameter( const TString& name );
82 
84 
88  virtual LauParameter* getResonanceParameter( const TString& name );
89 
91 
94  virtual const std::vector<LauParameter*>& getFloatingParameters();
95 
96  protected:
98 
101  void setB1Value( const Double_t b1 );
102 
104 
107  void setB2Value( const Double_t b2 );
108 
110 
113  void setAValue( const Double_t A );
114 
116 
119  void setM0Value( const Double_t m0 );
120 
122 
125  Double_t getB1Value() const { return ( b1_ != 0 ) ? b1_->unblindValue() : 0.0; }
126 
128 
131  Double_t getB2Value() const { return ( b2_ != 0 ) ? b2_->unblindValue() : 0.0; }
132 
134 
137  Double_t getAValue() const { return ( a_ != 0 ) ? a_->unblindValue() : 0.0; }
138 
140 
143  Double_t getM0Value() const { return ( m0_ != 0 ) ? m0_->unblindValue() : 0.0; }
144 
146 
149  Bool_t fixB1Value() const { return ( b1_ != 0 ) ? b1_->fixed() : 0.0; }
150 
152 
155  Bool_t fixB2Value() const { return ( b2_ != 0 ) ? b2_->fixed() : 0.0; }
156 
158 
161  Bool_t fixAValue() const { return ( a_ != 0 ) ? a_->fixed() : 0.0; }
162 
164 
167  Bool_t fixM0Value() const { return ( m0_ != 0 ) ? m0_->fixed() : 0.0; }
168 
170 
174  virtual LauComplex resAmp( Double_t mass, Double_t spinTerm );
175 
177  void checkDaughterTypes() const;
178 
179  private:
181  LauSigmaRes( const LauSigmaRes& rhs );
182 
185 
187  Double_t mPiSq4_;
189  Double_t sAdler_;
190 
199 
200  ClassDef( LauSigmaRes, 0 ) // Sigma resonance model
201 };
202 
203 #endif
Double_t sAdler_
Defined as 0.5*mPi*mPi.
Definition: LauSigmaRes.hh:189
LauSigmaRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauSigmaRes.cc:36
virtual void initialise()
Initialise the model.
Definition: LauSigmaRes.cc:100
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauSigmaRes.cc:212
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
Double_t unblindValue() const
The unblinded value of the parameter.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauSigmaRes.hh:65
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauSigmaRes.cc:277
void setB2Value(const Double_t b2)
Set the b2 parameter.
Definition: LauSigmaRes.cc:301
void setM0Value(const Double_t m0)
Set the m0 parameter.
Definition: LauSigmaRes.cc:315
void setB1Value(const Double_t b1)
Set the b1 parameter.
Definition: LauSigmaRes.cc:294
LauParameter * m0_
Factor from BES data.
Definition: LauSigmaRes.hh:198
File containing declaration of LauAbsResonance class.
Double_t mPiSq4_
Defined as 4*mPi*mPi.
Definition: LauSigmaRes.hh:187
LauParameter * a_
Factor from BES data.
Definition: LauSigmaRes.hh:196
LauSigmaRes & operator=(const LauSigmaRes &rhs)
Copy assignment operator (not implemented)
Bool_t fixB1Value() const
Fix the b1 parameter value.
Definition: LauSigmaRes.hh:149
void setAValue(const Double_t A)
Set the A parameter.
Definition: LauSigmaRes.cc:308
Class for defining a complex number.
Definition: LauComplex.hh:61
virtual ~LauSigmaRes()
Destructor.
Definition: LauSigmaRes.cc:96
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant ampltiude.
Definition: LauSigmaRes.cc:137
LauSigmaRes(const LauSigmaRes &rhs)
Copy constructor (not implemented)
File containing declaration of LauComplex class.
Double_t getB1Value() const
Get the b1 parameter value.
Definition: LauSigmaRes.hh:125
Double_t getAValue() const
Get the A parameter value.
Definition: LauSigmaRes.hh:137
LauParameter * b1_
Factor from BES data.
Definition: LauSigmaRes.hh:192
void checkDaughterTypes() const
Check that both daughters are the same type of particle.
Definition: LauSigmaRes.cc:114
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Bool_t fixM0Value() const
Fix the m0 parameter value.
Definition: LauSigmaRes.hh:167
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauSigmaRes.cc:189
Class for defining the properties of a resonant particle.
Double_t getB2Value() const
Get the b2 parameter value.
Definition: LauSigmaRes.hh:131
Class for defining the Sigma resonance model.
Definition: LauSigmaRes.hh:44
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauSigmaRes.cc:237
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc....
Bool_t fixB2Value() const
Fix the b2 parameter value.
Definition: LauSigmaRes.hh:155
Bool_t fixAValue() const
Fix the A parameter value.
Definition: LauSigmaRes.hh:161
LauParameter * b2_
Factor from BES data.
Definition: LauSigmaRes.hh:194
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
Double_t getM0Value() const
Get the m0 parameter value.
Definition: LauSigmaRes.hh:143
LauResonanceModel
Define the allowed resonance types.