Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
TriggerRegistryTool.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
8 TriggerRegistryTool::TriggerRegistryTool( const std::string& type, const std::string& name, const IInterface* parent )
9  : base_class( type, name, parent )
10 {
11 }
12 
13 
15 {
16 }
17 
18 
19 bool
20 TriggerRegistryTool::registerTriggerSelector(const TString& name, const TString& regexpr, const std::list<TString>& trigpar)
21 {
22  if (m_registry.find(name)!=m_registry.end()) {
23  ATH_MSG_WARNING ("registerTriggerSelector() :: trigger selector with name <" << name << "> already registered. Return false.");
24  return false;
25  }
26 
27  ATH_MSG_DEBUG ("registerTriggerSelector() :: trigger selector with name <" << name << "> registered.");
28  m_registry[name] = tvtPair(regexpr,trigpar);
29  return true;
30 }
31 
TriggerRegistryTool.h
This file contains the class definition for the TriggerRegistryTool class.
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
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:35
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
tvtPair
std::pair< TString, std::list< TString > > tvtPair
Definition: ITriggerRegistryTool.h:13
TriggerRegistryTool::~TriggerRegistryTool
virtual ~TriggerRegistryTool()
Definition: TriggerRegistryTool.cxx:14
TriggerRegistryTool::registerTriggerSelector
bool registerTriggerSelector(const TString &name, const TString &regexpr, const std::list< TString > &trigpar)
register trigger
Definition: TriggerRegistryTool.cxx:20