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;
static constexpr auto TEC
std::pair< uint32_t, uint32_t > PositionIndex
const Position position(const uint32_t) const
const uint32_t region(const Position) const
static const SubDet subdetFromDetId(const uint32_t detid)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static constexpr auto TOB
static constexpr auto TIB
std::pair< double, double > Position
const PositionIndex positionIndex(const uint32_t) const
static int position[264][3]
PositionIndex increment(const PositionIndex, int, int) const
void print(std::stringstream &) const
static constexpr auto TID
static constexpr int ALLSUBDETS