#include <SiStripRegionCabling.h>
Public Types | |
typedef std::vector< RegionCabling > | Cabling |
typedef std::pair< uint32_t, std::vector< FedChannelConnection > > | Element |
typedef std::vector< Element > | ElementCabling |
typedef uint32_t | ElementIndex |
typedef int | Layer |
typedef std::pair< double, double > | Position |
typedef std::pair< uint32_t, uint32_t > | PositionIndex |
typedef std::vector< WedgeCabling > | RegionCabling |
typedef int | SubDet |
typedef std::vector< ElementCabling > | WedgeCabling |
Public Member Functions | |
const ElementIndex | elementIndex (const PositionIndex, const SubDet, const uint32_t layer) const |
const ElementIndex | elementIndex (const Position, const SubDet, const uint32_t layer) const |
const uint32_t | etadivisions () const |
const Cabling & | getRegionCabling () const |
PositionIndex | increment (const PositionIndex, int, int) const |
const uint32_t | phidivisions () const |
const Position | position (const uint32_t) const |
const Position | position (const PositionIndex) const |
const PositionIndex | positionIndex (const uint32_t) const |
const PositionIndex | positionIndex (const Position) const |
void | print (std::stringstream &) const |
const uint32_t | region (const Position) const |
const uint32_t | region (const PositionIndex) const |
const std::pair< double, double > | regionDimensions () const |
void | setRegionCabling (const Cabling &) |
SiStripRegionCabling (const uint32_t, const uint32_t, const double) | |
~SiStripRegionCabling () | |
Static Public Member Functions | |
static const ElementIndex | elementIndex (const uint32_t region, const SubDet, const uint32_t layer) |
static const uint32_t | layer (const ElementIndex) |
static const uint32_t | region (const ElementIndex) |
static const SubDet | subdet (const ElementIndex) |
static const SubDet | subdetFromDetId (const uint32_t detid) |
Static Public Attributes | |
static constexpr int | ALLLAYERS = 10 |
static constexpr int | ALLSUBDETS = 4 |
static constexpr int | TEC = 3 |
static constexpr int | TECLAYERS = 9 |
static constexpr int | TIB = 0 |
static constexpr int | TIBLAYERS = 4 |
static constexpr int | TID = 2 |
static constexpr int | TIDLAYERS = 3 |
static constexpr int | TOB = 1 |
static constexpr int | TOBLAYERS = 6 |
Private Member Functions | |
SiStripRegionCabling () | |
Private Attributes | |
int | etadivisions_ |
double | etamax_ |
int | phidivisions_ |
Cabling | regioncabling_ |
Author: pwing Package: CalibFormats/SiStripObjects Class: SiStripRegionCabling Description: Gives a regional view of the silicon strip tracker cabling. Cabling is divided into (eta,phi) "regions". A "region" within a given sub-detector is called a "wedge". A layer within a given wedge is called an "element".
Definition at line 23 of file SiStripRegionCabling.h.
typedef std::vector<RegionCabling> SiStripRegionCabling::Cabling |
Definition at line 36 of file SiStripRegionCabling.h.
typedef std::pair<uint32_t, std::vector<FedChannelConnection> > SiStripRegionCabling::Element |
Cabling typedefs
Definition at line 32 of file SiStripRegionCabling.h.
typedef std::vector<Element> SiStripRegionCabling::ElementCabling |
Definition at line 33 of file SiStripRegionCabling.h.
typedef uint32_t SiStripRegionCabling::ElementIndex |
Encoded information typedefs
Definition at line 45 of file SiStripRegionCabling.h.
typedef int SiStripRegionCabling::Layer |
Definition at line 28 of file SiStripRegionCabling.h.
typedef std::pair<double, double> SiStripRegionCabling::Position |
Position typedefs
Definition at line 40 of file SiStripRegionCabling.h.
typedef std::pair<uint32_t, uint32_t> SiStripRegionCabling::PositionIndex |
Definition at line 41 of file SiStripRegionCabling.h.
typedef std::vector<WedgeCabling> SiStripRegionCabling::RegionCabling |
Definition at line 35 of file SiStripRegionCabling.h.
typedef int SiStripRegionCabling::SubDet |
enums
Definition at line 26 of file SiStripRegionCabling.h.
typedef std::vector<ElementCabling> SiStripRegionCabling::WedgeCabling |
Definition at line 34 of file SiStripRegionCabling.h.
SiStripRegionCabling::SiStripRegionCabling | ( | const uint32_t | etadivisions, |
const uint32_t | phidivisions, | ||
const double | etamax | ||
) |
Definition at line 7 of file SiStripRegionCabling.cc.
|
inline |
Definition at line 49 of file SiStripRegionCabling.h.
|
inlineprivate |
Definition at line 105 of file SiStripRegionCabling.h.
|
inlinestatic |
Methods for interchanging between region-subdet-layer and the corresponding element index.
Definition at line 148 of file SiStripRegionCabling.h.
References ALLLAYERS, ALLSUBDETS, layer(), region(), and subdet().
Referenced by elementIndex().
|
inline |
Definition at line 154 of file SiStripRegionCabling.h.
References elementIndex(), layer(), region(), and subdet().
|
inline |
Definition at line 160 of file SiStripRegionCabling.h.
References elementIndex(), layer(), position(), region(), and subdet().
|
inline |
|
inline |
Definition at line 120 of file SiStripRegionCabling.h.
References regioncabling_.
Referenced by SiStripRegFEDSelector::produce().
SiStripRegionCabling::PositionIndex SiStripRegionCabling::increment | ( | const PositionIndex | index, |
int | deta, | ||
int | dphi | ||
) | const |
Method for incrementing position index.
Definition at line 30 of file SiStripRegionCabling.cc.
References PVValHelper::eta, etadivisions_, phi, and phidivisions_.
|
inlinestatic |
Definition at line 166 of file SiStripRegionCabling.h.
References ALLLAYERS.
Referenced by elementIndex(), geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
|
inline |
Definition at line 130 of file SiStripRegionCabling.h.
References positionIndex(), and region().
Referenced by elementIndex(), positionIndex(), SiStripRegFEDSelector::produce(), and region().
|
inline |
Definition at line 135 of file SiStripRegionCabling.h.
References etamax_, dqmdumpme::first, M_PI, regionDimensions(), and edm::second().
|
inline |
Definition at line 140 of file SiStripRegionCabling.h.
References phidivisions_, and region().
Referenced by position(), and region().
const SiStripRegionCabling::PositionIndex SiStripRegionCabling::positionIndex | ( | const Position | position | ) | const |
Definition at line 19 of file SiStripRegionCabling.cc.
References PVValHelper::eta, etadivisions_, etamax_, M_PI, phi, phidivisions_, and position().
void SiStripRegionCabling::print | ( | std::stringstream & | ss | ) | const |
Definition at line 64 of file SiStripRegionCabling.cc.
References l1ctLayer2EG_cff::id, regioncabling_, contentValuesCheck::ss, dqmMemoryStats::total, and validateGeometry_cfg::valid.
const uint32_t SiStripRegionCabling::region | ( | const Position | position | ) | const |
Definition at line 25 of file SiStripRegionCabling.cc.
References position(), and positionIndex().
Referenced by elementIndex(), position(), and positionIndex().
|
inline |
|
inlinestatic |
Definition at line 172 of file SiStripRegionCabling.h.
References ALLLAYERS, and ALLSUBDETS.
|
inline |
Methods for interchanging between region, region-index and eta/phi-position.
Definition at line 126 of file SiStripRegionCabling.h.
References etadivisions_, etamax_, M_PI, and phidivisions_.
Referenced by position(), and SiStripRegFEDSelector::produce().
|
inline |
Set and get methods for cabling.
Definition at line 118 of file SiStripRegionCabling.h.
References regioncabling_.
|
inlinestatic |
Definition at line 168 of file SiStripRegionCabling.h.
References ALLLAYERS, and ALLSUBDETS.
Referenced by elementIndex().
|
static |
Methods for extracting det-id information
Definition at line 48 of file SiStripRegionCabling.cc.
References ALLSUBDETS, DetId::subdetId(), StripSubdetector::TEC, TEC, StripSubdetector::TIB, TIB, StripSubdetector::TID, TID, StripSubdetector::TOB, and TOB.
Referenced by SiStripRegionConnectivity::produceRegionCabling().
|
static |
Definition at line 29 of file SiStripRegionCabling.h.
Referenced by elementIndex(), layer(), SiStripRegFEDSelector::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), SiStripRegionConnectivity::produceRegionCabling(), region(), and subdet().
|
static |
Definition at line 27 of file SiStripRegionCabling.h.
Referenced by elementIndex(), SiStripRegFEDSelector::produce(), SelectedElectronFEDListProducer< TEle, TCand >::produce(), SiStripRegionConnectivity::produceRegionCabling(), region(), subdet(), and subdetFromDetId().
|
private |
Number of regions in eta,phi
Definition at line 108 of file SiStripRegionCabling.h.
Referenced by etadivisions(), increment(), positionIndex(), and regionDimensions().
|
private |
Tracker extent in eta
Definition at line 112 of file SiStripRegionCabling.h.
Referenced by position(), positionIndex(), and regionDimensions().
|
private |
Definition at line 109 of file SiStripRegionCabling.h.
Referenced by increment(), phidivisions(), positionIndex(), region(), and regionDimensions().
|
private |
Cabling
Definition at line 115 of file SiStripRegionCabling.h.
Referenced by getRegionCabling(), print(), and setRegionCabling().
|
static |
Definition at line 27 of file SiStripRegionCabling.h.
Referenced by subdetFromDetId().
|
static |
Definition at line 29 of file SiStripRegionCabling.h.
|
static |
Definition at line 27 of file SiStripRegionCabling.h.
Referenced by subdetFromDetId().
|
static |
Definition at line 29 of file SiStripRegionCabling.h.
|
static |
Definition at line 27 of file SiStripRegionCabling.h.
Referenced by subdetFromDetId().
|
static |
Definition at line 29 of file SiStripRegionCabling.h.
|
static |
Definition at line 27 of file SiStripRegionCabling.h.
Referenced by subdetFromDetId().
|
static |
Definition at line 29 of file SiStripRegionCabling.h.