laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauBelleSymNR.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_BELLE_SYM_NR
23 #define LAU_BELLE_SYM_NR
24 
25 #include "TString.h"
26 
27 #include "LauComplex.hh"
28 #include "LauAbsResonance.hh"
29 
30 class LauKinematics;
31 
32 
34 
35  public:
37 
44  const Int_t resPairAmpInt, const LauDaughters* daughters);
45 
47  virtual ~LauBelleSymNR();
48 
50  virtual void initialise();
51 
53 
57  virtual LauComplex amplitude(const LauKinematics* kinematics);
58 
60 
64 
66 
69  virtual Bool_t preSymmetrised() const {return kTRUE;}
70 
72 
76  virtual void setResonanceParameter(const TString& name, const Double_t value);
77 
79 
82  virtual void floatResonanceParameter(const TString& name);
83 
85 
89  virtual LauParameter* getResonanceParameter(const TString& name);
90 
92 
95  virtual const std::vector<LauParameter*>& getFloatingParameters();
96 
97  protected:
99 
102  void setAlpha(const Double_t alpha);
103 
105 
108  Double_t getAlpha() const {return (alpha_!=0) ? alpha_->unblindValue() : 0.0;}
109 
111  Bool_t fixAlpha() const {return (alpha_!=0) ? alpha_->fixed() : kTRUE;}
112 
114  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
115 
116  private:
118  LauBelleSymNR(const LauBelleSymNR& rhs);
119 
122 
125 
128 
129  ClassDef(LauBelleSymNR,0) // Belle Non-resonant model
130 
131 };
132 
133 #endif
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
LauBelleSymNR & operator=(const LauBelleSymNR &rhs)
Copy assignment operator (not implemented)
LauBelleSymNR(LauResonanceInfo *resInfo, const LauAbsResonance::LauResonanceModel resType, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
This is not called, amplitude is used directly instead.
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
virtual ~LauBelleSymNR()
Destructor.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
File containing declaration of LauComplex class.
Double_t getAlpha() const
Get the effective range parameter.
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:35
virtual LauComplex amplitude(const LauKinematics *kinematics)
Get the complex dynamical amplitude.
LauResonanceModel
Define the allowed resonance types.
Class for defining the symmetric Belle Non Resonant model.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
LauParameter * alpha_
The range parameter.
File containing declaration of LauAbsResonance class.
Double_t unblindValue() const
The unblinded value of the parameter.
Bool_t fixAlpha() const
See if the alpha parameter is fixed or floating.
Class for defining a complex number.
Definition: LauComplex.hh:47
virtual Bool_t preSymmetrised() const
Is the amplitude pre-symmetrised?
Class for calculating 3-body kinematic quantities.
virtual void initialise()
Initialise.
LauAbsResonance::LauResonanceModel model_
The model to use.
void setAlpha(const Double_t alpha)
Set the parameter alpha, the effective range.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.