ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Muon
L1MuonEmulation
src
L1MuonSmearingAlg.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 L1MUONEMULATION_L1MUONSMEARINGALG_H
5
#define L1MUONEMULATION_L1MUONSMEARINGALG_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
L1Muon
{
16
17
class
TruthTrackSmearer
;
18
19
class
L1MuonSmearingAlg
:
public
::AthReentrantAlgorithm
{
20
public
:
21
L1MuonSmearingAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
22
virtual
~L1MuonSmearingAlg
();
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 LVL1 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
// L1MUONEMULATION_L1MUONSMEARINGALG_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
L1Muon::L1MuonSmearingAlg::m_rndmSvc
ServiceHandle< IAthRNGSvc > m_rndmSvc
Random number generator engine.
Definition
L1MuonSmearingAlg.h:36
L1Muon::L1MuonSmearingAlg::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition
L1MuonSmearingAlg.h:35
L1Muon::L1MuonSmearingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
L1MuonSmearingAlg.cxx:53
L1Muon::L1MuonSmearingAlg::m_inputTruthParticleKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_inputTruthParticleKey
Definition
L1MuonSmearingAlg.h:29
L1Muon::L1MuonSmearingAlg::L1MuonSmearingAlg
L1MuonSmearingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
L1MuonSmearingAlg.cxx:18
L1Muon::L1MuonSmearingAlg::~L1MuonSmearingAlg
virtual ~L1MuonSmearingAlg()
Definition
L1MuonSmearingAlg.cxx:22
L1Muon::L1MuonSmearingAlg::initialize
virtual StatusCode initialize() override
Definition
L1MuonSmearingAlg.cxx:25
L1Muon::L1MuonSmearingAlg::finalize
virtual StatusCode finalize() override
Definition
L1MuonSmearingAlg.cxx:47
L1Muon::L1MuonSmearingAlg::m_mySmearer
std::unique_ptr< TruthTrackSmearer > m_mySmearer
Definition
L1MuonSmearingAlg.h:38
L1Muon::L1MuonSmearingAlg::m_outputMuonRoIKey
SG::WriteHandleKey< xAOD::MuonRoIContainer > m_outputMuonRoIKey
Definition
L1MuonSmearingAlg.h:32
L1Muon::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
L1Muon
Definition
NSWTPBits.h:7
Generated on
for ATLAS Offline Software by
1.17.0