|
|
#include <TrackerModule.h>
|
static const float | invRoot12 = sqrt(1. / 12.) |
|
Definition at line 24 of file TrackerModule.h.
◆ BarrelModuleType
Enumerator |
---|
tiltedMinusZ | |
tiltedPlusZ | |
flat | |
Definition at line 26 of file TrackerModule.h.
◆ TrackerModule()
Definition at line 26 of file TrackerModule.cc.
37 specDet_ = dynamic_cast<const PixelGeomDetUnit*>(det0);
76 if (iWheel >= 3 && iWheel <= 5)
83 float deltaZ = (R1 -
R0 > 0) ? (Z1 -
Z0) : -(Z1 -
Z0);
References funct::abs(), barrel_, Surface::bounds(), calcLayerIdReduced(), calcModuleType(), PbPb_ZMuSkimMuonDPG_cff::deltaR, detId(), detId_, endcapRing_, TrackerGeometry::getDetectorType(), TrackerGeometry::idToDetUnit(), TrackerTopology::layer(), layerId_, layerIdReduced_, PV3DBase< T, PVType, FrameType >::mag(), SiStripPI::max, min(), moduleMaxPhi_, moduleMaxR_, moduleMaxZ_, moduleMinPhi_, moduleMinR_, moduleMinZ_, moduleTypeID_, PixelTopology::nrows(), nStrips_, outerModuleAtSmallerR_, TrackerTopology::partnerDetId(), PV3DBase< T, PVType, FrameType >::perp(), TrackerGeometry::Ph2PSP, PV3DBase< T, PVType, FrameType >::phi(), PixelTopology::pitch(), GeomDet::position(), psModule_, HLT_FULL_cff::R0, sensorSpacing_, sensorWidth_, TrackerTopology::side(), specDet_, PixelGeomDetUnit::specificTopology(), specTopol_, mathSSE::sqrt(), TrackerTopology::stack(), stackedDetId_, stripLength_, stripPitch_, DetId::subdetId(), GeomDet::surface(), StripSubdetector::TIB, TrackerTopology::tidRing(), TrackerTopology::tidWheel(), tiltAngle_, tiltedBarrel_, StripSubdetector::TOB, TrackerTopology::tobSide(), Bounds::width(), PV3DBase< T, PVType, FrameType >::z(), and Z0.
◆ barrel()
bool tmtt::TrackerModule::barrel |
( |
| ) |
const |
|
inline |
◆ calcLayerIdReduced()
unsigned int tmtt::TrackerModule::calcLayerIdReduced |
( |
unsigned int |
layerId | ) |
|
|
static |
◆ calcModuleType()
unsigned int tmtt::TrackerModule::calcModuleType |
( |
float |
pitch, |
|
|
float |
space, |
|
|
bool |
barrel, |
|
|
bool |
tiltedBarrel, |
|
|
bool |
psModule |
|
) |
| const |
Definition at line 129 of file TrackerModule.cc.
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
References funct::abs(), barrel(), tmtt::TrackerModule::ModuleTypeCfg::barrelVsType, mps_fire::i, moduleTypeCfg_, tmtt::TrackerModule::ModuleTypeCfg::pitchVsType, psModule(), tmtt::TrackerModule::ModuleTypeCfg::psVsType, tmtt::TrackerModule::ModuleTypeCfg::spaceVsType, submitPVValidationJobs::t, runonSM::text, tiltedBarrel(), and tmtt::TrackerModule::ModuleTypeCfg::tiltedVsType.
Referenced by TrackerModule().
◆ detId()
const DetId& tmtt::TrackerModule::detId |
( |
| ) |
const |
|
inline |
◆ endcapRing()
unsigned int tmtt::TrackerModule::endcapRing |
( |
| ) |
const |
|
inline |
◆ layerId()
unsigned int tmtt::TrackerModule::layerId |
( |
| ) |
const |
|
inline |
◆ layerIdReduced()
unsigned int tmtt::TrackerModule::layerIdReduced |
( |
| ) |
const |
|
inline |
◆ maxPhi()
float tmtt::TrackerModule::maxPhi |
( |
| ) |
const |
|
inline |
◆ maxR()
float tmtt::TrackerModule::maxR |
( |
| ) |
const |
|
inline |
◆ maxZ()
float tmtt::TrackerModule::maxZ |
( |
| ) |
const |
|
inline |
◆ minPhi()
float tmtt::TrackerModule::minPhi |
( |
| ) |
const |
|
inline |
◆ minR()
float tmtt::TrackerModule::minR |
( |
| ) |
const |
|
inline |
◆ minZ()
float tmtt::TrackerModule::minZ |
( |
| ) |
const |
|
inline |
◆ moduleTypeID()
unsigned int tmtt::TrackerModule::moduleTypeID |
( |
| ) |
const |
|
inline |
◆ nStrips()
unsigned int tmtt::TrackerModule::nStrips |
( |
| ) |
const |
|
inline |
◆ outerModuleAtSmallerR()
bool tmtt::TrackerModule::outerModuleAtSmallerR |
( |
| ) |
const |
|
inline |
◆ paramB()
float tmtt::TrackerModule::paramB |
( |
| ) |
const |
|
inline |
◆ pitchOverSep()
float tmtt::TrackerModule::pitchOverSep |
( |
| ) |
const |
|
inline |
◆ psModule()
bool tmtt::TrackerModule::psModule |
( |
| ) |
const |
|
inline |
◆ rawDetId()
unsigned int tmtt::TrackerModule::rawDetId |
( |
| ) |
const |
|
inline |
◆ rawStackedDetId()
unsigned int tmtt::TrackerModule::rawStackedDetId |
( |
| ) |
const |
|
inline |
◆ sensorSpacing()
float tmtt::TrackerModule::sensorSpacing |
( |
| ) |
const |
|
inline |
◆ sensorWidth()
float tmtt::TrackerModule::sensorWidth |
( |
| ) |
const |
|
inline |
◆ sigmaPar()
float tmtt::TrackerModule::sigmaPar |
( |
| ) |
const |
|
inline |
◆ sigmaPerp()
float tmtt::TrackerModule::sigmaPerp |
( |
| ) |
const |
|
inline |
◆ specDet()
◆ specTopol()
◆ stackedDetId()
const DetId& tmtt::TrackerModule::stackedDetId |
( |
| ) |
const |
|
inline |
◆ stripLength()
float tmtt::TrackerModule::stripLength |
( |
| ) |
const |
|
inline |
◆ stripPitch()
float tmtt::TrackerModule::stripPitch |
( |
| ) |
const |
|
inline |
◆ theta()
float tmtt::TrackerModule::theta |
( |
void |
| ) |
const |
|
inline |
◆ tiltAngle()
float tmtt::TrackerModule::tiltAngle |
( |
| ) |
const |
|
inline |
◆ tiltedBarrel()
bool tmtt::TrackerModule::tiltedBarrel |
( |
| ) |
const |
|
inline |
◆ barrel_
bool tmtt::TrackerModule::barrel_ |
|
private |
◆ detId_
DetId tmtt::TrackerModule::detId_ |
|
private |
◆ endcapRing_
unsigned int tmtt::TrackerModule::endcapRing_ |
|
private |
◆ invRoot12
const float tmtt::TrackerModule::invRoot12 = sqrt(1. / 12.) |
|
staticprivate |
◆ layerId_
unsigned int tmtt::TrackerModule::layerId_ |
|
private |
◆ layerIdReduced_
unsigned int tmtt::TrackerModule::layerIdReduced_ |
|
private |
◆ moduleMaxPhi_
float tmtt::TrackerModule::moduleMaxPhi_ |
|
private |
◆ moduleMaxR_
float tmtt::TrackerModule::moduleMaxR_ |
|
private |
◆ moduleMaxZ_
float tmtt::TrackerModule::moduleMaxZ_ |
|
private |
◆ moduleMinPhi_
float tmtt::TrackerModule::moduleMinPhi_ |
|
private |
◆ moduleMinR_
float tmtt::TrackerModule::moduleMinR_ |
|
private |
◆ moduleMinZ_
float tmtt::TrackerModule::moduleMinZ_ |
|
private |
◆ moduleTypeCfg_
◆ moduleTypeID_
unsigned int tmtt::TrackerModule::moduleTypeID_ |
|
private |
◆ nStrips_
unsigned int tmtt::TrackerModule::nStrips_ |
|
private |
◆ outerModuleAtSmallerR_
bool tmtt::TrackerModule::outerModuleAtSmallerR_ |
|
private |
◆ psModule_
bool tmtt::TrackerModule::psModule_ |
|
private |
◆ sensorSpacing_
float tmtt::TrackerModule::sensorSpacing_ |
|
private |
◆ sensorWidth_
float tmtt::TrackerModule::sensorWidth_ |
|
private |
◆ specDet_
◆ specTopol_
◆ stackedDetId_
DetId tmtt::TrackerModule::stackedDetId_ |
|
private |
◆ stripLength_
float tmtt::TrackerModule::stripLength_ |
|
private |
◆ stripPitch_
float tmtt::TrackerModule::stripPitch_ |
|
private |
◆ tiltAngle_
float tmtt::TrackerModule::tiltAngle_ |
|
private |
◆ tiltedBarrel_
bool tmtt::TrackerModule::tiltedBarrel_ |
|
private |
const Surface::PositionType & position() const
The position (origin of the R.F.)
unsigned int side(const DetId &id) const
virtual float width() const =0
bool tiltedBarrel() const
virtual std::pair< float, float > pitch() const =0
unsigned int layer(const DetId &id) const
uint32_t stack(const DetId &id) const
const PixelGeomDetUnit * specDet_
ModuleType getDetectorType(DetId) const
Log< level::Warning, false > LogWarning
unsigned int tidRing(const DetId &id) const
unsigned int tidWheel(const DetId &id) const
Sin< T >::type sin(const T &t)
ModuleTypeCfg moduleTypeCfg_
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
const Plane & surface() const
The nominal surface of the GeomDet.
unsigned int calcModuleType(float pitch, float space, bool barrel, bool tiltedBarrel, bool psModule) const
Cos< T >::type cos(const T &t)
static unsigned int calcLayerIdReduced(unsigned int layerId)
const PixelTopology * specTopol_
std::vector< bool > tiltedVsType
const Bounds & bounds() const
DetId partnerDetId(const DetId &id) const
static constexpr auto TIB
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
unsigned int layerIdReduced_
constexpr uint32_t rawId() const
get the raw id
bool outerModuleAtSmallerR_
unsigned int layerId() const
static constexpr auto TOB
unsigned int moduleTypeID_
std::vector< double > spaceVsType
std::vector< bool > psVsType
Abs< T >::type abs(const T &t)
const DetId & detId() const
virtual int nrows() const =0
std::vector< bool > barrelVsType
Geom::Phi< T > phi() const
unsigned int tobSide(const DetId &id) const
static const float invRoot12
std::vector< double > pitchVsType