ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCnv
MuonTGC_CnvTools
src
TGC_Hid2RESrcID.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONTGC_CNVTOOLS_TGC_HID2RESRCID
6
#define MUONTGC_CNVTOOLS_TGC_HID2RESRCID
7
8
#include <inttypes.h>
9
10
#include <vector>
11
12
class
TgcRdo
;
13
class
Identifier
;
14
15
namespace
Muon
{
16
class
TgcCablingMap
;
17
27
28
class
TGC_Hid2RESrcID
{
29
public
:
31
TGC_Hid2RESrcID
() =
default
;
32
34
~TGC_Hid2RESrcID
() =
default
;
35
37
static
uint32_t
getRodID
(
const
TgcRdo
* rdo);
39
static
uint32_t
getRodID
(uint16_t subDetectorId, uint16_t rodId);
41
static
uint32_t
getRodID
(
const
Identifier
& offlineId,
42
const
TgcCablingMap
* cabling);
44
static
uint32_t
getRobID
(uint32_t rod_id);
46
static
uint32_t
getRosID
(uint32_t rob_id);
48
static
uint32_t
getDetID
(uint32_t ros_id);
49
51
const
std::vector<uint32_t>&
allRobIds
()
const
{
return
m_robIDs
; }
52
54
void
fillAllRobIds
();
55
56
private
:
57
std::vector<uint32_t>
m_robIDs
;
58
};
59
60
}
// namespace Muon
61
62
#endif
// MUONTGC_CNVTOOLS_TGC_HID2RESRCID
Muon::TGC_Hid2RESrcID::getRobID
static uint32_t getRobID(uint32_t rod_id)
Make a ROB Source ID from a ROD source ID.
Definition
TGC_Hid2RESrcID.cxx:51
Muon::TGC_Hid2RESrcID::getRodID
static uint32_t getRodID(const TgcRdo *rdo)
Make a ROD Source ID for TGC RDO.
Definition
TGC_Hid2RESrcID.cxx:14
Muon::TGC_Hid2RESrcID::getRosID
static uint32_t getRosID(uint32_t rob_id)
Make a ROS Source ID from a ROB source ID.
Definition
TGC_Hid2RESrcID.cxx:58
Muon::TGC_Hid2RESrcID::getDetID
static uint32_t getDetID(uint32_t ros_id)
Make a SubDetector ID from ROS source ID.
Definition
TGC_Hid2RESrcID.cxx:68
Muon::TGC_Hid2RESrcID::TGC_Hid2RESrcID
TGC_Hid2RESrcID()=default
Constrcutor.
Muon::TGC_Hid2RESrcID::allRobIds
const std::vector< uint32_t > & allRobIds() const
Return all the ROB IDs.
Definition
TGC_Hid2RESrcID.h:51
Muon::TGC_Hid2RESrcID::m_robIDs
std::vector< uint32_t > m_robIDs
Definition
TGC_Hid2RESrcID.h:57
Muon::TGC_Hid2RESrcID::~TGC_Hid2RESrcID
~TGC_Hid2RESrcID()=default
Destrcutor.
Muon::TGC_Hid2RESrcID::fillAllRobIds
void fillAllRobIds()
Fill all the ROB IDs.
Definition
TGC_Hid2RESrcID.cxx:78
Muon::TgcCablingMap
Definition
TgcCablingMap.h:21
TgcRdo
Definition
TgcRdo.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition
TrackSystemController.h:46
Generated on
for ATLAS Offline Software by
1.17.0