00001 /* 00002 * ReadoutProcessorAlg 00003 * 00004 * Manage a list of processors to apply to the data 00005 * 00006 * dandwyer@caltech.edu 2011/01/21 00007 */ 00008 00009 00010 #ifndef READOUTPROCESSORALG_H 00011 #define READOUTPROCESSORALG_H 00012 00013 #include "GaudiAlg/GaudiAlgorithm.h" 00014 #include <vector> 00015 #include <string> 00016 00017 class IReadoutProcessor; 00018 00019 class ReadoutProcessorAlg : public GaudiAlgorithm 00020 { 00021 00022 public: 00023 ReadoutProcessorAlg(const std::string& name, ISvcLocator* pSvcLocator); 00024 virtual ~ReadoutProcessorAlg(); 00025 00026 virtual StatusCode initialize(); 00027 virtual StatusCode execute(); 00028 virtual StatusCode finalize(); 00029 00030 private: 00031 // Properties 00032 std::vector<std::string> m_toolNames; 00033 00034 // Handle for tools 00035 std::vector<IReadoutProcessor*> m_tools; 00036 }; 00037 00038 #endif // READOUTPROCESSORALG_H