ATLAS Offline Software
Loading...
Searching...
No Matches
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):
9
10namespace TrigConf {
11
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
make the sidebar many part of the config
Definition hcg.cxx:552
uint32_t smk() const
Get the Super Master Key of this configuration.
uint32_t hltpsk() const
Get the HLT prescale key of this configuration.
uint32_t l1psk() const
Get the LVL1 prescale key of this configuration.
Forward iterator to traverse the main components of the trigger configuration.
Definition Config.h:22
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...
TriggerMenu_v1 TriggerMenu
Define the latest version of the trigger menu class.
Definition TriggerMenu.h:16
TrigConfKeys_v1 TrigConfKeys
Declare the current version of the trigger configuration keys type.