42 typedef Names::const_iterator CIN;
47 vector<Item> linkItems;
48 typedef vector<Item>::const_iterator CIU;
50 for (
unsigned int idx = 0;
idx <
n.size();
idx++) {
80 edm::LogError(
"PixelEndcapLinkMaker") <<
" *** UNEXPECTED roc: " <<
e->name();
83 linkItems.push_back(
item);
89 sort(linkItems.begin(), linkItems.end(),
Order());
95 for (CIU it = linkItems.begin(); it != linkItems.end(); it++) {
96 str << (*it).name->name() <<
" r=" << (*it).rocIds << endl;
101 int lastPannelId = -1;
106 for (CIU it = linkItems.begin(); it != linkItems.end(); it++) {
108 int pannelId = it->name->pannelName();
110 if (pannelId != lastPannelId) {
111 lastPannelId = pannelId;
118 for (
int id = (*it).rocIds.min();
id <= (*it).rocIds.max();
id++) {