laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauBelleSymNR.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2013 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_BELLE_SYM_NR
37 #define LAU_BELLE_SYM_NR
38 
39 #include "LauAbsResonance.hh"
40 #include "LauComplex.hh"
41 
42 #include "TString.h"
43 
44 class LauKinematics;
45 
47 
48  public:
50 
58  const Int_t resPairAmpInt,
59  const LauDaughters* daughters );
60 
62  virtual ~LauBelleSymNR();
63 
65  virtual void initialise();
66 
68 
72  virtual LauComplex amplitude( const LauKinematics* kinematics );
73 
75 
79 
81 
84  virtual Bool_t preSymmetrised() const { return kTRUE; }
85 
87 
91  virtual void setResonanceParameter( const TString& name, const Double_t value );
92 
94 
97  virtual void floatResonanceParameter( const TString& name );
98 
100 
104  virtual LauParameter* getResonanceParameter( const TString& name );
105 
107 
110  virtual const std::vector<LauParameter*>& getFloatingParameters();
111 
112  protected:
114 
117  void setAlpha( const Double_t alpha );
118 
120 
123  Double_t getAlpha() const { return ( alpha_ != 0 ) ? alpha_->unblindValue() : 0.0; }
124 
126  Bool_t fixAlpha() const { return ( alpha_ != 0 ) ? alpha_->fixed() : kTRUE; }
127 
129  virtual LauComplex resAmp( Double_t mass, Double_t spinTerm );
130 
131  private:
134 
137 
140 
143 
144  ClassDef( LauBelleSymNR, 0 ) // Belle Non-resonant model
145 };
146 
147 #endif
virtual void initialise()
Initialise.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
Double_t unblindValue() const
The unblinded value of the parameter.
virtual Bool_t preSymmetrised() const
Is the amplitude pre-symmetrised?
LauAbsResonance::LauResonanceModel model_
The model to use.
File containing declaration of LauAbsResonance class.
LauParameter * alpha_
The range parameter.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Class for defining a complex number.
Definition: LauComplex.hh:61
LauBelleSymNR(LauResonanceInfo *resInfo, const LauAbsResonance::LauResonanceModel resType, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
virtual ~LauBelleSymNR()
Destructor.
File containing declaration of LauComplex class.
LauBelleSymNR(const LauBelleSymNR &rhs)
Copy constructor (not implemented)
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
This is not called, amplitude is used directly instead.
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Class for defining the symmetric Belle Non Resonant model.
Class for defining the properties of a resonant particle.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Double_t getAlpha() const
Get the effective range parameter.
Bool_t fixAlpha() const
See if the alpha parameter is fixed or floating.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc....
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Class for calculating 3-body kinematic quantities.
void setAlpha(const Double_t alpha)
Set the parameter alpha, the effective range.
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
LauBelleSymNR & operator=(const LauBelleSymNR &rhs)
Copy assignment operator (not implemented)
LauResonanceModel
Define the allowed resonance types.
virtual LauComplex amplitude(const LauKinematics *kinematics)
Get the complex dynamical amplitude.