4#ifndef L0MuonS1RPC_RPCSIMULATION_H
5#define L0MuonS1RPC_RPCSIMULATION_H
30 using AthReentrantAlgorithm::AthReentrantAlgorithm;
34 virtual StatusCode
execute(
const EventContext &ctx)
const override;
39 const EventContext &ctx)
const;
42 const EventContext& ctx)
const;
46 Gaudi::Property<bool>
m_useTruth{
this,
"UseTruth",
true,
"Use truth information to build candidates"};
47 Gaudi::Property<bool>
m_usePatterns{
this,
"UsePatterns",
false,
"Use patterns to build candidates"};
54 "LVL0 Barrel trigger candidates in the Muon RPC"};
55 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring Tool"};
65 "Muon Id Helper Service"};
Header file to be included by clients of the Monitored infrastructure.
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.
An algorithm that can be simultaneously executed in multiple threads.
StatusCode buildFromTruth(L0Muon::RPCCandDataContainer &outputCands, const EventContext &ctx) const
build the candidates from the MC truth
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthPartKey
truth containers
virtual StatusCode initialize() override
Gaudi::Property< bool > m_usePatterns
Gaudi::Property< bool > m_useTruth
configuration options
std::vector< const xAOD::MuonSimHit * > collectHits(const xAOD::TruthParticle &truthPart, const EventContext &ctx) const
SG::WriteHandleKey< L0Muon::RPCCandDataContainer > m_outputCandKey
Output Trigger candidates.
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_segmentLinkKey
SG::ReadHandleKey< xAOD::NRPCRDOContainer > m_keyRpcRdo
RPC Rdo.
const MuonGMR4::MuonDetectorManager * m_detMgr
ToolHandle< GenericMonitoringTool > m_monTool
virtual ~RPCSimulation()=default
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
helper service
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
virtual StatusCode execute(const EventContext &ctx) const override
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.
Property holding a SG store/key/clid from which a WriteHandle is made.
DataVector< RPCCandData > RPCCandDataContainer
TruthParticle_v1 TruthParticle
Typedef to implementation.