Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TestStat.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/TestStat.h"
00002 //#include "GaudiKernel/MsgStream.h"
00003 #include <iostream>
00004 namespace FastShower{
00005   TestStat& TestStat::operator+=(const TestStat& rhs){
00006     m_npass+=rhs.m_npass;
00007     m_ntest+=rhs.m_ntest;
00008     return *this;
00009   }
00010   ostream& operator<<(ostream& log, const TestStat& t){
00011     log<<"["<<t.npass()<<","<<t.ntest()<<"]";
00012     return log;
00013   }
00014   TestStat& operator + (const TestStat& lhs, const TestStat& rhs){
00015     TestStat sum(lhs);
00016     return sum+=rhs;
00017   }
00018 }//namespace

Generated on Tue Mar 18 11:50:07 2003 for FastShowerUtils by doxygen1.3-rc1