1 #ifndef CalibTracker_SiStripConnectivity_SiStripRegionCabling_H 2 #define CalibTracker_SiStripConnectivity_SiStripRegionCabling_H 3 #define _USE_MATH_DEFINES 30 typedef std::pair<uint32_t, std::vector<FedChannelConnection>>
Element;
34 typedef std::vector<RegionCabling>
Cabling;
64 inline const Position
position(
const uint32_t)
const;
66 inline const Position
position(
const PositionIndex)
const;
68 inline const PositionIndex
positionIndex(
const uint32_t)
const;
72 const uint32_t
region(
const Position)
const;
74 inline const uint32_t
region(
const PositionIndex)
const;
78 PositionIndex
increment(
const PositionIndex,
int,
int)
const;
85 inline const ElementIndex
elementIndex(
const PositionIndex,
const SubDet,
const uint32_t layer)
const;
87 inline const ElementIndex
elementIndex(
const Position,
const SubDet,
const uint32_t layer)
const;
89 inline static const uint32_t
layer(
const ElementIndex);
93 inline static const uint32_t
region(
const ElementIndex);
100 void print(std::stringstream &)
const;
148 const uint32_t
layer) {
154 const uint32_t
layer)
const {
160 const uint32_t
layer)
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
std::pair< uint32_t, uint32_t > PositionIndex
std::pair< uint32_t, std::vector< FedChannelConnection > > Element
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
static const SubDet subdet(const ElementIndex)
static const SubDet subdetFromDetId(const uint32_t detid)
std::vector< RegionCabling > Cabling
const Cabling & getRegionCabling() const
const Position position(const uint32_t) const
std::pair< double, double > Position
std::vector< WedgeCabling > RegionCabling
const uint32_t region(const Position) const
const uint32_t etadivisions() const
std::vector< ElementCabling > WedgeCabling
PositionIndex increment(const PositionIndex, int, int) const
static const uint32_t layer(const ElementIndex)