laura is hosted by Hepforge, IPPP Durham
Laura++  v2r2p1
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFitter.hh
Go to the documentation of this file.
1 
2 // Copyright University of Warwick 2005 - 2014.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 // Authors:
7 // Thomas Latham
8 // John Back
9 // Paul Harrison
10 
21 #ifndef LAU_FITTER
22 #define LAU_FITTER
23 
24 #include "Rtypes.h"
25 #include "TString.h"
26 
27 class LauAbsFitter;
28 
29 class LauFitter {
30 
31  public:
33  enum Type {
35  };
36 
38 
41  static void setFitterType( Type type );
42 
44 
47  static LauAbsFitter* fitter();
48 
49  private:
51  LauFitter() {}
52 
54  virtual ~LauFitter() {}
55 
57  LauFitter( const LauFitter& );
58 
60  LauFitter& operator=( const LauFitter& );
61 
64 
66  static Type fitterType_;
67 
69 };
70 
71 #endif
virtual ~LauFitter()
Destructor.
Definition: LauFitter.hh:54
static LauAbsFitter * theInstance_
Pointer to the singleton fitter instance.
Definition: LauFitter.hh:63
LauFitter & operator=(const LauFitter &)
Copy assignment operator (not implemented)
Factory class for creating and providing access to the fitter.
Definition: LauFitter.hh:29
ClassDef(LauFitter, 0)
The abstract interface to the fitter.
Definition: LauAbsFitter.hh:35
LauFitter()
Constructor.
Definition: LauFitter.hh:51
static LauAbsFitter * fitter()
Method that provides access to the singleton fitter.
Definition: LauFitter.cc:34
static Type fitterType_
The fitter type.
Definition: LauFitter.hh:66
Type
The types of fitter available.
Definition: LauFitter.hh:33
static void setFitterType(Type type)
Set the type of the fitter.
Definition: LauFitter.cc:24