Rev | Line | |
---|
[955] | 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 |
|
---|
| 18 | namespace asap {
|
---|
| 19 |
|
---|
| 20 | /**
|
---|
| 21 | This is a helper object for transporting Fit parameters
|
---|
| 22 |
|
---|
| 23 | @author Malte Marquarding
|
---|
| 24 | */
|
---|
| 25 | class STFitEntry{
|
---|
| 26 | public:
|
---|
| 27 | STFitEntry();
|
---|
[960] | 28 |
|
---|
[955] | 29 | ~STFitEntry();
|
---|
[960] | 30 |
|
---|
[955] | 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 |
|
---|
[960] | 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_; }
|
---|
[955] | 47 |
|
---|
| 48 | private:
|
---|
[960] | 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_;
|
---|
[955] | 54 | };
|
---|
| 55 |
|
---|
| 56 | }
|
---|
| 57 |
|
---|
| 58 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.