00001 #ifndef GoodRunsLists_TriggerRegistryTool_H
00002 #define GoodRunsLists_TriggerRegistryTool_H
00003
00009 #include "GoodRunsLists/ITriggerRegistryTool.h"
00010 #include "AthenaBaseComps/AthAlgTool.h"
00011
00012
00013
00018 class TriggerRegistryTool : virtual public AthAlgTool, virtual public ITriggerRegistryTool
00019 {
00020 public:
00021 TriggerRegistryTool( const std::string&, const std::string&, const IInterface* );
00022 virtual ~TriggerRegistryTool();
00023
00025 StatusCode queryInterface( const InterfaceID& riid, void** ppvIf );
00026
00028 bool registerTriggerSelector(const TString& name, const TString& regexpr, const std::list<TString>& trigpar);
00030 const std::map< TString, tvtPair >& getTriggerSelectorRegistry() { return m_registry; }
00031
00032 protected:
00033
00034 std::map< TString, tvtPair > m_registry;
00035 };
00036
00037 #endif
00038