ATLAS Offline Software
TriggerRegistryTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef GoodRunsLists_TriggerRegistryTool_H
6 #define GoodRunsLists_TriggerRegistryTool_H
7 
15 
16 //typedef std::pair< std::vector<std::string>, std::vector<std::string> > vvPair;
17 
22 class TriggerRegistryTool : virtual public AthAlgTool, virtual public ITriggerRegistryTool
23 {
24  public:
25  TriggerRegistryTool( const std::string&, const std::string&, const IInterface* );
26  virtual ~TriggerRegistryTool();
27 
29  StatusCode queryInterface( const InterfaceID& riid, void** ppvIf );
30 
32  bool registerTriggerSelector(const TString& name, const TString& regexpr, const std::list<TString>& trigpar);
34  const std::map< TString, tvtPair >& getTriggerSelectorRegistry() { return m_registry; }
35 
36  protected:
37 
38  std::map< TString, tvtPair > m_registry;
39 };
40 
41 #endif
42 
ITriggerRegistryTool.h
TriggerRegistryTool::TriggerRegistryTool
TriggerRegistryTool(const std::string &, const std::string &, const IInterface *)
Definition: TriggerRegistryTool.cxx:8
TriggerRegistryTool::m_registry
std::map< TString, tvtPair > m_registry
Definition: TriggerRegistryTool.h:38
ITriggerRegistryTool
Definition: ITriggerRegistryTool.h:15
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
TriggerRegistryTool::getTriggerSelectorRegistry
const std::map< TString, tvtPair > & getTriggerSelectorRegistry()
get selector registry
Definition: TriggerRegistryTool.h:34
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
TriggerRegistryTool
This file contains the class definition for the TriggerRegistryTool class.
Definition: TriggerRegistryTool.h:23
TriggerRegistryTool::~TriggerRegistryTool
virtual ~TriggerRegistryTool()
Definition: TriggerRegistryTool.cxx:15
AthAlgTool
Definition: AthAlgTool.h:26
TriggerRegistryTool::registerTriggerSelector
bool registerTriggerSelector(const TString &name, const TString &regexpr, const std::list< TString > &trigpar)
register trigger
Definition: TriggerRegistryTool.cxx:34
TriggerRegistryTool::queryInterface
StatusCode queryInterface(const InterfaceID &riid, void **ppvIf)
To allow access to the ITriggerRegistryTool interface.
Definition: TriggerRegistryTool.cxx:21