laura is hosted by Hepforge, IPPP Durham
Laura++  v3r3
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauLASSNRRes.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2008 - 2014.
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 
22 #ifndef LAU_LASS_NR_RES
23 #define LAU_LASS_NR_RES
24 
25 #include "TString.h"
26 
27 #include "LauComplex.hh"
28 #include "LauAbsResonance.hh"
29 
30 
31 class LauLASSNRRes : public LauAbsResonance {
32 
33  public:
35 
40  LauLASSNRRes(LauResonanceInfo* resInfo, const Int_t resPairAmpInt, const LauDaughters* daughters);
41 
43  virtual ~LauLASSNRRes();
44 
46  virtual void initialise();
47 
49 
53 
55 
58  Double_t getCutOff() const {return cutOff_;}
59 
61 
64  void setCutOff(const Double_t cutOff) {cutOff_ = cutOff;}
65 
67 
71  virtual void setResonanceParameter(const TString& name, const Double_t value);
72 
74 
77  virtual void floatResonanceParameter(const TString& name);
78 
80 
84  virtual LauParameter* getResonanceParameter(const TString& name);
85 
87 
90  virtual const std::vector<LauParameter*>& getFloatingParameters();
91 
92  protected:
94 
97  void setEffectiveRange(const Double_t r);
98 
100 
103  void setScatteringLength(const Double_t a);
104 
106 
109  Double_t getEffectiveRange() const {return (r_!=0) ? r_->unblindValue() : 0.0;}
110 
112 
115  Double_t getScatteringLength() const {return (a_!=0) ? a_->unblindValue() : 0.0;}
116 
118 
121  Bool_t fixEffectiveRange() const {return (r_!=0) ? r_->fixed() : kTRUE;}
122 
124 
127  Bool_t fixScatteringLength() const {return (a_!=0) ? a_->fixed() : kTRUE;}
128 
130 
134  virtual LauComplex resAmp(Double_t mass, Double_t spinTerm);
135 
136  private:
138  LauLASSNRRes(const LauLASSNRRes& rhs);
139 
141  LauLASSNRRes& operator=(const LauLASSNRRes& rhs);
142 
147 
149  Double_t cutOff_;
150 
151  ClassDef(LauLASSNRRes,0)
152 };
153 
154 #endif
Double_t getCutOff() const
Get the cut off parameter.
Definition: LauLASSNRRes.hh:58
Bool_t fixed() const
Check whether the parameter is fixed or floated.
Double_t getEffectiveRange() const
Get the effective range parameter.
virtual const std::vector< LauParameter * > & getFloatingParameters()
Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.
Definition: LauLASSNRRes.cc:99
Double_t getScatteringLength() const
Get the scattering length range parameter.
Class for defining the properties of a resonant particle.
Class that defines the particular 3-body decay under study.
Definition: LauDaughters.hh:33
void setCutOff(const Double_t cutOff)
Set the cut off parameter.
Definition: LauLASSNRRes.hh:64
virtual LauComplex resAmp(Double_t mass, Double_t spinTerm)
Complex resonant amplitude.
Definition: LauLASSNRRes.cc:70
virtual void floatResonanceParameter(const TString &name)
Allow the various parameters to float in the fit.
void setScatteringLength(const Double_t a)
Set the scattering length parameter value.
Class for defining the non resonant part of the LASS model.
Definition: LauLASSNRRes.hh:31
virtual void setResonanceParameter(const TString &name, const Double_t value)
Set value of a resonance parameter.
LauParameter * r_
LASS effective range parameter.
LauLASSNRRes & operator=(const LauLASSNRRes &rhs)
Copy assignment operator (not implemented)
File containing declaration of LauComplex class.
Bool_t fixEffectiveRange() const
See if the effective range parameter is fixed or floating.
Bool_t fixScatteringLength() const
See if the scattering length parameter is fixed or floating.
Class for defining the fit parameter objects.
Definition: LauParameter.hh:35
virtual ~LauLASSNRRes()
Destructor.
Definition: LauLASSNRRes.cc:56
Double_t cutOff_
LASS cut off.
LauResonanceModel
Define the allowed resonance types.
LauParameter * a_
LASS scattering length parameter.
Abstract class for defining type for resonance amplitude models (Breit-Wigner, Flatte etc...
virtual void initialise()
Initialise the model.
Definition: LauLASSNRRes.cc:60
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
void setEffectiveRange(const Double_t r)
Set the effective range parameter value.
virtual LauAbsResonance::LauResonanceModel getResonanceModel() const
Get the resonance model type.
Definition: LauLASSNRRes.hh:52
LauLASSNRRes(LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
Constructor.
Definition: LauLASSNRRes.cc:24
virtual LauParameter * getResonanceParameter(const TString &name)
Access the given resonance parameter.