ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Muon
L0MuonEmulation
src
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
7
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
8
#include "
AthenaMonitoringKernel/Monitored.h
"
9
#include "
AthenaKernel/IAthRNGSvc.h
"
10
11
#include "
xAODTruth/TruthParticleContainer.h
"
12
#include "
xAODTrigger/MuonRoIContainer.h
"
13
#include <memory>
14
15
namespace
L0Muon
{
16
17
class
TruthTrackSmearer
;
18
19
class
L0MuonSmearingAlg
:
public
::AthReentrantAlgorithm
{
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
:
29
SG::ReadHandleKey<xAOD::TruthParticleContainer>
m_inputTruthParticleKey
{
this
,
"InputTruthParticle"
,
"TruthParticles"
,
30
"key for retrieval of input Truth particle"
};
31
32
SG::WriteHandleKey<xAOD::MuonRoIContainer>
m_outputMuonRoIKey
{
this
,
"OutputMuonRoI"
,
"LVL1MuonRoIs"
,
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
AthReentrantAlgorithm.h
TruthParticleContainer.h
IAthRNGSvc.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
MuonRoIContainer.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
L0Muon::L0MuonSmearingAlg::m_outputMuonRoIKey
SG::WriteHandleKey< xAOD::MuonRoIContainer > m_outputMuonRoIKey
Definition
L0MuonSmearingAlg.h:32
L0Muon::L0MuonSmearingAlg::m_mySmearer
std::unique_ptr< TruthTrackSmearer > m_mySmearer
Definition
L0MuonSmearingAlg.h:38
L0Muon::L0MuonSmearingAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
L0MuonSmearingAlg.h:35
L0Muon::L0MuonSmearingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
L0MuonSmearingAlg.cxx:53
L0Muon::L0MuonSmearingAlg::~L0MuonSmearingAlg
virtual ~L0MuonSmearingAlg()
Definition
L0MuonSmearingAlg.cxx:22
L0Muon::L0MuonSmearingAlg::initialize
virtual StatusCode initialize() override
Definition
L0MuonSmearingAlg.cxx:25
L0Muon::L0MuonSmearingAlg::m_rndmSvc
ServiceHandle< IAthRNGSvc > m_rndmSvc
Random number generator engine.
Definition
L0MuonSmearingAlg.h:36
L0Muon::L0MuonSmearingAlg::m_inputTruthParticleKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputTruthParticleKey
Definition
L0MuonSmearingAlg.h:29
L0Muon::L0MuonSmearingAlg::finalize
virtual StatusCode finalize() override
Definition
L0MuonSmearingAlg.cxx:47
L0Muon::L0MuonSmearingAlg::L0MuonSmearingAlg
L0MuonSmearingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
L0MuonSmearingAlg.cxx:18
L0Muon::TruthTrackSmearer
Definition
TruthTrackSmearer.h:17
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
L0Muon
Definition
NSWTPBits.h:7
Generated on
for ATLAS Offline Software by
1.17.0