ATLAS Offline Software
EFMuonMon.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_EFMUONMON_H
6 #define TRIGMUONMONITORING_EFMUONMON_H
7 
10 
11 /*
12 This is a class for monitoring EFMuon.
13  */
15 
16  public:
17  EFMuonMon(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::MuonContainer> m_EFSAMuonContainerKey {this, "EFSAMuonContainerName", "HLT_Muons_RoI", "EFSAMuon container"};
29  SG::ReadHandleKey<xAOD::MuonContainer> m_EFCBMuonContainerKey {this, "EFCBMuonContainerName", "HLT_MuonsCB_RoI", "EFCBMuon container"};
30  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_MStrackContainerKey {this, "ExtrapolatedMStrackConntainner", "HLT_MSExtrapolatedMuons_RoITrackParticles", "EFCBMuon container"};
31  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_CBtrackContainerKey {this, "CBtrackContainerName", "HLT_CBCombinedMuon_RoITrackParticles", "EFCBMuon container"};
32  SG::ReadDecorHandleKey<xAOD::MuonContainer> m_muonIso30Key {this, "MuonIso03Name", "HLT_MuonsIso.ptcone03", "Isolation in ptcone03" };
33 
34  std::map<std::string, bool> m_doEFSA {};
35  std::map<std::string, bool> m_doEFCB {};
36  std::map<std::string, bool> m_doEFIso {};
37 };
38 
39 #endif //TRIGMUONMONITORING_EFMUONMON_H
TrigMuonMonitorAlgorithm.h
runLayerRecalibration.chain
chain
Definition: runLayerRecalibration.py:175
EFMuonMon::m_doEFIso
std::map< std::string, bool > m_doEFIso
Definition: EFMuonMon.h:36
EFMuonMon::m_doEFSA
std::map< std::string, bool > m_doEFSA
Definition: EFMuonMon.h:34
EFMuonMon::initialize
virtual StatusCode initialize() override
initialize
Definition: EFMuonMon.cxx:16
EFMuonMon::m_EFSAMuonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_EFSAMuonContainerKey
Definition: EFMuonMon.h:28
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
EFMuonMon::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: EFMuonMon.cxx:317
EFMuonMon::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: EFMuonMon.cxx:116
EFMuonMon::m_EFCBMuonContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_EFCBMuonContainerKey
Definition: EFMuonMon.h:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EFMuonMon::m_CBtrackContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_CBtrackContainerKey
Definition: EFMuonMon.h:31
EFMuonMon::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: EFMuonMon.cxx:38
TrigMuonMonitorAlgorithm
Base class from which analyzers can define a derived class to do specific analysis.
Definition: TrigMuonMonitorAlgorithm.h:22
EFMuonMon::m_doEFCB
std::map< std::string, bool > m_doEFCB
Definition: EFMuonMon.h:35
EFMuonMon::fillVariables
virtual StatusCode fillVariables(const EventContext &ctx) const override
Function that fills variables by just retrieving containers of trigger objects.
Definition: EFMuonMon.cxx:305
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
EFMuonMon::m_MStrackContainerKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_MStrackContainerKey
Definition: EFMuonMon.h:30
EFMuonMon::EFMuonMon
EFMuonMon(const std::string &name, ISvcLocator *pSvcLocator)
Definition: EFMuonMon.cxx:11
EFMuonMon::m_muonIso30Key
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_muonIso30Key
Definition: EFMuonMon.h:32
MuonContainer.h
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
EFMuonMon
Definition: EFMuonMon.h:14