ATLAS Offline Software
Loading...
Searching...
No Matches
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 <vector>
9#include <inttypes.h>
10
11class TgcRdo;
12class Identifier;
14
15namespace Muon
16{
17
27
29 {
30 public:
31
34
37
39 static uint32_t getRodID(const TgcRdo *rdo) ;
41 static uint32_t getRodID(uint16_t subDetectorId, uint16_t rodId) ;
43 static uint32_t getRodID(const Identifier & offlineId,
44 const MuonTGC_CablingSvc* cabling) ;
46 static uint32_t getRobID (uint32_t rod_id) ;
48 static uint32_t getRosID (uint32_t rob_id) ;
50 static uint32_t getDetID (uint32_t ros_id) ;
51
53 const std::vector<uint32_t>& allRobIds() const { return m_robIDs; }
54
56 void fillAllRobIds();
57
58 private:
59 std::vector<uint32_t> m_robIDs;
60 };
61
62} // end of namespace
63
64#endif // MUONTGC_CNVTOOLS_TGC_HID2RESRCID
static uint32_t getRobID(uint32_t rod_id)
Make a ROB Source ID from a ROD source ID.
static uint32_t getRodID(const TgcRdo *rdo)
Make a ROD Source ID for TGC RDO.
static uint32_t getRosID(uint32_t rob_id)
Make a ROS Source ID from a ROB source ID.
~TGC_Hid2RESrcID()
Destrcutor.
static uint32_t getDetID(uint32_t ros_id)
Make a SubDetector ID from ROS source ID.
const std::vector< uint32_t > & allRobIds() const
Return all the ROB IDs.
std::vector< uint32_t > m_robIDs
void fillAllRobIds()
Fill all the ROB IDs.
TGC_Hid2RESrcID()
Constrcutor.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.