|
Last change
on this file since 959 was 955, checked in by mar637, 20 years ago |
|
Class to transport fit parameters
|
|
File size:
1.4 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 |
|
|---|
| 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();
|
|---|
| 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 | const std::vector<std::string>& getFunctions() const { return functions_; }
|
|---|
| 43 | const std::vector<int>& getComponents() const { return components_; }
|
|---|
| 44 | const std::vector<double>& getParameters() const { return parameters_; }
|
|---|
| 45 | const std::vector<bool>& getParmasks() const { return parmasks_; }
|
|---|
| 46 | const std::vector<std::string>& getFrameinfo() const { return frameinfo_; }
|
|---|
| 47 |
|
|---|
| 48 | private:
|
|---|
| 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.