ATLAS Offline Software
L2MuonSAMon.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGMUONMONITORING_L2MUONSAMON_H
6 #define TRIGMUONMONITORING_L2MUONSAMON_H
7 
10 
11 /*
12 This is a class for monitoring L2MuonSA.
13  */
15 
16  public:
17  L2MuonSAMon(const std::string& name, ISvcLocator* pSvcLocator );
18 
19  virtual StatusCode initialize() override;
20 
21  protected:
22  virtual StatusCode fillVariablesPerChain(const EventContext &ctx, const std::string &chain) const override;
23  virtual StatusCode fillVariablesPerOfflineMuonPerChain(const EventContext& ctx, const xAOD::Muon* mu, const std::string &chain) const override;
24  virtual StatusCode fillVariables(const EventContext& ctx) const override;
25  virtual StatusCode fillVariablesPerOfflineMuon(const EventContext &ctx, const xAOD::Muon* mu) const override;
26 
27  private:
28  SG::ReadHandleKey<xAOD::L2StandAloneMuonContainer> m_L2MuonSAContainerKey {this, "L2StandAloneMuonContainerName", "HLT_MuonL2SAInfo", "L2MuonSA container"};
29 
30 };
31 
32 #endif //TRIGMUONMONITORING_L2MUONSAMON_H
TrigMuonMonitorAlgorithm.h
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
L2MuonSAMon::L2MuonSAMon
L2MuonSAMon(const std::string &name, ISvcLocator *pSvcLocator)
Definition: L2MuonSAMon.cxx:10
L2StandAloneMuonContainer.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
L2MuonSAMon::fillVariablesPerOfflineMuon
virtual StatusCode fillVariablesPerOfflineMuon(const EventContext &ctx, const xAOD::Muon *mu) const override
Function that fills variables that are compared to offline muons but the trigger chains are not speci...
Definition: L2MuonSAMon.cxx:390
TrigMuonMonitorAlgorithm
Base class from which analyzers can define a derived class to do specific analysis.
Definition: TrigMuonMonitorAlgorithm.h:22
L2MuonSAMon::fillVariablesPerChain
virtual StatusCode fillVariablesPerChain(const EventContext &ctx, const std::string &chain) const override
Function that fills variables of trigger objects associated to specified trigger chains.
Definition: L2MuonSAMon.cxx:22
L2MuonSAMon
Definition: L2MuonSAMon.h:14
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
L2MuonSAMon::initialize
virtual StatusCode initialize() override
initialize
Definition: L2MuonSAMon.cxx:15
L2MuonSAMon::m_L2MuonSAContainerKey
SG::ReadHandleKey< xAOD::L2StandAloneMuonContainer > m_L2MuonSAContainerKey
Definition: L2MuonSAMon.h:28
L2MuonSAMon::fillVariables
virtual StatusCode fillVariables(const EventContext &ctx) const override
Function that fills variables by just retrieving containers of trigger objects.
Definition: L2MuonSAMon.cxx:378
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
L2MuonSAMon::fillVariablesPerOfflineMuonPerChain
virtual StatusCode fillVariablesPerOfflineMuonPerChain(const EventContext &ctx, const xAOD::Muon *mu, const std::string &chain) const override
Function that fills variables of trigger objects associated to specified trigger chains comparing off...
Definition: L2MuonSAMon.cxx:235