ATLAS Offline Software
Loading...
Searching...
No Matches
MDT_Hid2RESrcID.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef __MDT_HID2RESRCID__
6#define __MDT_HID2RESRCID__
7
8#include <stdint.h>
9
10#include <map>
11
13#include "GaudiKernel/MsgStream.h"
14#include "GaudiKernel/StatusCode.h"
15#include "Identifier/Identifier.h"
20
21// this class provides conversion between Rpc pad Id and RESrcID
22// RESrcID is used for identifying each ROD.
23// Ketevi A. Assamagan
24// Jan-16-2003, BNL
25// -------------------------
26// Adapted for MDT
27// Michela Biglietti
28// March 2003, Naples
29
31public:
35
38 StatusCode set(const MdtIdHelper* mdtId);
39
41 void setSpecialROBNumber(int specialROBNumber) { m_specialROBNumber = specialROBNumber; }
44 uint32_t getRodID(const Identifier& offlineId) const;
45
48 static uint32_t getRobID(uint32_t rod_id) ;
49
52 static uint32_t getRosID(uint32_t rob_id) ;
53
56 static uint32_t getDetID(uint32_t ros_id) ;
57
58private:
60
62
64};
65
66#endif
static uint32_t getRosID(uint32_t rob_id)
Make a ROS Source ID from a ROB source ID.
void setSpecialROBNumber(int specialROBNumber)
TMP method for sector 13 data.
StatusCode set(const MdtIdHelper *mdtId)
intialize the cabling service
MDT_Hid2RESrcID()
constrcutor
const MdtIdHelper * m_mdtIdHelper
static uint32_t getDetID(uint32_t ros_id)
Make a SubDetector ID from ROS source ID.
uint32_t getRodID(const Identifier &offlineId) const
static uint32_t getRobID(uint32_t rod_id)
Make a ROB Source ID from a ROD source ID.
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_readKey