laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauEFKLLMRes.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2015 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 
39 #ifndef LAU_EFKLLM_RES
40 #define LAU_EFKLLM_RES
41 
42 #include "TString.h"
43 
44 #include "LauComplex.hh"
45 #include "LauAbsResonance.hh"
46 
47 class Lau1DCubicSpline;
48 
49 
50 class LauEFKLLMRes : public LauAbsResonance {
51 
52  public:
54 
59  LauEFKLLMRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
60 
62  virtual ~LauEFKLLMRes();
63 
65 
71  static void setupFormFactor(const TString& inputFile);
72 
74  virtual void initialise();
75 
77 
81 
83 
87  virtual void setResonanceParameter(const TString& name, const Double_t value);
88 
90 
93  virtual void floatResonanceParameter(const TString& name);
94 
96 
100  virtual LauParameter* getResonanceParameter(const TString& name);
101 
103 
106  virtual const std::vector<LauParameter*>& getFloatingParameters();
107 
108  protected:
110 
113  void setMassFactor(const Double_t massFactor);
114 
116 
119  Double_t getMassFactor() const {return (massFactor_!=0) ? massFactor_->unblindValue() : 0.0;}
120 
122 
125  Bool_t fixMassFactor() const {return (massFactor_!=0) ? massFactor_->fixed() : kTRUE;}
126 
128 
132  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
133 
134  private:
139 
142 
143  ClassDef(LauEFKLLMRes,0) // EFKLLM resonance model
144 
145 };
146 
147 #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:45
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauEFKLLMRes.cc:95
virtual void initialise()
Initialise the model.
Definition: LauEFKLLMRes.cc:67
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauEFKLLMRes.hh:80
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:50
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.
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of a resonance parameter.
Definition: LauEFKLLMRes.cc:71
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:49
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
virtual ~LauEFKLLMRes()
Destructor.
Definition: LauEFKLLMRes.cc:63
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:61
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:81