source: trunk/src/STFitEntry.h@ 962

Last change on this file since 962 was 960, checked in by mar637, 19 years ago

c++ side of Ticket #7

File size: 1.3 KB
Line 
1//
2// C++ Interface: STFitEntry
3//
4// Description:
5//
6//
7// Author: Malte Marquarding <Malte.Marquarding@csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#ifndef ASAPSTFITENTRY_H
13#define ASAPSTFITENTRY_H
14
15#include <vector>
16#include <string>
17
18namespace asap {
19
20/**
21This is a helper object for transporting Fit parameters
22
23@author Malte Marquarding
24*/
25class STFitEntry{
26public:
27 STFitEntry();
28
29 ~STFitEntry();
30
31 void setFunctions(const std::vector<std::string>& f)
32 { functions_ = f; }
33 void setComponents(const std::vector<int>& c)
34 { components_ = c; }
35 void setParameters(const std::vector<double>& p)
36 { parameters_ = p; }
37 void setParmasks(const std::vector<bool>& m)
38 { parmasks_ = m; }
39 void setFrameinfo(const std::vector<std::string>& f)
40 { frameinfo_ = f; }
41
42 std::vector<std::string> getFunctions() const { return functions_; }
43 std::vector<int> getComponents() const { return components_; }
44 std::vector<double> getParameters() const { return parameters_; }
45 std::vector<bool> getParmasks() const { return parmasks_; }
46 std::vector<std::string> getFrameinfo() const { return frameinfo_; }
47
48private:
49 std::vector<std::string> functions_;
50 std::vector<int> components_;
51 std::vector<double> parameters_;
52 std::vector<bool> parmasks_;
53 std::vector<std::string> frameinfo_;
54};
55
56}
57
58#endif
Note: See TracBrowser for help on using the repository browser.