#include <PixelCablingCondData.h>
|
| PixelCablingCondData () |
|
virtual | ~PixelCablingCondData () |
|
| PixelCablingCondData (const PixelCablingCondData &other)=delete |
|
PixelCablingCondData & | operator= (const PixelCablingCondData &other)=delete |
|
void | add_entry_onoff (const uint64_t, const Identifier) |
|
void | add_entry_offon (const Identifier, const uint64_t) |
|
void | add_entry_offrob (const Identifier, const uint32_t) |
|
void | add_entry_rodrob (int rodid, int robid) |
|
void | add_entry_robrod (int robid, int rodid) |
|
void | add_entry_offlineList (const uint32_t, const Identifier) |
|
void | add_entry_DCSoffline (const std::string &, const Identifier) |
|
Identifier | find_entry_onoff (const uint64_t) const |
|
uint64_t | find_entry_offon (const Identifier) const |
|
uint32_t | find_entry_offrob (Identifier offlineId) const |
|
int | find_entry_rodrob (const int rodid) const |
|
int | find_entry_robrod (const int robid) const |
|
std::deque< Identifier > | find_entry_offlineList (uint32_t robid) const |
|
Identifier | find_entry_DCSoffline (const std::string &DCSname) const |
|
std::string | find_entry_offlineDCS (const Identifier offlineId) const |
|
uint64_t | getOnlineIdFromRobId (uint32_t robid, uint32_t link) const |
|
const std::vector< uint32_t > & | get_allRods () const |
|
const std::vector< uint32_t > & | get_allRobs () const |
|
unsigned int | get_size_onoff () |
|
void | set_readout_map (std::map< uint32_t, bool > rodReadoutMap) |
|
const std::unordered_map< uint64_t, Identifier > & | get_idMap_onoff () const |
|
const std::unordered_map< Identifier, uint64_t, idHasher > & | get_idMap_offon () const |
|
const std::unordered_map< Identifier, uint32_t, idHasher > & | get_idMap_offrob () const |
|
const std::unordered_map< int, int > & | get_idMap_rodrob () const |
|
const std::unordered_map< int, int > & | get_idMap_robrod () const |
|
const std::unordered_map< std::string, Identifier > & | get_idMapDCSoff () const |
|
void | clear () |
|
|
std::unordered_map< uint64_t, Identifier > | m_idMap_onoff |
| offline identifier -> online identifier map More...
|
|
std::unordered_map< Identifier, uint64_t, idHasher > | m_idMap_offon |
| online identifier -> offline identifier map More...
|
|
std::unordered_map< Identifier, uint32_t, idHasher > | m_idMap_offrob |
| offline identifier -> ROBId map More...
|
|
std::unordered_map< int, int > | m_idMap_rodrob |
| RODId -> ROBId map. More...
|
|
std::unordered_map< int, int > | m_idMap_robrod |
| ROBId -> RODId map (reverse of m_idMap_rodrob) More...
|
|
std::map< uint32_t, std::deque< Identifier > > | m_offlineListVect |
| ROBId -> offline identifier list. More...
|
|
std::unordered_map< std::string, Identifier > | m_idMapDCSoff |
| DCS name -> offline identifier. More...
|
|
std::map< uint32_t, bool > | m_rodReadoutMap |
| Readout speed for each ROD. false=40MBit, true=80MBit. More...
|
|
std::vector< uint32_t > | m_allRods |
|
std::vector< uint32_t > | m_allRobs |
|
Definition at line 26 of file PixelCablingCondData.h.
◆ PixelCablingCondData() [1/2]
PixelCablingCondData::PixelCablingCondData |
( |
| ) |
|
◆ ~PixelCablingCondData()
PixelCablingCondData::~PixelCablingCondData |
( |
| ) |
|
|
virtualdefault |
◆ PixelCablingCondData() [2/2]
◆ add_entry_DCSoffline()
void PixelCablingCondData::add_entry_DCSoffline |
( |
const std::string & |
DCSname, |
|
|
const Identifier |
offlineId |
|
) |
| |
◆ add_entry_offlineList()
void PixelCablingCondData::add_entry_offlineList |
( |
const uint32_t |
robid, |
|
|
const Identifier |
offlineId |
|
) |
| |
◆ add_entry_offon()
◆ add_entry_offrob()
◆ add_entry_onoff()
◆ add_entry_robrod()
void PixelCablingCondData::add_entry_robrod |
( |
int |
robid, |
|
|
int |
rodid |
|
) |
| |
◆ add_entry_rodrob()
void PixelCablingCondData::add_entry_rodrob |
( |
int |
rodid, |
|
|
int |
robid |
|
) |
| |
◆ clear()
void PixelCablingCondData::clear |
( |
| ) |
|
◆ find_entry_DCSoffline()
Identifier PixelCablingCondData::find_entry_DCSoffline |
( |
const std::string & |
DCSname | ) |
const |
◆ find_entry_offlineDCS()
std::string PixelCablingCondData::find_entry_offlineDCS |
( |
const Identifier |
offlineId | ) |
const |
◆ find_entry_offlineList()
std::deque< Identifier > PixelCablingCondData::find_entry_offlineList |
( |
uint32_t |
robid | ) |
const |
◆ find_entry_offon()
uint64_t PixelCablingCondData::find_entry_offon |
( |
const Identifier |
offlineId | ) |
const |
◆ find_entry_offrob()
uint32_t PixelCablingCondData::find_entry_offrob |
( |
Identifier |
offlineId | ) |
const |
◆ find_entry_onoff()
Identifier PixelCablingCondData::find_entry_onoff |
( |
const uint64_t |
onlineId | ) |
const |
Definition at line 68 of file PixelCablingCondData.cxx.
72 std::unordered_map<uint64_t, Identifier>::const_iterator iter(
m_idMap_onoff.find(searchId));
80 uint32_t rodid = (onlineId & 0xFFFFFF);
82 if ((rodid & 0x130000) >> 16 == 0x13) {
89 searchId = onlineId & (0xF0FFFFFF);
◆ find_entry_robrod()
int PixelCablingCondData::find_entry_robrod |
( |
const int |
robid | ) |
const |
◆ find_entry_rodrob()
int PixelCablingCondData::find_entry_rodrob |
( |
const int |
rodid | ) |
const |
◆ get_allRobs()
const std::vector< uint32_t > & PixelCablingCondData::get_allRobs |
( |
| ) |
const |
◆ get_allRods()
const std::vector< uint32_t > & PixelCablingCondData::get_allRods |
( |
| ) |
const |
◆ get_idMap_offon()
◆ get_idMap_offrob()
◆ get_idMap_onoff()
const std::unordered_map< uint64_t, Identifier > & PixelCablingCondData::get_idMap_onoff |
( |
| ) |
const |
◆ get_idMap_robrod()
const std::unordered_map< int, int > & PixelCablingCondData::get_idMap_robrod |
( |
| ) |
const |
◆ get_idMap_rodrob()
const std::unordered_map< int, int > & PixelCablingCondData::get_idMap_rodrob |
( |
| ) |
const |
◆ get_idMapDCSoff()
const std::unordered_map< std::string, Identifier > & PixelCablingCondData::get_idMapDCSoff |
( |
| ) |
const |
◆ get_size_onoff()
unsigned int PixelCablingCondData::get_size_onoff |
( |
| ) |
|
|
inline |
◆ getOnlineIdFromRobId()
uint64_t PixelCablingCondData::getOnlineIdFromRobId |
( |
uint32_t |
robid, |
|
|
uint32_t |
link |
|
) |
| const |
Definition at line 181 of file PixelCablingCondData.cxx.
182 uint32_t subDetId = (robid & 0xFFFFFF) >> 16;
185 if (subDetId < 0x14)
return (robid & 0xFFFFFF) | (link << 24);
188 else if (subDetId == 0x14 || subDetId == 0x15) {
192 std::unordered_map<uint64_t, Identifier>::const_iterator itr =
m_idMap_onoff.begin();
194 if ((itr->first & 0xFFFFFF) == robid) {
195 linknum_temp = (itr->first >> 24);
197 if ((linknum_temp & 0xF) == link || ((linknum_temp >> 8) & 0xF) == link)
return itr->first;
◆ operator=()
◆ set_readout_map()
void PixelCablingCondData::set_readout_map |
( |
std::map< uint32_t, bool > |
rodReadoutMap | ) |
|
◆ m_allRobs
std::vector<uint32_t> PixelCablingCondData::m_allRobs |
|
private |
◆ m_allRods
std::vector<uint32_t> PixelCablingCondData::m_allRods |
|
private |
◆ m_idMap_offon
◆ m_idMap_offrob
◆ m_idMap_onoff
std::unordered_map<uint64_t, Identifier> PixelCablingCondData::m_idMap_onoff |
|
private |
◆ m_idMap_robrod
std::unordered_map<int,int> PixelCablingCondData::m_idMap_robrod |
|
private |
◆ m_idMap_rodrob
std::unordered_map<int,int> PixelCablingCondData::m_idMap_rodrob |
|
private |
◆ m_idMapDCSoff
std::unordered_map<std::string, Identifier> PixelCablingCondData::m_idMapDCSoff |
|
private |
◆ m_offlineListVect
std::map<uint32_t, std::deque<Identifier> > PixelCablingCondData::m_offlineListVect |
|
private |
◆ m_rodReadoutMap
std::map<uint32_t,bool> PixelCablingCondData::m_rodReadoutMap |
|
private |
The documentation for this class was generated from the following files: