00001 #include "FullBypassTestResult.h" 00002 #include "NullVariable.h" 00003 #include "DefaultVariable.h" 00004 #include <Sct/AbcdScans.h> 00005 00006 namespace SctData{ 00007 FullBypassTestResult::FullBypassTestResult() throw() : chipResults("FullBypassChipResult") { 00008 chipResults.resize(nChipModule); 00009 } 00010 00011 FullBypassTestResult::FullBypassTestResult(unsigned int runNumber, const string& moduleName) throw() 00012 : TestResult(runNumber, moduleName, NullVariable::instance(), 00013 *DefaultVariable::instance(ST_COMPRESSION)), chipResults("FullBypassChipResult") 00014 {} 00015 00016 FullBypassTestResult::~FullBypassTestResult() throw() {} 00017 00018 string FullBypassTestResult::getClassName() const throw(){ 00019 return string("SctData::FullBypassTestResult"); 00020 } 00021 00022 const FullBypassTestResult::ChipFBResult& FullBypassTestResult::getChipResult(const unsigned index) const{ 00023 return chipResults[index]; 00024 } 00025 00026 FullBypassTestResult::ChipFBResult& FullBypassTestResult::getChipResult(const unsigned index){ 00027 return chipResults[index]; 00028 } 00029 }