laura is hosted by Hepforge, IPPP Durham
Laura++  v3r0
A maximum likelihood fitting package for performing Dalitz-plot analysis.

Class for defining the NR amplitude model. More...

#include <LauNRAmplitude.hh>

Inheritance diagram for LauNRAmplitude:
LauAbsResonance

Public Member Functions

 LauNRAmplitude (LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
 Constructor. More...
 
virtual ~LauNRAmplitude ()
 Destructor. More...
 
virtual void initialise ()
 Initialise the model. More...
 
virtual LauComplex amplitude (const LauKinematics *kinematics)
 Complex resonant amplitude. More...
 
virtual
LauAbsResonance::LauResonanceModel 
getResonanceModel () const
 Get the resonance model type. More...
 
virtual void setResonanceParameter (const TString &name, const Double_t value)
 Set value of a resonance parameter. More...
 
virtual void floatResonanceParameter (const TString &name)
 Allow the various parameters to float in the fit. More...
 
virtual LauParametergetResonanceParameter (const TString &name)
 Access the given resonance parameter. More...
 
virtual const std::vector
< LauParameter * > & 
getFloatingParameters ()
 Retrieve the resonance parameters, e.g. so that they can be loaded into a fit. More...
 
- Public Member Functions inherited from LauAbsResonance
 LauAbsResonance (LauResonanceInfo *resInfo, const Int_t resPairAmpInt, const LauDaughters *daughters)
 Constructor (for use by standard resonances) More...
 
 LauAbsResonance (const TString &resName, const Int_t resPairAmpInt, const LauDaughters *daughters)
 Constructor (for use by K-matrix components) More...
 
virtual ~LauAbsResonance ()
 Destructor. More...
 
const TString & getResonanceName () const
 Get the name of the resonance. More...
 
const TString & getSanitisedName () const
 Get the name of the resonance. More...
 
Int_t getPairInt () const
 Get the integer to identify which DP axis the resonance belongs to. More...
 
Int_t getSpin () const
 Get the spin of the resonance. More...
 
Int_t getCharge () const
 Get the charge of the resonance. More...
 
Double_t getMass () const
 Get the mass of the resonance. More...
 
Double_t getWidth () const
 Get the width of the resonance. More...
 
LauParametergetMassPar ()
 Get the mass parameter of the resonance. More...
 
LauParametergetWidthPar ()
 Get the width parameter of the resonance. More...
 
Bool_t flipHelicity () const
 Get the helicity flip flag. More...
 
void flipHelicity (const Bool_t boolean)
 Set the helicity flip flag. More...
 
Bool_t ignoreMomenta () const
 Get the ignore momenta flag. More...
 
void ignoreMomenta (const Bool_t boolean)
 Set the ignore p_ and q_ flag. More...
 
void changeResonance (const Double_t newMass, const Double_t newWidth, const Int_t newSpin)
 Allow the mass, width and spin of the resonance to be changed. More...
 
void changeBWBarrierRadii (const Double_t resRadius, const Double_t parRadius)
 Allow the Blatt-Weisskopf radius for the resonance and parent factors to be changed. More...
 
void fixMass (const Bool_t parFixed)
 Fix or release the resonance mass. More...
 
void fixWidth (const Bool_t parFixed)
 Fix or release the resonance width. More...
 
Bool_t fixMass () const
 Get the status of resonance mass (fixed or released) More...
 
Bool_t fixWidth () const
 Get the status of resonance width (fixed or released) More...
 
void setBarrierRadii (LauBlattWeisskopfFactor *resFactor, LauBlattWeisskopfFactor *parFactor)
 Set the form factor model and parameters. More...
 
void fixBarrierRadii (const Bool_t fixResRadius, const Bool_t fixParRadius)
 Fix or release the Blatt-Weisskopf barrier radii. More...
 
Bool_t fixResRadius () const
 Get the status of resonance barrier radius (fixed or released) More...
 
Bool_t fixParRadius () const
 Get the status of parent barrier radius (fixed or released) More...
 
Double_t getResRadius () const
 Get the radius of the resonance barrier factor. More...
 
Double_t getParRadius () const
 Get the radius of the parent barrier factor. More...
 

Protected Member Functions

virtual LauComplex resAmp (Double_t mass, Double_t spinTerm)
 This is not meant to be called. More...
 
Double_t f (const Double_t s, const Double_t c, const Double_t p) const
 Evaluate the expression 1.0 / (1.0 + TMath::Exp( c * (s-p) )) More...
 
void setdParameter (const Double_t d)
 Set the d parameter value. More...
 
void setc1Parameter (const Double_t c1)
 Set the c1 parameter value. More...
 
void setc2Parameter (const Double_t c2)
 Set the c2 parameter value. More...
 
void setp1Parameter (const Double_t p1)
 Set the p1 parameter value. More...
 
void setp2Parameter (const Double_t p2)
 Set the p2 parameter value. More...
 
Double_t getdParameter () const
 Get the d parameter value. More...
 
Double_t getc1Parameter () const
 Get the c1 parameter value. More...
 
Double_t getc2Parameter () const
 Get the c2 parameter value. More...
 
Double_t getp1Parameter () const
 Get the p1 parameter value. More...
 
Double_t getp2Parameter () const
 Get the p2 parameter value. More...
 
Bool_t fixdParameter () const
 See if the d parameter is fixed or floating. More...
 
Bool_t fixc1Parameter () const
 See if the c1 parameter is fixed or floating. More...
 
Bool_t fixc2Parameter () const
 See if the c2 parameter is fixed or floating. More...
 
Bool_t fixp1Parameter () const
 See if the p1 parameter is fixed or floating. More...
 
Bool_t fixp2Parameter () const
 See if the p2 parameter is fixed or floating. More...
 
- Protected Member Functions inherited from LauAbsResonance
TString getNameParent () const
 Get the name of the parent particle. More...
 
TString getNameDaug1 () const
 Get the name of the first daughter of the resonance. More...
 
TString getNameDaug2 () const
 Get the name of the second daughter of the resonance. More...
 
TString getNameBachelor () const
 Get the name of the daughter that does not originate form the resonance. More...
 
Double_t getMassParent () const
 Get the parent particle mass. More...
 
Double_t getMassDaug1 () const
 Get the mass of daughter 1. More...
 
Double_t getMassDaug2 () const
 Get the mass of daughter 2. More...
 
Double_t getMassBachelor () const
 Get the mass of the bachelor daughter. More...
 
Int_t getChargeParent () const
 Get the Charge of the parent particle. More...
 
Int_t getChargeDaug1 () const
 Get the charge of daughter 1. More...
 
Int_t getChargeDaug2 () const
 Get the charge of daughter 2. More...
 
Int_t getChargeBachelor () const
 Get the charge of the bachelor daughter. More...
 
Double_t getQ () const
 Get the current value of the daughter momentum in the resonance rest frame. More...
 
Double_t getP () const
 Get the current value of the bachelor momentum in the resonance rest frame. More...
 
Double_t getPstar () const
 Get the current value of the bachelor momentum in the parent rest frame. More...
 
LauBlattWeisskopfFactorgetParBWFactor ()
 Get the centrifugal barrier for the parent decay. More...
 
const LauBlattWeisskopfFactorgetParBWFactor () const
 
LauBlattWeisskopfFactorgetResBWFactor ()
 Get the centrifugal barrier for the resonance decay. More...
 
const LauBlattWeisskopfFactorgetResBWFactor () const
 
LauResonanceInfogetResInfo () const
 Access the resonance info object. More...
 
const LauDaughtersgetDaughters () const
 Access the daughters object. More...
 
void clearFloatingParameters ()
 Clear list of floating parameters. More...
 
void addFloatingParameter (LauParameter *param)
 Add parameter to the list of floating parameters. More...
 
std::vector< LauParameter * > & getParameters ()
 Access the list of floating parameters. More...
 

Private Member Functions

 LauNRAmplitude (const LauNRAmplitude &rhs)
 Copy constructor (not implemented) More...
 
LauNRAmplitudeoperator= (const LauNRAmplitude &rhs)
 Copy assignment operator (not implemented) More...
 

Private Attributes

LauParameterd_
 Parameter from arXiv:0709.0075v1 [hep-ph]. More...
 
LauParameterc1_
 Parameter from arXiv:0709.0075v1 [hep-ph]. More...
 
LauParameterc2_
 Parameter from arXiv:0709.0075v1 [hep-ph]. More...
 
LauParameterp1_
 Parameter from arXiv:0709.0075v1 [hep-ph]. More...
 
LauParameterp2_
 Parameter from arXiv:0709.0075v1 [hep-ph]. More...
 

Additional Inherited Members

- Public Types inherited from LauAbsResonance
enum  LauResonanceModel {
  BW, RelBW, GS, Flatte,
  Sigma, Kappa, Dabba, LASS,
  LASS_BW, LASS_NR, KMatrix, FlatNR,
  NRModel, BelleNR, PowerLawNR, BelleSymNR,
  TaylorNR, PolNR, MIPW, GaussIncoh
}
 Define the allowed resonance types. More...
 

Detailed Description

Class for defining the NR amplitude model.

Class for defining the NR amplitude model. Formulae and data values from arXiv:0709.0075v1 [hep-ph].

Definition at line 33 of file LauNRAmplitude.hh.

Constructor & Destructor Documentation

LauNRAmplitude::LauNRAmplitude ( LauResonanceInfo resInfo,
const Int_t  resPairAmpInt,
const LauDaughters daughters 
)

Constructor.

Parameters
[in]resInfothe object containing information on the resonance name, mass, width, spin, charge, etc.
[in]resPairAmpIntthe number of the daughter not produced by the resonance
[in]daughtersthe daughter particles

Definition at line 23 of file LauNRAmplitude.cc.

LauNRAmplitude::~LauNRAmplitude ( )
virtual

Destructor.

Definition at line 86 of file LauNRAmplitude.cc.

LauNRAmplitude::LauNRAmplitude ( const LauNRAmplitude rhs)
private

Copy constructor (not implemented)

Member Function Documentation

LauComplex LauNRAmplitude::amplitude ( const LauKinematics kinematics)
virtual

Complex resonant amplitude.

/param [in] kinematics kinematic parameters of the parent and daughter particles /return the complex amplitude

Reimplemented from LauAbsResonance.

Definition at line 99 of file LauNRAmplitude.cc.

Double_t LauNRAmplitude::f ( const Double_t  s,
const Double_t  c,
const Double_t  p 
) const
protected

Evaluate the expression 1.0 / (1.0 + TMath::Exp( c * (s-p) ))

Parameters
[in]sinvariant mass squared
[in]cparameter from arXiv:0709.0075v1 [hep-ph]
[in]pparameter from arXiv:0709.0075v1 [hep-ph]
Returns
the value of the expression 1.0 / (1.0 + TMath::Exp( c * (s-p) ))

Definition at line 126 of file LauNRAmplitude.cc.

Bool_t LauNRAmplitude::fixc1Parameter ( ) const
inlineprotected

See if the c1 parameter is fixed or floating.

Returns
kTRUE if the c1 parameter is fixed, kFALSE otherwise

Definition at line 172 of file LauNRAmplitude.hh.

Bool_t LauNRAmplitude::fixc2Parameter ( ) const
inlineprotected

See if the c2 parameter is fixed or floating.

Returns
kTRUE if the c2 parameter is fixed, kFALSE otherwise

Definition at line 178 of file LauNRAmplitude.hh.

Bool_t LauNRAmplitude::fixdParameter ( ) const
inlineprotected

See if the d parameter is fixed or floating.

Returns
kTRUE if the d parameter is fixed, kFALSE otherwise

Definition at line 166 of file LauNRAmplitude.hh.

Bool_t LauNRAmplitude::fixp1Parameter ( ) const
inlineprotected

See if the p1 parameter is fixed or floating.

Returns
kTRUE if the p1 parameter is fixed, kFALSE otherwise

Definition at line 184 of file LauNRAmplitude.hh.

Bool_t LauNRAmplitude::fixp2Parameter ( ) const
inlineprotected

See if the p2 parameter is fixed or floating.

Returns
kTRUE if the p2 parameter is fixed, kFALSE otherwise

Definition at line 190 of file LauNRAmplitude.hh.

void LauNRAmplitude::floatResonanceParameter ( const TString &  name)
virtual

Allow the various parameters to float in the fit.

Parameters
[in]namethe name of the parameter to be floated

Reimplemented from LauAbsResonance.

Definition at line 182 of file LauNRAmplitude.cc.

Double_t LauNRAmplitude::getc1Parameter ( ) const
inlineprotected

Get the c1 parameter value.

Returns
the new c1 parameter value

Definition at line 142 of file LauNRAmplitude.hh.

Double_t LauNRAmplitude::getc2Parameter ( ) const
inlineprotected

Get the c2 parameter value.

Returns
the new c2 parameter value

Definition at line 148 of file LauNRAmplitude.hh.

Double_t LauNRAmplitude::getdParameter ( ) const
inlineprotected

Get the d parameter value.

Returns
the new d parameter value

Definition at line 136 of file LauNRAmplitude.hh.

const std::vector< LauParameter * > & LauNRAmplitude::getFloatingParameters ( )
virtual

Retrieve the resonance parameters, e.g. so that they can be loaded into a fit.

Returns
floating parameters of the resonance

Reimplemented from LauAbsResonance.

Definition at line 132 of file LauNRAmplitude.cc.

Double_t LauNRAmplitude::getp1Parameter ( ) const
inlineprotected

Get the p1 parameter value.

Returns
the new p1 parameter value

Definition at line 154 of file LauNRAmplitude.hh.

Double_t LauNRAmplitude::getp2Parameter ( ) const
inlineprotected

Get the p2 parameter value.

Returns
the new p2 parameter value

Definition at line 160 of file LauNRAmplitude.hh.

virtual LauAbsResonance::LauResonanceModel LauNRAmplitude::getResonanceModel ( ) const
inlinevirtual

Get the resonance model type.

Returns
the resonance model type

Implements LauAbsResonance.

Definition at line 61 of file LauNRAmplitude.hh.

LauParameter * LauNRAmplitude::getResonanceParameter ( const TString &  name)
virtual

Access the given resonance parameter.

Parameters
[in]namethe name of the parameter
Returns
the corresponding parameter

Reimplemented from LauAbsResonance.

Definition at line 224 of file LauNRAmplitude.cc.

void LauNRAmplitude::initialise ( )
virtual

Initialise the model.

Implements LauAbsResonance.

Definition at line 95 of file LauNRAmplitude.cc.

LauNRAmplitude& LauNRAmplitude::operator= ( const LauNRAmplitude rhs)
private

Copy assignment operator (not implemented)

LauComplex LauNRAmplitude::resAmp ( Double_t  mass,
Double_t  spinTerm 
)
protectedvirtual

This is not meant to be called.

Implements LauAbsResonance.

Definition at line 119 of file LauNRAmplitude.cc.

void LauNRAmplitude::setc1Parameter ( const Double_t  c1)
protected

Set the c1 parameter value.

Parameters
[in]c1the new c1 parameter value

Definition at line 249 of file LauNRAmplitude.cc.

void LauNRAmplitude::setc2Parameter ( const Double_t  c2)
protected

Set the c2 parameter value.

Parameters
[in]c2the new c2 parameter value

Definition at line 256 of file LauNRAmplitude.cc.

void LauNRAmplitude::setdParameter ( const Double_t  d)
protected

Set the d parameter value.

Parameters
[in]dthe new d parameter value

Definition at line 242 of file LauNRAmplitude.cc.

void LauNRAmplitude::setp1Parameter ( const Double_t  p1)
protected

Set the p1 parameter value.

Parameters
[in]p1the new p1 parameter value

Definition at line 263 of file LauNRAmplitude.cc.

void LauNRAmplitude::setp2Parameter ( const Double_t  p2)
protected

Set the p2 parameter value.

Parameters
[in]p2the new p2 parameter value

Definition at line 270 of file LauNRAmplitude.cc.

void LauNRAmplitude::setResonanceParameter ( const TString &  name,
const Double_t  value 
)
virtual

Set value of a resonance parameter.

Parameters
[in]namethe name of the parameter to be changed
[in]valuethe new parameter value

Reimplemented from LauAbsResonance.

Definition at line 159 of file LauNRAmplitude.cc.

Member Data Documentation

LauParameter* LauNRAmplitude::c1_
private

Parameter from arXiv:0709.0075v1 [hep-ph].

Definition at line 202 of file LauNRAmplitude.hh.

LauParameter* LauNRAmplitude::c2_
private

Parameter from arXiv:0709.0075v1 [hep-ph].

Definition at line 204 of file LauNRAmplitude.hh.

LauParameter* LauNRAmplitude::d_
private

Parameter from arXiv:0709.0075v1 [hep-ph].

Definition at line 200 of file LauNRAmplitude.hh.

LauParameter* LauNRAmplitude::p1_
private

Parameter from arXiv:0709.0075v1 [hep-ph].

Definition at line 206 of file LauNRAmplitude.hh.

LauParameter* LauNRAmplitude::p2_
private

Parameter from arXiv:0709.0075v1 [hep-ph].

Definition at line 208 of file LauNRAmplitude.hh.


The documentation for this class was generated from the following files: