8 const uint32_t phidivisions,
12 etadivisions_(static_cast<
int>(etadivisions)),
13 phidivisions_(static_cast<
int>(phidivisions)),
33 int eta = static_cast<int>(
index.first) + deta;
39 int phi = static_cast<int>(
index.second) + dphi;
67 ss <<
"[SiStripRegionCabling::" << __func__ <<
"] Printing REGION cabling:" << std::endl;
68 ss <<
"Printing cabling for " <<
regioncabling_.size() <<
" regions" << std::endl;
71 for (;
id != jd; ++
id) {
72 ss <<
"Printing cabling for " <<
id->size() <<
" regions for partition "
74 RegionCabling::const_iterator ir =
id->begin();
75 RegionCabling::const_iterator jr =
id->end();
76 for (; ir != jr; ++ir) {
77 ss <<
"Printing cabling for " << ir->size() <<
" wedges for region " << static_cast<int32_t>(ir -
id->begin())
79 WedgeCabling::const_iterator iw = ir->begin();
80 WedgeCabling::const_iterator jw = ir->end();
81 for (; iw != jw; ++iw) {
82 ss <<
"Printing cabling for " << iw->size() <<
" elements for wedge " << static_cast<int32_t>(iw - ir->begin())
84 ElementCabling::const_iterator ie = iw->begin();
85 ElementCabling::const_iterator je = iw->end();
86 for (; ie != je; ++ie) {
87 ss <<
"Printing cabling for " << ie->second.size() <<
" connections for element (DetId) " << ie->first
89 std::vector<FedChannelConnection>::const_iterator ic = ie->second.begin();
90 std::vector<FedChannelConnection>::const_iterator jc = ie->second.end();
91 for (; ic != jc; ++ic) {
92 if (ic->isConnected()) {
103 ss <<
"Number of connected: " <<
valid << std::endl <<
"Number of connections: " <<
total << std::endl;