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++) {
PixelRecoRange< float > Range
int bladeName() const
blade id
PixelFEDCabling::Links Links
Log< level::Error, false > LogError
std::vector< PixelModuleName * > Names
bool operator()(const Item &, const Item &) const
Links links(const Names &n, const DetUnits &u) const
std::vector< uint32_t > DetUnits
int diskName() const
disk id
HalfCylinder halfCylinder() const
std::vector< PixelROC > ROCs
ROCs served be this link.
int pannelName() const
pannel id
int plaquetteName() const
plaquetteId (in pannel)