19 std::once_flag printOnce;
22 const float TrackerModule::invRoot12 =
sqrt(1. / 12.);
30 : moduleTypeCfg_(moduleTypeCfg) {
76 if (iWheel >= 3 && iWheel <= 5)
121 if (lay < 1 || lay > 7)
122 throw cms::Exception(
"LogicError") <<
"TrackerModule: Reduced layer ID out of expected range";
130 float pitch,
float space,
bool barrel,
bool tiltedBarrel,
bool psModule)
const {
133 unsigned int moduleType = 999;
134 constexpr
float tol = 0.001;
144 if (moduleType == 999) {
145 std::stringstream
text;
146 text <<
"WARNING: TrackerModule found tracker module type unknown to firmware: pitch=" << pitch
static unsigned int calcLayerIdReduced(unsigned int layerId)
unsigned int tobSide(const DetId &id) const
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const DetId & detId() const
Geom::Phi< T > phi() const
unsigned int tidWheel(const DetId &id) const
virtual int nrows() const =0
unsigned int side(const DetId &id) const
unsigned int moduleTypeID_
unsigned int calcModuleType(float pitch, float space, bool barrel, bool tiltedBarrel, bool psModule) const
const PixelGeomDetUnit * specDet_
unsigned int layerId() const
unsigned int layer(const DetId &id) const
std::vector< bool > tiltedVsType
ModuleType getDetectorType(DetId) const
bool outerModuleAtSmallerR_
Abs< T >::type abs(const T &t)
uint32_t stack(const DetId &id) const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
DetId partnerDetId(const DetId &id) const
static constexpr auto TOB
std::vector< bool > psVsType
static constexpr auto TIB
const Plane & surface() const
The nominal surface of the GeomDet.
=== This is the base class for the linearised chi-squared track fit algorithms.
const Surface::PositionType & position() const
The position (origin of the R.F.)
std::vector< double > pitchVsType
std::vector< double > spaceVsType
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
unsigned int tidRing(const DetId &id) const
ModuleTypeCfg moduleTypeCfg_
virtual std::pair< float, float > pitch() const =0
const PixelTopology * specTopol_
Log< level::Warning, false > LogWarning
std::vector< bool > barrelVsType
unsigned int layerIdReduced_
bool tiltedBarrel() const
const Bounds & bounds() const