Go to the documentation of this file.
38 typedef vector<const DccSpec*> DCCLIST;
40 for (DCCLIST::const_iterator idcc =
dccList.begin(), idccEnd =
dccList.end(); idcc < idccEnd; ++idcc) {
41 const DccSpec& dccSpec = **idcc;
42 const std::vector<TriggerBoardSpec>& triggerBoards = dccSpec.
triggerBoards();
43 for (std::vector<TriggerBoardSpec>::const_iterator it = triggerBoards.begin(); it != triggerBoards.end(); it++) {
45 typedef std::vector<const LinkConnSpec*> LINKS;
47 for (LINKS::const_iterator ic = linkConns.begin(); ic != linkConns.end(); ic++) {
49 const std::vector<LinkBoardSpec>& boards =
link.linkBoards();
50 for (std::vector<LinkBoardSpec>::const_iterator
ib = boards.begin();
ib != boards.end();
ib++) {
58 LBMap::iterator inMap =
theLBMap.find(eleIndex);
60 cout <<
"The element in map already exists!" << endl;
76 LBMap::const_iterator inMap =
theLBMap.find(ele);
77 return (inMap !=
theLBMap.end()) ? inMap->second :
nullptr;
const LinkBoardSpec * location(const LinkBoardElectronicIndex &ele) const override
conversion between electronic and detector indexing
std::vector< const LinkConnSpec * > enabledLinkConns() const
not masked links belonging to this TB
RPCReadOutMapping::StripInDetUnit detUnitFrame(const LinkBoardSpec &location, const LinkBoardPackedStrip &lbstrip) const override
convert strip location as in raw data (LB and LBchannel) to detUnit frame
void init(const RPCReadOutMapping *arm)
takes ownership of map
const std::vector< TriggerBoardSpec > & triggerBoards() const
RPCReadOutMappingWithFastSearch()
bool operator()(const LinkBoardElectronicIndex &lb1, const LinkBoardElectronicIndex &lb2) const
virtual StripInDetUnit detUnitFrame(const LinkBoardSpec &location, const LinkBoardPackedStrip &packedStrip) const
convert strip location as in raw data (LB and LBchannel) to detUnit frame
int linkBoardNumInLink() const
this LB number in link
std::vector< const DccSpec * > dccList() const
all FEDs in map
int dccInputChannelNum() const
input channel number to DCC
std::pair< uint32_t, int > StripInDetUnit
first member is DetUnit ID, second strip in DetUnit frame
const RPCReadOutMapping * theMapping