Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

StatGWeight.cpp

Go to the documentation of this file.
00001 #include "cafe/StatGWeight.hpp"
00002 #include "cafe/Stat.hpp"
00003 
00004 using namespace std ;
00005  
00006 namespace cafe {
00007 
00008   StatGWeight::StatGWeight(const char *name) : cafe::Processor(name) { }
00009   
00010   bool StatGWeight::processEvent(cafe::Event &event)
00011   {
00012     //get pointer to statistics collector
00013     StatPointer stat ;
00014     event.get("StatPointer", stat) ;
00015     stat.calculateGlobalWeight() ;
00016     return true  ;      
00017   };
00018 }
00019 ClassImp(cafe::StatGWeight) ;
00020   

Generated on Tue Mar 28 10:13:04 2006 for CAF by doxygen 1.3.4