00001 #ifndef FASTSHOWER_LINEARPROCESSOR_H 00002 #define FASTSHOWER_LINEARPROCESSOR_H 00003 00004 #ifndef FASTSHOWER_IDISTPROCESSOR_H 00005 #include "FastShowerUtils/IDistProcessor.h" 00006 #endif 00007 00008 namespace FastShower{ 00016 class LinearProcessor: public IDistProcessor{ 00017 public: 00019 LinearProcessor(double a, double b):m_a(a),m_b(b){} 00020 ~LinearProcessor(){} 00022 virtual double process(double x) const; 00023 private: 00024 double m_a; 00025 double m_b; 00026 }; 00027 } 00028 #endif