laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauDabbaRes.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2010 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_DABBA_RES
37 #define LAU_DABBA_RES
38 
39 #include "LauAbsResonance.hh"
40 #include "LauComplex.hh"
41 
42 #include "TString.h"
43 
44 class LauDabbaRes : public LauAbsResonance {
45 
46  public:
48 
53  LauDabbaRes( LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters );
54 
56  virtual ~LauDabbaRes();
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 setBValue( const Double_t b );
102 
104 
107  void setAlphaValue( const Double_t alpha );
108 
110 
113  void setBetaValue( const Double_t beta );
114 
116 
119  Double_t getBValue() const { return ( b_ != 0 ) ? b_->unblindValue() : 0.0; }
120 
122 
125  Double_t getAlphaValue() const { return ( alpha_ != 0 ) ? alpha_->unblindValue() : 0.0; }
126 
128 
131  Double_t getBetaValue() const { return ( beta_ != 0 ) ? beta_->unblindValue() : 0.0; }
132 
134 
137  Bool_t fixBValue() const { return ( b_ != 0 ) ? b_->fixed() : 0.0; }
138 
140 
143  Bool_t fixAlphaValue() const { return ( alpha_ != 0 ) ? alpha_->fixed() : 0.0; }
144 
146 
149  Bool_t fixBetaValue() const { return ( beta_ != 0 ) ? beta_->fixed() : 0.0; }
150 
152 
156  virtual LauComplex resAmp( Double_t mass, Double_t spinTerm );
157 
159  void checkDaughterTypes() const;
160 
161  private:
163  LauDabbaRes( const LauDabbaRes& rhs );
164 
167 
169  Double_t mSumSq_;
171  Double_t sAdler_;
172 
179 
180  ClassDef( LauDabbaRes, 0 ) // Dabba resonance model
181 };
182 
183 #endif
Double_t getAlphaValue() const
Get the alpha parameter value.
Definition: LauDabbaRes.hh:125
LauParameter * alpha_
Constant factor.
Definition: LauDabbaRes.hh:176
Double_t getBValue() const
Get the b parameter value.
Definition: LauDabbaRes.hh:119
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
Double_t unblindValue() const
The unblinded value of the parameter.
LauDabbaRes & operator=(const LauDabbaRes &rhs)
Copy assignment operator (not implemented)
void setBetaValue(const Double_t beta)
Set the beta parameter.
Definition: LauDabbaRes.cc:277
Double_t getBetaValue() const
Get the beta parameter value.
Definition: LauDabbaRes.hh:131
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauDabbaRes.hh:65
LauParameter * b_
Constant factor.
Definition: LauDabbaRes.hh:174
Bool_t fixBetaValue() const
Fix the beta parameter value.
Definition: LauDabbaRes.hh:149
File containing declaration of LauAbsResonance class.
void setBValue(const Double_t b)
Set the b parameter.
Definition: LauDabbaRes.cc:263
LauParameter * beta_
Constant factor.
Definition: LauDabbaRes.hh:178
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauDabbaRes.cc:176
Bool_t fixAlphaValue() const
Fix the alpha parameter value.
Definition: LauDabbaRes.hh:143
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauDabbaRes.cc:248
virtual void initialise()
Initialise the model.
Definition: LauDabbaRes.cc:87
Bool_t fixBValue() const
Fix the b parameter value.
Definition: LauDabbaRes.hh:137
Class for defining a complex number.
Definition: LauComplex.hh:61
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauDabbaRes.cc:135
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Definition: LauDabbaRes.cc:195
void setAlphaValue(const Double_t alpha)
Set the alpha parameter.
Definition: LauDabbaRes.cc:270
virtual ~LauDabbaRes()
Destructor.
Definition: LauDabbaRes.cc:83
File containing declaration of LauComplex class.
Double_t mSumSq_
Defined as mD + mPi all squared.
Definition: LauDabbaRes.hh:169
Bool_t fixed() const
Check whether the parameter is fixed or floated.
LauDabbaRes(const LauDabbaRes &rhs)
Copy constructor (not implemented)
Class for defining the properties of a resonant particle.
LauDabbaRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauDabbaRes.cc:38
Double_t sAdler_
Defined as mD*mD - 0.5*mPi*mPi.
Definition: LauDabbaRes.hh:171
const Double_t beta
Angle beta of the unitarity triangle - source PDG via HFLAV 2019.
Definition: LauConstants.hh:99
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc....
void checkDaughterTypes() const
Check that the daughter particles are D and pi.
Definition: LauDabbaRes.cc:111
Class for defining the Dabba resonance model.
Definition: LauDabbaRes.hh:44
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
LauResonanceModel
Define the allowed resonance types.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauDabbaRes.cc:216