ATLAS Offline Software
Loading...
Searching...
No Matches
L0MuonSmearingAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef L0MUON_SMEARINGALG_H
5#define L0MUON_SMEARINGALG_H
6
10
13
14namespace L0Muon {
15
17
19 public:
20 L0MuonSmearingAlg(const std::string& name, ISvcLocator* pSvcLocator);
21 virtual ~L0MuonSmearingAlg();
22
23 virtual StatusCode initialize() override;
24 virtual StatusCode execute(const EventContext& ctx) const override;
25 virtual StatusCode finalize() override;
26
27 private:
29 "key for retrieval of input Truth particle"};
30
32 "key for LVL0 emulated muon RoIs" };
33
34 ToolHandle<GenericMonitoringTool> m_monTool{this, "MonTool", "", "Monitoring Tool"};
35 ServiceHandle<IAthRNGSvc> m_rndmSvc{this, "RndmSvc", "AthRNGSvc", ""};
36
37 std::unique_ptr<TruthTrackSmearer> m_mySmearer{nullptr};
38};
39
40} // end of namespace
41
42#endif // L0MUON_SMEARINGALG_H
43
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.