ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DataQuality
GoodRunsLists
src
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
6
#include "
GoodRunsLists/TriggerRegistryTool.h
"
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
14
TriggerRegistryTool::~TriggerRegistryTool
()
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
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x,...)
Definition
AthMsgStreamMacros.h:43
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x,...)
Definition
AthMsgStreamMacros.h:46
tvtPair
std::pair< TString, std::list< TString > > tvtPair
Definition
ITriggerRegistryTool.h:13
TriggerRegistryTool.h
This file contains the class definition for the TriggerRegistryTool class.
TriggerRegistryTool::m_registry
std::map< TString, tvtPair > m_registry
Definition
TriggerRegistryTool.h:35
TriggerRegistryTool::TriggerRegistryTool
TriggerRegistryTool(const std::string &, const std::string &, const IInterface *)
Definition
TriggerRegistryTool.cxx:8
TriggerRegistryTool::registerTriggerSelector
bool registerTriggerSelector(const TString &name, const TString ®expr, const std::list< TString > &trigpar)
register trigger
Definition
TriggerRegistryTool.cxx:20
TriggerRegistryTool::~TriggerRegistryTool
virtual ~TriggerRegistryTool()
Definition
TriggerRegistryTool.cxx:14
type
Generated on
for ATLAS Offline Software by
1.17.0