ATLAS Offline Software
Loading...
Searching...
No Matches
RpcRdoToRpcPrepDataTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONRPC_CNVTOOLSR4_RPCRDOTOPREPDATACNVTOOL_H
5#define MUONRPC_CNVTOOLSR4_RPCRDOTOPREPDATACNVTOOL_H
6
9
13
21#include <GaudiKernel/PhysicalConstants.h>
22
23namespace MuonR4{
24 class RpcRdoToRpcPrepDataTool: public extends<AthAlgTool, Muon::IMuonRdoToPrepDataTool> {
25 public:
26
27 using base_class::base_class;
28
30
31 StatusCode initialize() override final;
32
33 StatusCode decode(const EventContext& ctx,
34 const std::vector<IdentifierHash>& idVect) const override final;
35
36 StatusCode decode(const EventContext& ctx,
37 const std::vector<uint32_t>& robIds) const override final;
38
40 StatusCode provideEmptyContainer(const EventContext& ctx) const override final;
41
42 private:
43 ServiceHandle<Muon::IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
44
45 SG::ReadHandleKey<xAOD::NRPCRDOContainer> m_rdoKey{this, "RpcRdoContainer", "NRPCRDO"};
46
47 SG::ReadCondHandleKey<Muon::RpcCablingMap> m_cablingKey{this, "CablingKey", "MuonNRPC_CablingMap",
48 "Key of MuonNRPC_CablingMap"};
49
50
51 SG::WriteHandleKey<xAOD::RpcStripContainer> m_writeKey{this, "OutputContainer", "xRpcStrips",
52 "Output container"};
53
54 SG::WriteHandleKey<xAOD::RpcStrip2DContainer> m_writeKeyBI{this, "OutputContainerBI", "xRpcBILStrips",
55 "Output container of the 2D BIL rpc strips"};
56
58
59
60 Gaudi::Property<bool> m_decode2DStrips{this, "decode2DStrips", true};
61
62 Gaudi::Property<double> m_propagationVelocity{this, "propSpeed", 0.5 * Gaudi::Units::c_light,
63 "Propagation speed of the signal inside the strip"}; // in mm/ns
64
65 Gaudi::Property<double> m_stripTimeResolution{this, "timeResolution", 0.6 * Gaudi::Units::nanosecond,
66 "Estimated time resolution of the strip readout"};
67
68 };
69}
70#endif
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.
This is a "hash" representation of an Identifier.
StatusCode provideEmptyContainer(const EventContext &ctx) const override final
Method to create the empty containers.. Only used for seeded decoding.
SG::ReadHandleKey< xAOD::NRPCRDOContainer > m_rdoKey
Gaudi::Property< double > m_propagationVelocity
SG::ReadCondHandleKey< Muon::RpcCablingMap > m_cablingKey
StatusCode initialize() override final
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode decode(const EventContext &ctx, const std::vector< IdentifierHash > &idVect) const override final
SG::WriteHandleKey< xAOD::RpcStripContainer > m_writeKey
SG::WriteHandleKey< xAOD::RpcStrip2DContainer > m_writeKeyBI
Gaudi::Property< double > m_stripTimeResolution
const MuonGMR4::MuonDetectorManager * m_detMgr
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.
This header ties the generic definitions in this package.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.
#define private