00001 #ifndef GoodRunsLists_ITriggerRegistryTool_H 00002 #define GoodRunsLists_ITriggerRegistryTool_H 00003 00004 #include "GaudiKernel/IAlgTool.h" 00005 #include "TString.h" 00006 #include <list> 00007 #include <map> 00008 00009 typedef std::pair< TString, std::list<TString> > tvtPair; 00010 00011 class ITriggerRegistryTool : virtual public IAlgTool { 00012 public: 00013 00014 static const InterfaceID& interfaceID() { 00015 static const InterfaceID ITriggerRegistryToolID( "ITriggerRegistryTool", 1, 0 ); 00016 return ITriggerRegistryToolID; 00017 } 00018 00020 virtual bool registerTriggerSelector(const TString& name, const TString& regexpr, const std::list<TString>& trigpar) = 0 ; 00022 virtual const std::map< TString, tvtPair >& getTriggerSelectorRegistry() = 0 ; 00023 }; 00024 00025 #endif // GoodRunsLists_ITriggerRegistryTool_H 00026