#include <MkFitGeometry.h>
Public Member Functions | |
const std::vector< const DetLayer * > & | detLayers () const |
mkfit::LayerNumberConverter const & | layerNumberConverter () const |
MkFitGeometry (const TrackerGeometry &geom, const GeometricSearchTracker &tracker, const TrackerTopology &ttopo, std::unique_ptr< mkfit::TrackerInfo > trackerInfo) | |
int | mkFitLayerNumber (DetId detId) const |
const TrackerTopology * | topology () const |
mkfit::TrackerInfo const & | trackerInfo () const |
unsigned int | uniqueIdInLayer (int layer, unsigned int detId) const |
~MkFitGeometry () | |
Private Attributes | |
std::vector < std::unordered_map< unsigned int, unsigned int > > | detIdToShortId_ |
std::vector< const DetLayer * > | dets_ |
std::unique_ptr < mkfit::LayerNumberConverter > | lnc_ |
std::unique_ptr < mkfit::TrackerInfo > | trackerInfo_ |
const TrackerTopology * | ttopo_ |
Collection of geometry-related objects for mkFit
Definition at line 23 of file MkFitGeometry.h.
|
explicit |
Definition at line 17 of file MkFitGeometry.cc.
References GeometricSearchTracker::allLayers(), cms::cuda::assert(), AlCaHLTBitMon_QueryRunRegistry::comp, TrackerGeometry::detIds(), detIdToShortId_, dets_, Exception, phase1PixelTopology::layer, TrackerTopology::layer(), lnc_, mkFitLayerNumber(), eostools::move(), TrackerGeometry::numberOfLayers(), or, mkfit::phase1, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, trackerInfo_, ttopo_, and UNLIKELY.
MkFitGeometry::~MkFitGeometry | ( | ) |
Definition at line 74 of file MkFitGeometry.cc.
|
inline |
|
inline |
Definition at line 32 of file MkFitGeometry.h.
References lnc_.
Referenced by MkFitSeedConverter::convertSeeds().
int MkFitGeometry::mkFitLayerNumber | ( | DetId | detId | ) | const |
Definition at line 76 of file MkFitGeometry.cc.
References TrackerTopology::isStereo(), TrackerTopology::layer(), lnc_, DetId::subdetId(), and ttopo_.
Referenced by mkfit::convertHits(), MkFitEventOfHitsProducer::fill(), and MkFitGeometry().
|
inline |
|
inline |
Definition at line 33 of file MkFitGeometry.h.
References trackerInfo_.
|
inline |
Definition at line 35 of file MkFitGeometry.h.
References detIdToShortId_.
Referenced by mkfit::convertHits().
|
private |
Definition at line 43 of file MkFitGeometry.h.
Referenced by MkFitGeometry(), and uniqueIdInLayer().
|
private |
Definition at line 42 of file MkFitGeometry.h.
Referenced by detLayers(), and MkFitGeometry().
|
private |
Definition at line 40 of file MkFitGeometry.h.
Referenced by layerNumberConverter(), MkFitGeometry(), and mkFitLayerNumber().
|
private |
Definition at line 41 of file MkFitGeometry.h.
Referenced by MkFitGeometry(), and trackerInfo().
|
private |
Definition at line 39 of file MkFitGeometry.h.
Referenced by MkFitGeometry(), mkFitLayerNumber(), and topology().