ATLAS Offline Software
MuonFilterAlg.h
Go to the documentation of this file.
1 /*
2  Filter algorithms for muon trigger
3 
4  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 #ifndef TRIGMUONEF_MUONFILTERALG_H
8 #define TRIGMUONEF_MUONFILTERALG_H
9 
12 #include "xAODMuon/MuonContainer.h"
13 
15 {
16  public :
17 
19  MuonFilterAlg( const std::string& name, ISvcLocator* pSvcLocator );
20 
22  virtual StatusCode initialize() override;
23 
25  virtual StatusCode execute(const EventContext& ctx) const override;
26 
27 
28  private :
29 
30  SG::ReadHandleKey<xAOD::MuonContainer> m_muonContainerKey{this,"MuonContainerLocation", "Muons", "Muon Container"};
31 
32 };
33 
34 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonFilterAlg::MuonFilterAlg
MuonFilterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: MuonFilterAlg.cxx:9
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MuonFilterAlg::m_muonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
Definition: MuonFilterAlg.h:30
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonFilterAlg
Definition: MuonFilterAlg.h:15
AthReentrantAlgorithm.h
MuonFilterAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
execute the filter alg
Definition: MuonFilterAlg.cxx:20
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonContainer.h
MuonFilterAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: MuonFilterAlg.cxx:14