00001 #ifndef FULLBYPASSTESTRESULT_H 00002 #define FULLBYPASSTESTRESULT_H 00003 00004 #include "TestResult.h" 00005 #include "Sct/RangedVector.h" 00006 00007 namespace SctData{ 00008 class ThresholdVariable; 00014 class FullBypassTestResult : public TestResult { 00015 public: 00016 FullBypassTestResult() throw(); 00017 00021 FullBypassTestResult(unsigned int runNumber, const string& moduleName) throw(); 00022 00026 virtual ~FullBypassTestResult() throw(); 00027 00028 //Override 00029 virtual string getClassName() const throw(); 00030 00031 class ChipFBResult{ 00032 public: 00033 ChipFBResult() : status_direct(-2) , vdd_direct(10.), 00034 status_bypass(-2), vdd_bypass(10.) {} 00042 short status_direct; 00043 float vdd_direct; 00044 short status_bypass; 00045 float vdd_bypass; 00046 }; 00047 00051 ChipFBResult& getChipResult(const unsigned index); 00055 const ChipFBResult& getChipResult(const unsigned index) const; 00056 00057 void setNConfig(const unsigned n){m_nconf=n;} 00058 unsigned getNConfig() const {return m_nconf;} 00059 00063 void setVddNom(float f) {m_vdd_nom=f;} 00064 float getVddNom() const {return m_vdd_nom;} 00065 00066 private: 00067 RangedVector<ChipFBResult> chipResults; 00068 float m_vdd_nom; 00069 unsigned m_nconf; 00070 }; 00071 }// end of namespace SctData 00072 #endif //#ifndef FULLBYPASSTESTRESULT_H