ATLAS Offline Software
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 
10 namespace 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
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
menu
make the sidebar many part of the config
Definition: hcg.cxx:551
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::TrigConfKeys_v1
Class describing the configuration used in a given event.
Definition: TrigConfKeys_v1.h:32
xAODKeysMatch.h
xAOD::TriggerMenu_v1::smk
uint32_t smk() const
Get the Super Master Key of this configuration.
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
xAOD::TriggerMenu_v1
Class holding one particular trigger configuration.
Definition: TriggerMenu_v1.h:34
xAOD::TriggerMenu_v1::hltpsk
uint32_t hltpsk() const
Get the HLT prescale key of this configuration.