laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
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 "LauAbsResonance.hh"
43 #include "LauComplex.hh"
44 
45 #include "TString.h"
46 
47 class Lau1DCubicSpline;
48 
49 class LauEFKLLMRes : public LauAbsResonance {
50 
51  public:
53 
58  LauEFKLLMRes( LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters );
59 
61  virtual ~LauEFKLLMRes();
62 
64 
70  static void setupFormFactor( const TString& inputFile );
71 
73  virtual void initialise();
74 
76 
80  {
82  }
83 
85 
89  virtual void setResonanceParameter( const TString& name, const Double_t value );
90 
92 
95  virtual void floatResonanceParameter( const TString& name );
96 
98 
102  virtual LauParameter* getResonanceParameter( const TString& name );
103 
105 
108  virtual const std::vector<LauParameter*>& getFloatingParameters();
109 
110  protected:
112 
115  void setMassFactor( const Double_t massFactor );
116 
118 
121  Double_t getMassFactor() const
122  {
123  return ( massFactor_ != 0 ) ? massFactor_->unblindValue() : 0.0;
124  }
125 
127 
130  Bool_t fixMassFactor() const { return ( massFactor_ != 0 ) ? massFactor_->fixed() : kTRUE; }
131 
133 
137  virtual LauComplex resAmp( Double_t mass, Double_t spinTerm );
138 
139  private:
144 
147 
148  ClassDef( LauEFKLLMRes, 0 ) // EFKLLM resonance model
149 };
150 
151 #endif
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
Double_t unblindValue() const
The unblinded value of the parameter.
Double_t getMassFactor() const
Get the power of the mass dependence.
Bool_t fixMassFactor() const
See if the mass factor parameter is fixed or floating.
virtual ~LauEFKLLMRes()
Destructor.
Definition: LauEFKLLMRes.cc:61
File containing declaration of LauAbsResonance class.
Class for defining a complex number.
Definition: LauComplex.hh:61
Class for defining a 1D cubic spline based on a set of knots.
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
Definition: LauEFKLLMRes.cc:97
static void setupFormFactor(const TString &inputFile)
Read the form factor information from text file.
File containing declaration of LauComplex class.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Definition: LauEFKLLMRes.cc:81
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
LauEFKLLMRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauEFKLLMRes.cc:41
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of a resonance parameter.
Definition: LauEFKLLMRes.cc:69
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Class for defining the properties of a resonant particle.
virtual void initialise()
Initialise the model.
Definition: LauEFKLLMRes.cc:65
Class for defining the EFKLLM K-pi S-wave model.
Definition: LauEFKLLMRes.hh:49
LauParameter * massFactor_
The power of the mass dependence.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc....
void setMassFactor(const Double_t massFactor)
Set the power of the mass dependence.
static Lau1DCubicSpline * magSpline_
Spline describing the magnitude variation of the form-factor.
static Lau1DCubicSpline * phaseSpline_
Spline describing the phase variation of the form-factor.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauEFKLLMRes.hh:79
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
LauResonanceModel
Define the allowed resonance types.