00001 #ifndef THRESHOLDFITALGORITHM_H
00002 #define THRESHOLDFITALGORITHM_H
00003
00004 #include "FitAlgorithm.h"
00005
00006 namespace SctFitter {
00007
00011 class ThresholdFitAlgorithm : public FitAlgorithm {
00012 public:
00013 static bool putInMap() throw();
00014
00015 protected:
00016
00017 virtual auto_ptr<FitObject> getPrototype() const throw();
00018 virtual void guessParameters(const TH1& hist, FitObject& fitOb) const throw (LogicError, MathsError);
00019 virtual void checkForDefects(const TH1& hist, const ModuleElement& e, ModuleDefectList&) const throw (LogicError);
00020 virtual void createSummaryHistograms(FitScanResult& fits) const throw();
00021
00022 private:
00023 ThresholdFitAlgorithm() throw();
00024 static bool inMap;
00025 };
00026 }
00027 #endif //#ifndef THRESHOLDFITALGORITHM_H