ATLAS Offline Software
MuonSpectrometer
MuonCnv
MuonRPC_CnvTools
src
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"
13
#include "
MuonIdHelpers/RpcIdHelper.h
"
14
#include "
RPC_CondCabling/RpcCablingCondData.h
"
15
16
class
RPC_Hid2RESrcID
{
17
public
:
18
RPC_Hid2RESrcID
();
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
:
36
const
RpcIdHelper
*
m_rpcIdHelper
;
37
38
int
m_specialROBNumber
;
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
Generated on Sun Dec 22 2024 21:17:16 for ATLAS Offline Software by
1.8.18