1 #ifndef CalibTracker_SiStripConnectivity_SiStripRegionCabling_H 2 #define CalibTracker_SiStripConnectivity_SiStripRegionCabling_H 3 #define _USE_MATH_DEFINES 5 #include <boost/cstdint.hpp> 32 typedef std::pair< uint32_t, std::vector<FedChannelConnection> >
Element;
36 typedef std::vector< RegionCabling >
Cabling;
66 inline const Position
position(
const uint32_t)
const;
68 inline const Position
position(
const PositionIndex)
const;
70 inline const PositionIndex
positionIndex(
const uint32_t)
const;
74 const uint32_t
region(
const Position)
const;
76 inline const uint32_t
region(
const PositionIndex)
const;
80 PositionIndex
increment(
const PositionIndex,
int,
int)
const;
87 inline const ElementIndex
elementIndex(
const PositionIndex,
const SubDet,
const uint32_t layer)
const;
89 inline const ElementIndex
elementIndex(
const Position,
const SubDet,
const uint32_t layer)
const;
91 inline static const uint32_t
layer(
const ElementIndex);
95 inline static const uint32_t
region(
const ElementIndex);
102 void print( std::stringstream& )
const;
static const ElementIndex elementIndex(const uint32_t region, const SubDet, const uint32_t layer)
void print(std::stringstream &) const
const std::pair< double, double > regionDimensions() const
const PositionIndex positionIndex(const uint32_t) const
std::vector< Element > ElementCabling
U second(std::pair< T, U > const &p)
void setRegionCabling(const Cabling &)
const uint32_t phidivisions() const
std::vector< ElementCabling > WedgeCabling
static const SubDet subdet(const ElementIndex)
static const SubDet subdetFromDetId(const uint32_t detid)
std::pair< double, double > Position
const Cabling & getRegionCabling() const
std::pair< uint32_t, std::vector< FedChannelConnection > > Element
const Position position(const uint32_t) const
const uint32_t region(const Position) const
const uint32_t etadivisions() const
PositionIndex increment(const PositionIndex, int, int) const
std::vector< WedgeCabling > RegionCabling
std::pair< uint32_t, uint32_t > PositionIndex
static const uint32_t layer(const ElementIndex)
std::vector< RegionCabling > Cabling