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

Factory class for creating and providing access to the fitter. More...

#include <LauFitter.hh>

Public Types

enum  Type { Minuit }
 The types of fitter available. More...
 

Static Public Member Functions

static void setFitterType (Type type)
 Set the type of the fitter. More...
 
static LauAbsFitterfitter ()
 Method that provides access to the singleton fitter. More...
 

Private Member Functions

 LauFitter ()
 Constructor. More...
 
virtual ~LauFitter ()
 Destructor. More...
 
 LauFitter (const LauFitter &)
 Copy constructor (not implemented) More...
 
LauFitteroperator= (const LauFitter &)
 Copy assignment operator (not implemented) More...
 
 ClassDef (LauFitter, 0)
 

Static Private Attributes

static LauAbsFittertheInstance_ = 0
 Pointer to the singleton fitter instance. More...
 
static Type fitterType_ = LauFitter::Minuit
 The fitter type. More...
 

Detailed Description

Factory class for creating and providing access to the fitter.

The fitter type can be set before first access to determine which fitter is used.

Definition at line 29 of file LauFitter.hh.

Member Enumeration Documentation

The types of fitter available.

Enumerator
Minuit 

the Minuit fitter

Definition at line 33 of file LauFitter.hh.

Constructor & Destructor Documentation

LauFitter::LauFitter ( )
inlineprivate

Constructor.

Definition at line 51 of file LauFitter.hh.

virtual LauFitter::~LauFitter ( )
inlineprivatevirtual

Destructor.

Definition at line 54 of file LauFitter.hh.

LauFitter::LauFitter ( const LauFitter )
private

Copy constructor (not implemented)

Member Function Documentation

LauFitter::ClassDef ( LauFitter  ,
 
)
private
LauAbsFitter * LauFitter::fitter ( )
static

Method that provides access to the singleton fitter.

Returns
a pointer to a singleton LauAbsFitter object

Definition at line 34 of file LauFitter.cc.

LauFitter& LauFitter::operator= ( const LauFitter )
private

Copy assignment operator (not implemented)

void LauFitter::setFitterType ( Type  type)
static

Set the type of the fitter.

Parameters
[in]typethe type of the fitter (default set to Minuit)

Definition at line 24 of file LauFitter.cc.

Member Data Documentation

LauFitter::Type LauFitter::fitterType_ = LauFitter::Minuit
staticprivate

The fitter type.

Definition at line 66 of file LauFitter.hh.

LauAbsFitter * LauFitter::theInstance_ = 0
staticprivate

Pointer to the singleton fitter instance.

Definition at line 63 of file LauFitter.hh.


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