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

Singleton factory class for creating resonances. More...

#include <LauResonanceMaker.hh>

Public Member Functions

LauAbsResonancegetResonance (const LauDaughters *daughters, const TString &resName, const Int_t resPairAmpInt, const LauAbsResonance::LauResonanceModel resType, const LauBlattWeisskopfFactor::BlattWeisskopfCategory bwCategory=LauBlattWeisskopfFactor::Default, const LauBlattWeisskopfFactor::BarrierType bwType=LauBlattWeisskopfFactor::BWPrimeBarrier)
 Create a resonance. More...
 
void setDefaultBWRadius (const LauBlattWeisskopfFactor::BlattWeisskopfCategory bwCategory, const Double_t bwRadius)
 Set the BW radius for the given category. More...
 
void fixBWRadius (const LauBlattWeisskopfFactor::BlattWeisskopfCategory bwCategory, const Bool_t fixRadius)
 Fix or release the Blatt-Weisskopf barrier radius for the given category. 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...
 
void printAll (std::ostream &stream) const
 Print the information records, one per line, to the requested stream. More...
 

Static Public Member Functions

static LauResonanceMakerget ()
 Get the factory instance. More...
 

Protected Member Functions

void createResonanceVector ()
 Create the list of known resonances. More...
 
LauBlattWeisskopfFactorgetBWFactor (const LauBlattWeisskopfFactor::BlattWeisskopfCategory bwCategory, const LauResonanceInfo *resInfo, const LauBlattWeisskopfFactor::BarrierType bwType)
 Retrieve Blatt-Weisskopf factor for the given category. More...
 

Private Types

typedef std::map
< LauBlattWeisskopfFactor::BlattWeisskopfCategory,
LauBlattWeisskopfFactor * > 
BWFactorCategoryMap
 The Blatt-Weisskopf factor objects for each category. More...
 
typedef std::map
< LauBlattWeisskopfFactor::BlattWeisskopfCategory,
Double_t > 
BWRadiusCategoryMap
 The default radius for each Blatt-Weisskopf category. More...
 
typedef std::map
< LauBlattWeisskopfFactor::BlattWeisskopfCategory,
Bool_t > 
BWRadiusFixedCategoryMap
 The fixed/floating status of the radius for each Blatt-Weisskopf category. More...
 

Private Member Functions

 LauResonanceMaker ()
 Constructor. More...
 
virtual ~LauResonanceMaker ()
 Destructor. More...
 
 LauResonanceMaker (const LauResonanceMaker &other)
 Copy constructor (not inplemented) More...
 
LauResonanceMakeroperator= (const LauResonanceMaker &other)
 Copy assignment (not implemented) More...
 

Private Attributes

UInt_t nResDefMax_
 The number of known resonances. More...
 
std::vector< LauResonanceInfo * > resInfo_
 The known resonances. More...
 
BWFactorCategoryMap bwFactors_
 
BWRadiusCategoryMap bwDefaultRadii_
 
BWRadiusFixedCategoryMap bwFixRadii_
 
std::vector
< LauBlattWeisskopfFactor * > 
bwIndepFactors_
 The Blatt-Weisskopf factor objects for resonances in the independent category. More...
 

Static Private Attributes

static LauResonanceMakerresonanceMaker_ = 0
 The singleton instance. More...
 

Detailed Description

Singleton factory class for creating resonances.

Singleton factory class for creating resonances. Information records for all known resonances are stored within this class.

Definition at line 35 of file LauResonanceMaker.hh.

Member Typedef Documentation

The Blatt-Weisskopf factor objects for each category.

Definition at line 116 of file LauResonanceMaker.hh.

The default radius for each Blatt-Weisskopf category.

Definition at line 120 of file LauResonanceMaker.hh.

The fixed/floating status of the radius for each Blatt-Weisskopf category.

Definition at line 124 of file LauResonanceMaker.hh.

Constructor & Destructor Documentation

LauResonanceMaker::LauResonanceMaker ( )
private

Constructor.

Definition at line 45 of file LauResonanceMaker.cc.

LauResonanceMaker::~LauResonanceMaker ( )
privatevirtual

Destructor.

Definition at line 52 of file LauResonanceMaker.cc.

LauResonanceMaker::LauResonanceMaker ( const LauResonanceMaker other)
private

Copy constructor (not inplemented)

Member Function Documentation

void LauResonanceMaker::createResonanceVector ( )
protected

Create the list of known resonances.

Definition at line 73 of file LauResonanceMaker.cc.

void LauResonanceMaker::fixBWRadius ( const LauBlattWeisskopfFactor::BlattWeisskopfCategory  bwCategory,
const Bool_t  fixRadius 
)

Fix or release the Blatt-Weisskopf barrier radius for the given category.

Parameters
[in]bwCategorythe Blatt-Weisskopf barrier factor category
[in]fixRadiusnew status of the radius (kTRUE = fixed, kFALSE = floating)

Definition at line 419 of file LauResonanceMaker.cc.

LauResonanceMaker & LauResonanceMaker::get ( )
static

Get the factory instance.

Definition at line 64 of file LauResonanceMaker.cc.

LauBlattWeisskopfFactor * LauResonanceMaker::getBWFactor ( const LauBlattWeisskopfFactor::BlattWeisskopfCategory  bwCategory,
const LauResonanceInfo resInfo,
const LauBlattWeisskopfFactor::BarrierType  bwType 
)
protected

Retrieve Blatt-Weisskopf factor for the given category.

Definition at line 439 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 78 of file LauResonanceMaker.hh.

LauAbsResonance * LauResonanceMaker::getResonance ( const LauDaughters daughters,
const TString &  resName,
const Int_t  resPairAmpInt,
const LauAbsResonance::LauResonanceModel  resType,
const LauBlattWeisskopfFactor::BlattWeisskopfCategory  bwCategory = LauBlattWeisskopfFactor::Default,
const LauBlattWeisskopfFactor::BarrierType  bwType = LauBlattWeisskopfFactor::BWPrimeBarrier 
)

Create a resonance.

Parameters
[in]daughtersdefines the Dalitz plot in which the resonance should be created
[in]resNamethe name of the resonant particle
[in]resPairAmpIntthe index of the daughter not produced by the resonance
[in]resTypethe type of the resonance
[in]bwCategorythe Blatt-Weisskopf barrier factor category
[in]bwTypethe Blatt-Weisskopf barrier type
Returns
the resonance

Definition at line 477 of file LauResonanceMaker.cc.

LauResonanceMaker& LauResonanceMaker::operator= ( const LauResonanceMaker other)
private

Copy assignment (not implemented)

void LauResonanceMaker::printAll ( std::ostream &  stream) const

Print the information records, one per line, to the requested stream.

Parameters
[in,out]streamthe stream to which to print the info

Definition at line 680 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 659 of file LauResonanceMaker.cc.

void LauResonanceMaker::setDefaultBWRadius ( const LauBlattWeisskopfFactor::BlattWeisskopfCategory  bwCategory,
const Double_t  bwRadius 
)

Set the BW radius for the given category.

Parameters
[in]bwCategorythe Blatt-Weisskopf barrier factor category
[in]bwRadiusthe radius value to be used for the given category

Definition at line 397 of file LauResonanceMaker.cc.

Member Data Documentation

BWRadiusCategoryMap LauResonanceMaker::bwDefaultRadii_
private

Definition at line 121 of file LauResonanceMaker.hh.

BWFactorCategoryMap LauResonanceMaker::bwFactors_
private

Definition at line 117 of file LauResonanceMaker.hh.

BWRadiusFixedCategoryMap LauResonanceMaker::bwFixRadii_
private

Definition at line 125 of file LauResonanceMaker.hh.

std::vector<LauBlattWeisskopfFactor*> LauResonanceMaker::bwIndepFactors_
private

The Blatt-Weisskopf factor objects for resonances in the independent category.

Definition at line 128 of file LauResonanceMaker.hh.

UInt_t LauResonanceMaker::nResDefMax_
private

The number of known resonances.

Definition at line 110 of file LauResonanceMaker.hh.

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

The known resonances.

Definition at line 113 of file LauResonanceMaker.hh.

LauResonanceMaker * LauResonanceMaker::resonanceMaker_ = 0
staticprivate

The singleton instance.

Definition at line 107 of file LauResonanceMaker.hh.


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