ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigConfiguration
TrigConfxAOD
Root
xAODKeysMatch.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: xAODKeysMatch.cxx 612011 2014-08-15 13:43:57Z krasznaa $
6
7
// Local include(s):
8
#include "
TrigConfxAOD/tools/xAODKeysMatch.h
"
9
10
namespace
TrigConf
{
11
20
bool
xAODKeysMatch
(
const
xAOD::TrigConfKeys
* keys,
21
const
xAOD::TriggerMenu
*
menu
) {
22
23
return
( ( keys->smk() ==
menu
->smk() ) &&
24
( keys->l1psk() ==
menu
->l1psk() ) &&
25
( keys->hltpsk() ==
menu
->hltpsk() ) );
26
}
27
33
bool
xAODKeysMatch
(
const
xAOD::TriggerMenu
* menuA,
34
const
xAOD::TriggerMenu
* menuB ) {
35
36
return
( ( menuA->
smk
() == menuB->
smk
() ) &&
37
( menuA->
l1psk
() == menuB->
l1psk
() ) &&
38
( menuA->
hltpsk
() == menuB->
hltpsk
() ) );
39
}
40
41
}
// namespace TrigConf
menu
make the sidebar many part of the config
Definition
hcg.cxx:554
xAOD::TriggerMenu_v1::smk
uint32_t smk() const
Get the Super Master Key of this configuration.
xAOD::TriggerMenu_v1::hltpsk
uint32_t hltpsk() const
Get the HLT prescale key of this configuration.
xAOD::TriggerMenu_v1::l1psk
uint32_t l1psk() const
Get the LVL1 prescale key of this configuration.
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition
Config.h:22
TrigConf::xAODKeysMatch
bool xAODKeysMatch(const xAOD::TrigConfKeys *keys, const xAOD::TriggerMenu *menu)
Since this is used in a couple of places, it seemed to make sense to put this simple code into a cent...
Definition
xAODKeysMatch.cxx:20
xAOD::TriggerMenu
TriggerMenu_v1 TriggerMenu
Define the latest version of the trigger menu class.
Definition
TriggerMenu.h:16
xAOD::TrigConfKeys
TrigConfKeys_v1 TrigConfKeys
Declare the current version of the trigger configuration keys type.
Definition
TrigConfKeys.h:16
xAODKeysMatch.h
Generated on
for ATLAS Offline Software by
1.17.0