laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauPolarFormFactorNR.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2018 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 
37 #ifndef LAU_POLAR_FORM_FACTOR_NR
38 #define LAU_POLAR_FORM_FACTOR_NR
39 
40 #include "TString.h"
41 
42 #include "LauComplex.hh"
43 #include "LauAbsResonance.hh"
44 
45 class LauKinematics;
46 class LauParameter;
47 
48 
50 
51  public:
53 
60  const Int_t resPairAmpInt, const LauDaughters* daughters);
61 
63  virtual ~LauPolarFormFactorNR();
64 
66  virtual void initialise();
67 
69 
73 
75 
79  virtual void setResonanceParameter(const TString& name, const Double_t value);
80 
82 
85  virtual void floatResonanceParameter(const TString& name);
86 
88 
92  virtual LauParameter* getResonanceParameter(const TString& name);
93 
95 
98  virtual const std::vector<LauParameter*>& getFloatingParameters();
99 
100  protected:
102 
105  void setLambda(const Double_t lambda);
106 
108 
111  Double_t getLambda() const {return (lambda_!=0) ? lambda_->value() : 0.0;}
112 
114 
117  Bool_t fixLambda() const {return (lambda_!=0) ? lambda_->fixed() : kTRUE;}
118 
120 
124  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
125 
126  private:
129 
132 
134 
137 
138  ClassDef(LauPolarFormFactorNR,0)
139 };
140 
141 #endif
Bool_t fixed() const
Check whether the parameter is fixed or floated.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
LauPolarFormFactorNR & operator=(const LauPolarFormFactorNR &rhs)
Copy assignment operator (not implemented)
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
LauAbsResonance::LauResonanceModel model_
The model to use.
virtual ~LauPolarFormFactorNR()
Destructor.
Double_t getLambda() const
Get the parameter lambda, the NR shape parameter.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Class for defining a nonresonant form factor model.
void setLambda(const Double_t lambda)
Set the parameter lambda, the NR shape parameter.
virtual void initialise()
Initialise the model.
File containing declaration of LauComplex class.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
LauResonanceModel
Define the allowed resonance types.
Bool_t fixLambda() const
See if the lambda parameter is fixed or floating.
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
File containing declaration of LauAbsResonance class.
Class for defining a complex number.
Definition: LauComplex.hh:61
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Class for calculating 3-body kinematic quantities.
Double_t value() const
The value of the parameter.
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of the various parameters.
LauPolarFormFactorNR(LauResonanceInfo *resInfo, const LauAbsResonance::LauResonanceModel resType, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.