00001 #ifndef TIMEWALKTESTRESULT_H
00002 #define TIMEWALKTESTRESULT_H
00003
00004 #include "TestResult.h"
00005 #include "Sct/RangedVector.h"
00006
00007 namespace SctData{
00008 class ThresholdVariable;
00014 class TimeWalkTestResult : public TestResult {
00015 public:
00016 TimeWalkTestResult() throw();
00017
00021 TimeWalkTestResult(unsigned int runNumber, const string& moduleName) throw();
00022
00026 virtual ~TimeWalkTestResult() throw();
00027
00028
00029 virtual string getClassName() const throw();
00030
00031 class ChipTWResult{
00032 public:
00033 ChipTWResult() : timewalk(0.), calibration(0.) {}
00034 float timewalk;
00035 float calibration;
00036 };
00037
00041 ChipTWResult& getChipResult(const unsigned index);
00045 const ChipTWResult& getChipResult(const unsigned index) const;
00046 private:
00047 RangedVector<ChipTWResult> chipResults;
00048
00049 };
00050 }
00051 #endif //#ifndef TIMEWALKTESTRESULT_H