// // C++ Interface: STFitEntry // // Description: // // // Author: Malte Marquarding , (C) 2006 // // Copyright: See COPYING file that comes with this distribution // // #ifndef ASAPSTFITENTRY_H #define ASAPSTFITENTRY_H #include #include namespace asap { /** This is a helper object for transporting Fit parameters @author Malte Marquarding */ class STFitEntry{ public: STFitEntry(); STFitEntry(const STFitEntry& other); STFitEntry& operator=(const STFitEntry& other); ~STFitEntry(); void setFunctions(const std::vector& f) { functions_ = f; } void setComponents(const std::vector& c) { components_ = c; } void setParameters(const std::vector& p) { parameters_ = p; } void setErrors(const std::vector& p) { errors_ = p; } void setParmasks(const std::vector& m) { parmasks_ = m; } void setFrameinfo(const std::vector& f) { frameinfo_ = f; } std::vector getFunctions() const { return functions_; } std::vector getComponents() const { return components_; } std::vector getParameters() const { return parameters_; } std::vector getErrors() const { return errors_; } std::vector getParmasks() const { return parmasks_; } std::vector getFrameinfo() const { return frameinfo_; } private: std::vector functions_; std::vector components_; std::vector parameters_; std::vector errors_; std::vector parmasks_; std::vector frameinfo_; }; } #endif