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

Class for creating resonances. More...

#include <LauResonanceMaker.hh>

Public Member Functions

 LauResonanceMaker (const LauDaughters *daughters)
 Constructor. More...
 
virtual ~LauResonanceMaker ()
 Destructor. More...
 
LauAbsResonancegetResonance (const TString &resName, Int_t resPairAmpInt, const TString &resType)
 Create a resonance. More...
 
Int_t resTypeInt (const TString &name) const
 Retrieve the integer index for the specified resonance. More...
 
UInt_t getNResDefMax () const
 Retrieve the number of defined resonances. More...
 

Protected Member Functions

void createResonanceVector ()
 Create the list of known resonances. More...
 

Private Attributes

UInt_t nResDefMax_
 The number of known resonances. More...
 
const LauDaughtersdaughters_
 The daughters. More...
 
std::vector< LauResonanceInforesInfo_
 The known resonances. More...
 

Detailed Description

Class for creating resonances.

Class for creating resonances. All known resonances are stored within this class.

Definition at line 33 of file LauResonanceMaker.hh.

Constructor & Destructor Documentation

LauResonanceMaker::LauResonanceMaker ( const LauDaughters daughters)

Constructor.

Parameters
[in]daughtersthe three daughters of the decay

Definition at line 40 of file LauResonanceMaker.cc.

LauResonanceMaker::~LauResonanceMaker ( )
virtual

Destructor.

Definition at line 47 of file LauResonanceMaker.cc.

Member Function Documentation

void LauResonanceMaker::createResonanceVector ( )
protected

Create the list of known resonances.

Definition at line 51 of file LauResonanceMaker.cc.

UInt_t LauResonanceMaker::getNResDefMax ( ) const
inline

Retrieve the number of defined resonances.

Returns
the number of defined resonances

Definition at line 66 of file LauResonanceMaker.hh.

LauAbsResonance * LauResonanceMaker::getResonance ( const TString &  resName,
Int_t  resPairAmpInt,
const TString &  resType 
)

Create a resonance.

Parameters
[in]resNamethe name of the resonant particle
[in]resPairAmpIntthe index of the daughter not produced by the resonance
[in]resTypethe type of the resonance. Allowed types are: flatte, relbw, dabba, kappa, sigma, lass-bw, lass-nr, lass, gs, nrmodel, bellesymnr and bellenr.
Returns
the resonance

Definition at line 247 of file LauResonanceMaker.cc.

Int_t LauResonanceMaker::resTypeInt ( const TString &  name) const

Retrieve the integer index for the specified resonance.

Parameters
[in]namethe name of the resonant particle
Returns
the index

Definition at line 426 of file LauResonanceMaker.cc.

Member Data Documentation

const LauDaughters* LauResonanceMaker::daughters_
private

The daughters.

Definition at line 77 of file LauResonanceMaker.hh.

UInt_t LauResonanceMaker::nResDefMax_
private

The number of known resonances.

Definition at line 74 of file LauResonanceMaker.hh.

std::vector<LauResonanceInfo> LauResonanceMaker::resInfo_
private

The known resonances.

Definition at line 80 of file LauResonanceMaker.hh.


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