1 #ifndef _PEAK_DETECTOR_FACTORY_HH_ 2 #define _PEAK_DETECTOR_FACTORY_HH_ 3 #include "PeakDetector.hh" 4 #include "PeakDetectorParameters.hh" 5 #include "EMPeakDetector.hh" 6 #include "SimplePeakDetector.hh" 7 8 using namespace std; 9 10 class PeakDetectorFactory { 11 public: 12 static PeakDetector* instantiatePeakDetector( const string& algo, const PeakDetectorParameters* params ); 13 }; 14 15 #endif // _PEAK_DETECTOR_FACTORY_HH_ 16