5#ifndef CSCCABLING_CSCCABLINGSVC_H
6#define CSCCABLING_CSCCABLINGSVC_H
25 bool onlineId(
const uint16_t subdetectorID,
const uint16_t offlineID, uint32_t& rodId)
const;
26 bool onlineId(
const uint16_t offlineID, uint16_t& rodId)
const;
29 bool offlineId(
const uint32_t onlineIdentifier, uint16_t& rodId )
const;
32 bool is_rodId (
const uint16_t rodId )
const;
38 uint16_t
collectionId(
const uint16_t subdetectorId,
const uint16_t rodId)
const;
45 void hash2Rob(
const unsigned int&, uint32_t&)
const;
51 void hash2Rod(
const unsigned int&, uint32_t&)
const;
65 Gaudi::Property<bool>
m_run1{
this,
"Run1Cabling",
false};
unsigned int maxId() const
Gaudi::Property< bool > m_run1
void hash2Rob(const unsigned int &, uint32_t &) const
map PRD collection ID into short ROB ID, e.g.
bool onlineId(const uint16_t subdetectorID, const uint16_t offlineID, uint32_t &rodId) const
map offline ROD identifier to online ID
void hash2RobFull(const unsigned int &, uint32_t &) const
map PRD collection ID into full ROB ID (with subdetector ID), e.g.
unsigned int nSide() const
void hash2Rod(const unsigned int &, uint32_t &) const
map PRD collection ID into offline ROD ID
uint16_t collectionId(const uint16_t subdetectorId, const uint16_t rodId) const
calculate the collection Identifier
unsigned int nROD() const
bool is_offlineRodId(const uint16_t rodId) const
check that we have the correct offline ROD id
bool is_rodId(const uint16_t rodId) const
check that we have the correct online ROD id
bool offlineId(const uint32_t onlineIdentifier, uint16_t &rodId) const
reverse map of online ID into offline ROD ID
void hash2CollectionId(const unsigned int &, uint16_t &) const
map PRD collection ID into RDO collection ID
void hash2SubdetectorId(const unsigned int &, uint32_t &) const
map PRD collection ID into subdetector ID, i.e.
virtual StatusCode initialize() override