00001 #ifndef EVENT_LOOP_GRID_WORKER_H 00002 #define EVENT_LOOP_GRID_WORKER_H 00003 00004 #include <string> 00005 00006 #include <TList.h> 00007 00008 #include "SampleHandler/MetaObject.h" 00009 #include "EventLoop/Worker.h" 00010 #include "EventLoop/Global.h" 00011 #include "EventLoopGrid/PandaRootTools.h" 00012 00013 namespace EL 00014 { 00015 class GridWorker : public Worker 00016 { 00017 00018 public: 00019 00020 void testInvariant() const; 00021 00022 GridWorker(const SH::MetaObject *sample, 00023 TList *output, 00024 const TList& bigOutputs, 00025 const TList& algs, 00026 const std::string& location, 00027 PandaRootTools& pandaTools); 00028 00029 void run(); 00030 00031 00032 private: 00033 00034 const SH::MetaObject *m_meta; 00035 00036 const std::string m_location; 00037 00038 PandaRootTools m_pandaTools; 00039 00040 ClassDef(EL::GridWorker, 1); 00041 }; 00042 00043 } 00044 00045 #endif