ATLAS Offline Software
Loading...
Searching...
No Matches
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
17public:
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
35private:
37
39};
40
41#endif
uint32_t getRodID(const Identifier &offlineId, const RpcCablingCondData *readCdo) const
static uint32_t getDetID(const uint32_t ros_id)
mapping SrcID from ROS to Det
static uint32_t getRosID(const uint32_t rob_id)
mapping SrcID from ROB to ROS
static uint32_t getRobID(const uint32_t rod_id)
mapping SrcID from ROD to ROB (called in ByteStreamCnvSvcBase/FullEventAssembler.icc)
const RpcIdHelper * m_rpcIdHelper
void set(const RpcIdHelper *rpdId)