laura is hosted by Hepforge, IPPP Durham
Laura++  v3r5
A maximum likelihood fitting package for performing Dalitz-plot analysis.
LauFitter.hh
Go to the documentation of this file.
1 
2 /*
3 Copyright 2005 University of Warwick
4 
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8 
9  http://www.apache.org/licenses/LICENSE-2.0
10 
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 */
17 
18 /*
19 Laura++ package authors:
20 John Back
21 Paul Harrison
22 Thomas Latham
23 */
24 
35 #ifndef LAU_FITTER
36 #define LAU_FITTER
37 
38 #include "Rtypes.h"
39 #include "TString.h"
40 
41 class LauAbsFitter;
42 
43 class LauFitter {
44 
45  public:
47  enum Type {
49  };
50 
52 
55  static void setFitterType( Type type );
56 
58 
61  static LauAbsFitter* fitter();
62 
63  private:
65  LauFitter() {}
66 
68  virtual ~LauFitter() {}
69 
71  LauFitter( const LauFitter& );
72 
74  LauFitter& operator=( const LauFitter& );
75 
78 
80  static Type fitterType_;
81 
83 };
84 
85 #endif
virtual ~LauFitter()
Destructor.
Definition: LauFitter.hh:68
static LauAbsFitter * theInstance_
Pointer to the singleton fitter instance.
Definition: LauFitter.hh:77
LauFitter & operator=(const LauFitter &)
Copy assignment operator (not implemented)
Factory class for creating and providing access to the fitter.
Definition: LauFitter.hh:43
ClassDef(LauFitter, 0)
The abstract interface to the fitter.
Definition: LauAbsFitter.hh:48
LauFitter()
Constructor.
Definition: LauFitter.hh:65
static LauAbsFitter * fitter()
Method that provides access to the singleton fitter.
Definition: LauFitter.cc:51
static Type fitterType_
The fitter type.
Definition: LauFitter.hh:80
Type
The types of fitter available.
Definition: LauFitter.hh:47
static void setFitterType(Type type)
Set the type of the fitter.
Definition: LauFitter.cc:41