laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauPolarFormFactorSymNR.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 
38 #ifndef LAU_POLAR_FORM_FACTOR_SYM_NR
39 #define LAU_POLAR_FORM_FACTOR_SYM_NR
40 
41 #include "TString.h"
42 
43 #include "LauComplex.hh"
44 #include "LauAbsResonance.hh"
45 
46 class LauKinematics;
47 class LauParameter;
48 
49 
51 
52  public:
54 
61  const Int_t resPairAmpInt, const LauDaughters* daughters);
62 
64  virtual ~LauPolarFormFactorSymNR();
65 
67  virtual void initialise();
68 
70 
74  virtual LauComplex amplitude(const LauKinematics* kinematics);
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 setLambda(const Double_t lambda);
114 
116 
119  Double_t getLambda() const {return (lambda_!=0) ? lambda_->value() : 0.0;}
120 
122 
125  Bool_t fixLambda() const {return (lambda_!=0) ? lambda_->fixed() : kTRUE;}
126 
128 
132  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
133 
134  private:
137 
140 
142 
145 
146  ClassDef(LauPolarFormFactorSymNR,0)
147 };
148 
149 #endif
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Bool_t fixLambda() const
See if the lambda parameter is fixed or floating.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
virtual ~LauPolarFormFactorSymNR()
Destructor.
Double_t getLambda() const
Get the parameter lambda, the NR shape parameter.
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:47
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.
void setLambda(const Double_t lambda)
Set the parameter lambda, the NR shape parameter.
LauPolarFormFactorSymNR & operator=(const LauPolarFormFactorSymNR &rhs)
Copy assignment operator (not implemented)
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
LauAbsResonance::LauResonanceModel model_
The model to use.
LauPolarFormFactorSymNR(LauResonanceInfo *resInfo, const LauAbsResonance::LauResonanceModel resType, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
File containing declaration of LauComplex class.
virtual LauComplex amplitude(const LauKinematics *kinematics)
Get the complex dynamical amplitude.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:49
LauResonanceModel
Define the allowed resonance types.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
File containing declaration of LauAbsResonance class.
Class for defining a complex number.
Definition: LauComplex.hh:61
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.
virtual void initialise()
Initialise the model.
Class for defining a nonresonant form factor model.
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.