4#ifndef L0MuonS1RPC_RPCSIMULATION_H
5#define L0MuonS1RPC_RPCSIMULATION_H
31 using AthReentrantAlgorithm::AthReentrantAlgorithm;
35 virtual StatusCode
execute(
const EventContext &ctx)
const override;
40 const EventContext &ctx)
const;
43 const EventContext& ctx)
const;
47 Gaudi::Property<bool>
m_useTruth{
this,
"UseTruth",
true,
"Use truth information to build candidates"};
48 Gaudi::Property<bool>
m_usePatterns{
this,
"UsePatterns",
false,
"Use patterns to build candidates"};
55 "LVL0 xAOD Barrel trigger candidates in the Muon RPC"};
56 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring Tool"};
66 "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.
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_truthPartKey
truth containers
virtual StatusCode initialize() override
Gaudi::Property< bool > m_usePatterns
SG::WriteHandleKey< xAOD::RPCCandDataContainer > m_outputCandKey
Output Trigger candidates.
Gaudi::Property< bool > m_useTruth
configuration options
StatusCode buildFromTruth(xAOD::RPCCandDataContainer &outputCands, const EventContext &ctx) const
build the candidates from the MC truth
std::vector< const xAOD::MuonSimHit * > collectHits(const xAOD::TruthParticle &truthPart, const EventContext &ctx) const
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.
RPCCandDataContainer_v1 RPCCandDataContainer
TruthParticle_v1 TruthParticle
Typedef to implementation.