laura is hosted by Hepforge, IPPP Durham
Laura++  v3r2
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauEFKLLMRes.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2004 - 2015.
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 
25 #ifndef LAU_EFKLLM_RES
26 #define LAU_EFKLLM_RES
27 
28 #include "TString.h"
29 
30 #include "LauComplex.hh"
31 #include "LauAbsResonance.hh"
32 
33 class Lau1DCubicSpline;
34 
35 
36 class LauEFKLLMRes : public LauAbsResonance {
37 
38  public:
40 
45  LauEFKLLMRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
46 
48  virtual ~LauEFKLLMRes();
49 
51 
57  static void setupFormFactor(const TString& inputFile);
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 setMassFactor(const Double_t massFactor);
100 
102 
105  Double_t getMassFactor() const {return (massFactor_!=0) ? massFactor_->unblindValue() : 0.0;}
106 
108 
111  Bool_t fixMassFactor() const {return (massFactor_!=0) ? massFactor_->fixed() : kTRUE;}
112 
114 
118  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
119 
120  private:
125 
128 
129  ClassDef(LauEFKLLMRes,0) // EFKLLM resonance model
130 
131 };
132 
133 #endif
Bool_t fixed() const
Check whether the parameter is fixed or floated.
LauEFKLLMRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauEFKLLMRes.cc:31
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauEFKLLMRes.cc:81
virtual void initialise()
Initialise the model.
Definition: LauEFKLLMRes.cc:53
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauEFKLLMRes.hh:66
LauParameter * massFactor_
The power of the mass dependence.
static void setupFormFactor(const TString &inputFile)
Read the form factor information from text file.
void setMassFactor(const Double_t massFactor)
Set the power of the mass dependence.
Class for defining the EFKLLM K-pi S-wave model.
Definition: LauEFKLLMRes.hh:36
static Lau1DCubicSpline * phaseSpline_
Spline describing the phase variation of the form-factor.
Double_t getMassFactor() const
Get the power of the mass dependence.
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauEFKLLMRes.cc:91
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of a resonance parameter.
Definition: LauEFKLLMRes.cc:57
Class for defining a 1D cubic spline based on a set of knots.
File containing declaration of LauComplex class.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:35
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
virtual ~LauEFKLLMRes()
Destructor.
Definition: LauEFKLLMRes.cc:49
LauResonanceModel
Define the allowed resonance types.
Bool_t fixMassFactor() const
See if the mass factor parameter is fixed or floating.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
File containing declaration of LauAbsResonance class.
Double_t unblindValue() const
The unblinded value of the parameter.
Class for defining a complex number.
Definition: LauComplex.hh:47
static Lau1DCubicSpline * magSpline_
Spline describing the magnitude variation of the form-factor.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauEFKLLMRes.cc:67