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

Factory class for the K-matrix propagators. More...

#include <LauKMatrixPropFactory.hh>

Public Member Functions

virtual ~LauKMatrixPropFactory ()
 Destructor. More...
 
LauKMatrixPropagatorgetPropagator (const TString &name, const TString &paramFileName, Int_t resPairAmpInt, Int_t nChannels, Int_t nPoles, Int_t rowIndex)
 Retrieve the propagator if it already exists, otherwise create one. More...
 

Static Public Member Functions

static LauKMatrixPropFactorygetInstance ()
 Get a static instance of this factory class. Only one is created per application. More...
 

Protected Types

typedef std::map< TString,
LauKMatrixPropagator * > 
KMatrixPropMap
 A typedef to define a map used to keep track of which propagators have been created. More...
 

Private Member Functions

 LauKMatrixPropFactory ()
 Private constructor (to ensure the singleton nature of this class) More...
 
 LauKMatrixPropFactory (const LauKMatrixPropFactory &rhs)
 Copy constructor (not implemented) More...
 
LauKMatrixPropFactoryoperator= (const LauKMatrixPropFactory &rhs)
 Copy assignment operator (not implemented) More...
 

Private Attributes

KMatrixPropMap map_
 The map used to store the propagator information. More...
 

Static Private Attributes

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

Detailed Description

Factory class for the K-matrix propagators.

Factory class for creating and storing K-matrix propagator objects.

Definition at line 29 of file LauKMatrixPropFactory.hh.

Member Typedef Documentation

typedef std::map<TString, LauKMatrixPropagator*> LauKMatrixPropFactory::KMatrixPropMap
protected

A typedef to define a map used to keep track of which propagators have been created.

Definition at line 56 of file LauKMatrixPropFactory.hh.

Constructor & Destructor Documentation

LauKMatrixPropFactory::~LauKMatrixPropFactory ( )
virtual

Destructor.

Definition at line 34 of file LauKMatrixPropFactory.cc.

LauKMatrixPropFactory::LauKMatrixPropFactory ( )
private

Private constructor (to ensure the singleton nature of this class)

Definition at line 28 of file LauKMatrixPropFactory.cc.

LauKMatrixPropFactory::LauKMatrixPropFactory ( const LauKMatrixPropFactory rhs)
private

Copy constructor (not implemented)

Member Function Documentation

LauKMatrixPropFactory * LauKMatrixPropFactory::getInstance ( )
static

Get a static instance of this factory class. Only one is created per application.

Definition at line 45 of file LauKMatrixPropFactory.cc.

LauKMatrixPropagator * LauKMatrixPropFactory::getPropagator ( const TString &  name,
const TString &  paramFileName,
Int_t  resPairAmpInt,
Int_t  nChannels,
Int_t  nPoles,
Int_t  rowIndex 
)

Retrieve the propagator if it already exists, otherwise create one.

Parameters
[in]namename of the propagator
[in]paramFileNamethe parameter file
[in]resPairAmpIntthe number of the daughter not produced by the resonance
[in]nChannelsthe number of channels
[in]nPolesthe number of poles
[in]rowIndexthis specifies which row of the propagator should be used when summing over the amplitude channels
Returns
the propagator

Definition at line 53 of file LauKMatrixPropFactory.cc.

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

Copy assignment operator (not implemented)

Member Data Documentation

KMatrixPropMap LauKMatrixPropFactory::map_
private

The map used to store the propagator information.

Definition at line 72 of file LauKMatrixPropFactory.hh.

LauKMatrixPropFactory * LauKMatrixPropFactory::theFactory_ = 0
staticprivate

The singleton instance.

Definition at line 69 of file LauKMatrixPropFactory.hh.


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