00001 #ifndef CHIPCOUNTERALGORITHM_H 00002 #define CHIPCOUNTERALGORITHM_H 00003 00004 #include "AnalysisAlgorithm.h" 00005 00006 namespace SctAnalysis { 00010 class ChipCounterAlgorithm : public AnalysisAlgorithm { 00011 public: 00012 virtual bool canAnalyze() const; 00013 virtual void analyze(); 00014 virtual void loadData(); 00015 virtual shared_ptr<SctData::TestResult> createTestResult() const; 00016 virtual boost::shared_ptr<AnalysisAlgorithm> clone(shared_ptr<const TestData> testData, const string& moduleName) const throw(); 00020 ChipCounterAlgorithm(shared_ptr<const TestData> testData, const string& moduleName, const AnalysisAlgorithm& alg) throw() : AnalysisAlgorithm(testData, moduleName, alg) {} 00024 virtual ~ChipCounterAlgorithm() throw() {} 00025 00026 private: 00027 ChipCounterAlgorithm() {} 00028 static bool inMap; 00029 static const int NHEADER=6; 00030 static const int NBC=8; 00031 static const int NL1=4; 00032 }; 00033 } 00034 00035 #endif //CHIPCOUNTERALGORITHM_H