00001 #include "TimeWalkTestResult.h" 00002 #include "NullVariable.h" 00003 #include "DefaultVariable.h" 00004 #include <CommonWithDsp/ABCD/ABCDscans.h> 00005 00007 00008 namespace SctData{ 00009 TimeWalkTestResult::TimeWalkTestResult() throw() : chipResults("TimeWalkChipResult") { 00010 chipResults.resize(nChipModule); 00011 } 00012 00013 TimeWalkTestResult::TimeWalkTestResult(unsigned int runNumber, const string& moduleName) throw() 00014 : TestResult(runNumber, moduleName, NullVariable::instance(), 00015 DefaultVariable(ST_COMPRESSION)), 00016 chipResults("TimeWalkChipResult"){ 00017 chipResults.resize(nChipModule); 00018 } 00019 00020 TimeWalkTestResult::~TimeWalkTestResult() throw() {} 00021 00022 string TimeWalkTestResult::getClassName() const throw(){ 00023 return string("SctData::TimeWalkTestResult"); 00024 } 00025 00026 const TimeWalkTestResult::ChipTWResult& TimeWalkTestResult::getChipResult(const unsigned index) const{ 00027 return chipResults[index]; 00028 } 00029 00030 TimeWalkTestResult::ChipTWResult& TimeWalkTestResult::getChipResult(const unsigned index){ 00031 return chipResults[index]; 00032 } 00033 00034 }