#include <TRT_CablingData.h>
Definition at line 18 of file TRT_CablingData.h.
◆ idandhash_t
◆ offsetvec_t
◆ rodmap_t
◆ rodvec_t
◆ TRT_CablingData()
TRT_CablingData::TRT_CablingData |
( |
| ) |
|
◆ ~TRT_CablingData()
TRT_CablingData::~TRT_CablingData |
( |
| ) |
|
|
virtual |
◆ add_allRobs()
void TRT_CablingData::add_allRobs |
( |
uint32_t |
sidROB | ) |
|
◆ add_collID()
void TRT_CablingData::add_collID |
( |
uint32_t |
rob_id, |
|
|
std::vector< IdentifierHash > * |
vectID |
|
) |
| |
◆ find_idandhash() [1/2]
Definition at line 49 of file TRT_CablingData.cxx.
52 assert (bufferPosition >= 0);
53 unsigned int rodhi = ((
unsigned)
rod & 0xffff0000) >> 16;
54 unsigned int rodlo = (
rod & 0x0000ffff);
56 if (rodvec.size() <= rodlo)
57 rodvec.resize (rodlo + 1);
59 if (offsetvec.size() <= (
unsigned)bufferPosition)
60 offsetvec.resize (bufferPosition+1);
61 return offsetvec[bufferPosition];
◆ find_idandhash() [2/2]
Definition at line 65 of file TRT_CablingData.cxx.
68 assert (bufferPosition >= 0);
69 unsigned int rodhi = ((
unsigned)
rod & 0xffff0000) >> 16;
70 unsigned int rodlo = (
rod & 0x0000ffff);
74 if (rodlo < rodvec.size()) {
76 if ((
unsigned)bufferPosition < offsetvec.size())
77 return offsetvec[bufferPosition];
◆ get_allRods()
const std::vector< uint32_t > & TRT_CablingData::get_allRods |
( |
| ) |
const |
◆ get_BufferOffset()
uint32_t TRT_CablingData::get_BufferOffset |
( |
Identifier |
StrawId | ) |
|
◆ get_collID()
◆ get_identifierForAllStraws() [1/2]
Identifier TRT_CablingData::get_identifierForAllStraws |
( |
int |
rod, |
|
|
int |
bufferPosition |
|
) |
| const |
◆ get_identifierForAllStraws() [2/2]
Identifier TRT_CablingData::get_identifierForAllStraws |
( |
int |
shift | ) |
const |
◆ get_identifierHashForAllStraws() [1/2]
IdentifierHash TRT_CablingData::get_identifierHashForAllStraws |
( |
int |
rod, |
|
|
int |
bufferPosition |
|
) |
| const |
◆ get_identifierHashForAllStraws() [2/2]
IdentifierHash TRT_CablingData::get_identifierHashForAllStraws |
( |
int |
shift | ) |
const |
◆ set_identifierForAllStraws() [1/2]
void TRT_CablingData::set_identifierForAllStraws |
( |
Identifier |
strawID | ) |
|
◆ set_identifierForAllStraws() [2/2]
void TRT_CablingData::set_identifierForAllStraws |
( |
int |
rod, |
|
|
int |
bufferPosition, |
|
|
Identifier |
strawID |
|
) |
| |
◆ set_identifierHashForAllStraws() [1/2]
void TRT_CablingData::set_identifierHashForAllStraws |
( |
IdentifierHash |
hashId | ) |
|
◆ set_identifierHashForAllStraws() [2/2]
void TRT_CablingData::set_identifierHashForAllStraws |
( |
int |
rod, |
|
|
int |
bufferPosition, |
|
|
IdentifierHash |
hashId |
|
) |
| |
◆ zero_identifierForAllStraws()
void TRT_CablingData::zero_identifierForAllStraws |
( |
int |
rod, |
|
|
const std::vector< Identifier > & |
tempbuff |
|
) |
| |
◆ zero_identifierHashForAllStraws()
void TRT_CablingData::zero_identifierHashForAllStraws |
( |
int |
rod, |
|
|
const std::vector< IdentifierHash > & |
tempbuff |
|
) |
| |
◆ m_allRobs
std::vector<uint32_t> TRT_CablingData::m_allRobs |
|
private |
◆ m_bofai_sorted
bool TRT_CablingData::m_bofai_sorted |
|
private |
◆ m_BufferOffsetForAllIdentifiers
std::vector<idpair> TRT_CablingData::m_BufferOffsetForAllIdentifiers |
|
private |
◆ m_collID
std::map< uint32_t, std::vector<IdentifierHash> *> TRT_CablingData::m_collID |
|
private |
◆ m_identifierForAllStraws
std::vector<Identifier> TRT_CablingData::m_identifierForAllStraws |
|
private |
◆ m_identifierHashForAllStraws
std::vector<IdentifierHash> TRT_CablingData::m_identifierHashForAllStraws |
|
private |
◆ m_rodoffset_to_id
rodmap_t TRT_CablingData::m_rodoffset_to_id |
|
private |
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.