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++) {
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 RPCReadOutMapping * theMapping
const std::vector< LinkBoardSpec > & linkBoards() const
int dccInputChannelNum() const
input channel number to DCC
const LinkBoardSpec * location(const LinkBoardElectronicIndex &ele) const override
conversion between electronic and detector indexing
void init(const RPCReadOutMapping *arm)
takes ownership of map
location
10.6 INPUT and workflows
int triggerBoardInputNumber() const
this link input number in TriggerBoard
int linkBoardNumInLink() const
this LB number in link
std::vector< const DccSpec * > dccList() const
all FEDs in map
virtual StripInDetUnit detUnitFrame(const LinkBoardSpec &location, const LinkBoardPackedStrip &packedStrip) const
convert strip location as in raw data (LB and LBchannel) to detUnit frame
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
bool operator()(const LinkBoardElectronicIndex &lb1, const LinkBoardElectronicIndex &lb2) const
RPCReadOutMappingWithFastSearch()
const std::vector< TriggerBoardSpec > & triggerBoards() const
std::pair< uint32_t, int > StripInDetUnit
first member is DetUnit ID, second strip in DetUnit frame