ATLAS Offline Software
Loading...
Searching...
No Matches
L0MuonSmearingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef L0MUON_SMEARINGALG_H
5#define L0MUON_SMEARINGALG_H
6
10
13#include <memory>
14
15namespace L0Muon {
16
18
20 public:
21 L0MuonSmearingAlg(const std::string& name, ISvcLocator* pSvcLocator);
22 virtual ~L0MuonSmearingAlg();
23
24 virtual StatusCode initialize() override;
25 virtual StatusCode execute(const EventContext& ctx) const override;
26 virtual StatusCode finalize() override;
27
28 private:
30 "key for retrieval of input Truth particle"};
31
33 "key for LVL0 emulated muon RoIs" };
34
35 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring Tool"};
36 ServiceHandle<IAthRNGSvc> m_rndmSvc{this, "RndmSvc", "AthRNGSvc", ""};
37
38 std::unique_ptr<TruthTrackSmearer> m_mySmearer{nullptr};
39};
40
41} // end of namespace
42
43#endif // L0MUON_SMEARINGALG_H
44
Header file to be included by clients of the Monitored infrastructure.
An algorithm that can be simultaneously executed in multiple threads.
SG::WriteHandleKey< xAOD::MuonRoIContainer > m_outputMuonRoIKey
std::unique_ptr< TruthTrackSmearer > m_mySmearer
ToolHandle< GenericMonitoringTool > m_monTool
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode initialize() override
ServiceHandle< IAthRNGSvc > m_rndmSvc
Random number generator engine.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputTruthParticleKey
virtual StatusCode finalize() override
L0MuonSmearingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.