15 etadivisions_(pset.getUntrackedParameter<unsigned
int>(
"EtaDivisions",10)),
16 phidivisions_(pset.getUntrackedParameter<unsigned
int>(
"PhiDivisions",10)),
17 etamax_(pset.getUntrackedParameter<double>(
"EtaMax",2.4))
46 std::map< uint32_t, std::vector<const FedChannelConnection *> >::const_iterator idet = detcabling->
getDetCabling().begin();
53 if ( !strip_det ) {
continue; }
64 uint32_t layer = tTopo->
layer(idet->first);
67 std::vector<const FedChannelConnection *> conns = idet->second;
68 std::vector<const FedChannelConnection *>::iterator iconn = conns.begin();
69 std::vector<const FedChannelConnection *>::iterator jconn = conns.end();
73 auto &
elem = regioncabling[reg][subdet][layer].back();
74 elem.first=idet->first;
elem.second.resize(conns.size());
75 for ( ; iconn != jconn; ++iconn ) {
76 if ( ((*iconn) !=
nullptr) && ((*iconn)->apvPairNumber() < conns.size()) ) {
77 elem.second[(*iconn)->apvPairNumber()] = **iconn;
85 return std::unique_ptr<SiStripRegionCabling>( RegionConnections );
SiStripRegionConnectivity(const edm::ParameterSet &)
static const uint32_t invalid32_
Geom::Phi< T > phi() const
std::vector< Element > ElementCabling
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
void setRegionCabling(const Cabling &)
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const Surface::PositionType & position() const
The position (origin of the R.F.)
std::vector< ElementCabling > WedgeCabling
const DepRecordT getRecord() const
static const SubDet subdetFromDetId(const uint32_t detid)
std::pair< double, double > Position
std::pair< uint32_t, std::vector< FedChannelConnection > > Element
def elem(elemtype, innerHTML='', html_class='', kwargs)
const std::map< uint32_t, std::vector< const FedChannelConnection * > > & getDetCabling() const
unsigned int layer(const DetId &id) const
const uint32_t region(const Position) const
std::unique_ptr< SiStripRegionCabling > produceRegionCabling(const SiStripRegionCablingRcd &)
const TrackerGeomDet * idToDet(DetId) const override
T const * product() const
std::vector< WedgeCabling > RegionCabling
~SiStripRegionConnectivity() override
std::vector< RegionCabling > Cabling