ATLAS Offline Software
RPC_Hid2RESrcID.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONRPC_CNVTOOLS_RPC_HID2RESRCID_H
6 #define MUONRPC_CNVTOOLS_RPC_HID2RESRCID_H
7 
8 #include <stdint.h>
9 
10 #include <map>
11 
12 #include "GaudiKernel/StatusCode.h"
15 
17 public:
19 
20  RPC_Hid2RESrcID(int specialROBNumber);
21 
22  void set(const RpcIdHelper* rpdId);
23 
24  uint32_t getRodID(const Identifier& offlineId, const RpcCablingCondData* readCdo) const;
25  static uint32_t getRodID(const int& side, const int& slogic, const int& padId, const RpcCablingCondData* readCdo) ;
26  static uint32_t getRodID(const int& sector) ;
27  static uint32_t getRodID(const uint16_t& side, const uint16_t& rodIndex) ;
28 
29  static uint32_t getRobID(const uint32_t rod_id) ;
30 
31  static uint32_t getRosID(const uint32_t rob_id) ;
32 
33  static uint32_t getDetID(const uint32_t ros_id) ;
34 
35 private:
37 
39 };
40 
41 #endif
RPC_Hid2RESrcID::m_specialROBNumber
int m_specialROBNumber
Definition: RPC_Hid2RESrcID.h:38
RPC_Hid2RESrcID::getRobID
static uint32_t getRobID(const uint32_t rod_id)
mapping SrcID from ROD to ROB (called in ByteStreamCnvSvcBase/FullEventAssembler.icc)
Definition: RPC_Hid2RESrcID.cxx:102
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
RpcIdHelper
Definition: RpcIdHelper.h:51
RpcIdHelper.h
RpcCablingCondData
Definition: RpcCablingCondData.h:21
TRT::Hit::side
@ side
Definition: HitInfo.h:83
RPC_Hid2RESrcID::getRosID
static uint32_t getRosID(const uint32_t rob_id)
mapping SrcID from ROB to ROS
Definition: RPC_Hid2RESrcID.cxx:106
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
RPC_Hid2RESrcID::RPC_Hid2RESrcID
RPC_Hid2RESrcID()
Definition: RPC_Hid2RESrcID.cxx:18
RPC_Hid2RESrcID::set
void set(const RpcIdHelper *rpdId)
Definition: RPC_Hid2RESrcID.cxx:22
RPC_Hid2RESrcID::getDetID
static uint32_t getDetID(const uint32_t ros_id)
mapping SrcID from ROS to Det
Definition: RPC_Hid2RESrcID.cxx:115
RPC_Hid2RESrcID::m_rpcIdHelper
const RpcIdHelper * m_rpcIdHelper
Definition: RPC_Hid2RESrcID.h:36
RPC_Hid2RESrcID
Definition: RPC_Hid2RESrcID.h:16
RpcCablingCondData.h
RPC_Hid2RESrcID::getRodID
uint32_t getRodID(const Identifier &offlineId, const RpcCablingCondData *readCdo) const
Definition: RPC_Hid2RESrcID.cxx:25
Identifier
Definition: IdentifierFieldParser.cxx:14