Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//
// C++ Interface: fitparameter
//
// Description:
//
//
// Author: Denis Pavlina <denis@pc15>, (C) 2010
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef FITPARAMETERLS_H
#define FITPARAMETERLS_H
#include <iostream>
#include <vector>
#include <map>
#include <string>
using namespace std;
//Typedef for user supplied minuit parameter map
typedef map<string, vector<double> > ParameterMap;
/**
General named fit parameter class.
@author Denis Pavlina <denis@pc15>
*/
class FitParameterLS
{
public:
FitParameterLS();
FitParameterLS(FitParameterLS &theFitParameter);
~FitParameterLS();
inline ParameterMap& getParamMap()
{
return m_ParamMap;
}
void printParamMap(std::ostream& os);
protected:
ParameterMap m_ParamMap;
};
#endif