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;