/* * PndLmdSignalBackgroundModel1D.h * * Created on: Dec 19, 2014 * Author: steve */ #ifndef PNDLMDSIGNALBACKGROUNDMODEL1D_H_ #define PNDLMDSIGNALBACKGROUNDMODEL1D_H_ #include class PndLmdSignalBackgroundModel1D: public Model1D { shared_ptr signal; shared_ptr background; shared_ptr signal_fraction; shared_ptr background_fraction; public: PndLmdSignalBackgroundModel1D(std::string name_, shared_ptr signal_, shared_ptr background_); virtual ~PndLmdSignalBackgroundModel1D(); void initModelParameters(); double eval(const double *x) const; void updateDomain(); }; #endif /* PNDLMDSIGNALBACKGROUNDMODEL1D_H_ */