00001 00014 #ifndef TESTINPUTLOADALG 00015 #define TESTINPUTLOADALG 00016 00017 #include "DybIO/IDybInputLoadTool.h" 00018 #include "DybIO/IDybEntryPolicyTool.h" 00019 00020 #include "GaudiAlg/GaudiAlgorithm.h" 00021 #include "GaudiKernel/ToolHandle.h" 00022 00023 #include <string> 00024 00025 class DybInputLoadTool; 00026 class DybEntryPolicyTool; 00027 00028 class TestInputLoadAlg : public GaudiAlgorithm 00029 { 00030 public: 00031 TestInputLoadAlg(const std::string& name, ISvcLocator* pSvcLocator); 00032 virtual ~TestInputLoadAlg(); 00033 00034 virtual StatusCode initialize(); 00035 virtual StatusCode execute(); 00036 virtual StatusCode finalize(); 00037 00038 private: 00039 00040 StatusCode get_header(int entry, const std::string& path, bool input_headers); 00041 StatusCode get_frame(int entry, const std::string& path, bool input_headers); 00042 00043 ToolHandle<IDybInputLoadTool> m_loader; 00044 ToolHandle<IDybEntryPolicyTool> m_policy; 00045 std::string m_path; 00046 int m_test_type; 00047 00048 }; 00049 00050 #endif // TESTINPUTLOADALG