ATLAS Offline Software
Loading...
Searching...
No Matches
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/*
12This 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_EFSAMuonKey {this, "EFSAMuonContainerName", "HLT_Muons_RoI", "EFSAMuon container"};
29 SG::ReadHandleKey<xAOD::MuonContainer> m_EFSAMlbktMuonKey {this, "EFSAMlbktMuonContainerName", "HLT_Muons_RoI", "EFSAMuon container"};
30 SG::ReadHandleKey<xAOD::MuonContainer> m_EFSANewFastMuonKey {this, "EFSANewFastMuonContainerName", "HLT_Muons_RoI", "EFSAMuon container"};
31 SG::ReadHandleKey<xAOD::MuonContainer> m_EFCBMuonKey {this, "EFCBMuonContainerName", "HLT_MuonsCB_RoI", "EFCBMuon container"};
32 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_EFSATrackKey {this, "EFSATrackContainerName", "HLT_MSExtrapolatedMuons_RoITrackParticles", "EFCBMuon container"};
33 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_EFSAMlbktTrackKey {this, "EFSAMlbktTrackContainerName", "HLT_MSExtrapolatedMuons_RoITrackParticles", "EFCBMuon container"};
34 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_EFSANewFastTrackKey {this, "EFSANewFastTrackContainerName", "HLT_MSExtrapolatedMuons_RoITrackParticles", "EFCBMuon container"};
35 SG::ReadHandleKey<xAOD::TrackParticleContainer> m_EFCBTrackKey {this, "EFCBTrackContainerName", "HLT_CBCombinedMuon_RoITrackParticles", "EFCBMuon container"};
36 SG::ReadDecorHandleKey<xAOD::MuonContainer> m_muonIso30Key {this, "MuonIso03Name", "HLT_MuonsIso.ptcone03", "Isolation in ptcone03" };
37
38 std::map<std::string, bool> m_doEFSA {};
39 std::map<std::string, bool> m_doEFCB {};
40 std::map<std::string, bool> m_doEFIso {};
41};
42
43#endif //TRIGMUONMONITORING_EFMUONMON_H
std::map< std::string, bool > m_doEFCB
Definition EFMuonMon.h:39
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...
virtual StatusCode fillVariables(const EventContext &ctx) const override
Function that fills variables by just retrieving containers of trigger objects.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_EFSAMlbktTrackKey
Definition EFMuonMon.h:33
SG::ReadHandleKey< xAOD::MuonContainer > m_EFSANewFastMuonKey
Definition EFMuonMon.h:30
SG::ReadHandleKey< xAOD::MuonContainer > m_EFSAMlbktMuonKey
Definition EFMuonMon.h:29
SG::ReadHandleKey< xAOD::MuonContainer > m_EFSAMuonKey
Definition EFMuonMon.h:28
SG::ReadHandleKey< xAOD::MuonContainer > m_EFCBMuonKey
Definition EFMuonMon.h:31
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...
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_muonIso30Key
Definition EFMuonMon.h:36
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_EFCBTrackKey
Definition EFMuonMon.h:35
EFMuonMon(const std::string &name, ISvcLocator *pSvcLocator)
Definition EFMuonMon.cxx:11
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:42
std::map< std::string, bool > m_doEFIso
Definition EFMuonMon.h:40
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_EFSATrackKey
Definition EFMuonMon.h:32
std::map< std::string, bool > m_doEFSA
Definition EFMuonMon.h:38
virtual StatusCode initialize() override
initialize
Definition EFMuonMon.cxx:16
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_EFSANewFastTrackKey
Definition EFMuonMon.h:34
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
TrigMuonMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Muon_v1 Muon
Reference the current persistent version: