ATLAS Offline Software
Loading...
Searching...
No Matches
RpcRdoToRpcDigit.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONBYTESTREAMCNVTEST_RPCRDOTORPCDIGIT_H
6#define MUONBYTESTREAMCNVTEST_RPCRDOTORPCDIGIT_H
7
18
19namespace Muon {
21 public:
22 using AthReentrantAlgorithm::AthReentrantAlgorithm;
23 virtual ~RpcRdoToRpcDigit() = default;
24
25 virtual StatusCode initialize() override final;
26 virtual StatusCode execute(const EventContext &ctx) const override final;
27
28 private:
31 StatusCode decodeLegacyRdo(const EventContext &ctx, TempDigitContainer &container) const;
32
33 StatusCode decodeNRpc(const EventContext &ctx, TempDigitContainer &container) const;
34 ToolHandle<IRPC_RDO_Decoder> m_rpcRdoDecoderTool{this, "rpcRdoDecoderTool", "RpcRDO_Decoder", ""};
35 ServiceHandle<IMuonIdHelperSvc> m_idHelperSvc{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};
36 SG::ReadHandleKey<RpcPadContainer> m_rpcRdoKey{this, "RpcRdoContainer", "RPCPAD", "Rpc RDO Input"};
37 SG::WriteHandleKey<RpcDigitContainer> m_rpcDigitKey{this, "RpcDigitContainer", "RPC_DIGITS", "Rpc Digit Output"};
38 SG::ReadCondHandleKey<RpcCablingCondData> m_rpcReadKey{this, "RpcCablingKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
39
40 Gaudi::Property<bool> m_decodeLegacyRDO{this, "DecodeLegacyRDO", true};
41 Gaudi::Property<bool> m_decodeNrpcRDO{this, "DecodeNrpcRDO", false};
42 Gaudi::Property<bool> m_patch_for_rpc_time{this, "PatchForRpcTime", false, "flag for patching the RPC time"};
43
44 SG::ReadHandleKey<xAOD::NRPCRDOContainer> m_nRpcRdoKey{this, "NRpcRdoContainer", "NRPCRDO", "BIS78 RPC Rdo input with ToTs"};
45 SG::ReadCondHandleKey<RpcCablingMap> m_nRpcCablingKey{this, "NRpcCablingKey", "MuonNRPC_CablingMap", "Key of input MDT cabling map"};
46
47 SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_DetectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
48 "Key of input MuonDetectorManager condition data"};
49 };
50}
51
52#endif
An algorithm that can be simultaneously executed in multiple threads.
This class provides conversion from RDO data to RPC RDO.
Gaudi::Property< bool > m_decodeNrpcRDO
Gaudi::Property< bool > m_decodeLegacyRDO
virtual StatusCode execute(const EventContext &ctx) const override final
SG::ReadHandleKey< xAOD::NRPCRDOContainer > m_nRpcRdoKey
ToolHandle< IRPC_RDO_Decoder > m_rpcRdoDecoderTool
SG::ReadCondHandleKey< RpcCablingCondData > m_rpcReadKey
Gaudi::Property< bool > m_patch_for_rpc_time
StatusCode decodeNRpc(const EventContext &ctx, TempDigitContainer &container) const
SG::ReadCondHandleKey< RpcCablingMap > m_nRpcCablingKey
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
StatusCode decodeLegacyRdo(const EventContext &ctx, TempDigitContainer &container) const
: Decode the legacy RpcRdo format
virtual ~RpcRdoToRpcDigit()=default
ServiceHandle< IMuonIdHelperSvc > m_idHelperSvc
virtual StatusCode initialize() override final
SG::WriteHandleKey< RpcDigitContainer > m_rpcDigitKey
SG::ReadHandleKey< RpcPadContainer > m_rpcRdoKey
std::vector< std::unique_ptr< RpcDigitCollection > > TempDigitContainer
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.
STL class.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
STL namespace.
#define private