/search.css" rel="stylesheet" type="text/css"/> /search.js">
00001 /* 00002 * \class ROsTriggerDataPackerTool 00003 * 00004 * \brief Fee TriggerDataPackerTool 00005 * 00006 * bseilhan@iit.edu 2010-05-11 00007 * 00008 */ 00009 00010 #ifndef _ROsTriggerDataPackerTool_H_ 00011 #define _ROsTriggerDataPackerTool_H_ 00012 00013 #include "ReadoutSim/IROsTriggerDataPackerTool.h" 00014 00015 #include "GaudiAlg/GaudiTool.h" 00016 00017 #include "Conventions/Detectors.h" 00018 #include "Conventions/Trigger.h" 00019 00020 #include <vector> 00021 #include <string> 00022 #include <map> 00023 00024 namespace DayaBay{ 00025 class ElecHeader; 00026 class ReadoutTriggerDataPkg; 00027 class SimTrigCommand; 00028 } 00029 00030 class ROsTriggerDataPackerTool : public GaudiTool , virtual public IROsTriggerDataPackerTool 00031 { 00032 public: 00033 00034 ROsTriggerDataPackerTool(const std::string& type, 00035 const std::string& name, 00036 const IInterface* parent); 00037 00038 virtual ~ROsTriggerDataPackerTool(); 00039 00040 virtual StatusCode fillDataPackages(std::vector<DayaBay::ReadoutTriggerDataPkg*>& dataPkgs, 00041 const DayaBay::SimTrigHeader& trigHeader); 00042 00043 virtual StatusCode initialize(); 00044 virtual StatusCode finalize(); 00045 00046 private: 00047 unsigned int m_recoveryCycles; 00048 }; 00049 00050 00051 00052 #endif /* _ROsTriggerDataPackerTool_H_ */