#include <DetLayer.h>
Public Types | |
typedef GeomDetEnumerators::Location | Location |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Public Types inherited from GeometricSearchDet | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef BoundSurface::PositionType | PositionType |
typedef BoundSurface::RotationType | RotationType |
typedef TrajectoryStateOnSurface | TrajectoryState |
Public Member Functions | |
template<typename... Args> | |
std::vector< const DetLayer * > | compatibleLayers (Args &&...args) const |
Returns all layers compatible. More... | |
DetLayer (bool ibar) | |
bool | isBarrel () const |
bool | isForward () const |
virtual Location | location () const =0 |
Which part of the detector (barrel, endcap) More... | |
NavigableLayer * | navigableLayer () const |
Return the NavigableLayer associated with this DetLayer. More... | |
template<typename... Args> | |
std::vector< const DetLayer * > | nextLayers (Args &&...args) const |
int | seqNum () const |
void | setNavigableLayer (NavigableLayer *nlp) |
Set the NavigableLayer associated with this DetLayer. More... | |
void | setSeqNum (int sq) |
virtual SubDetector | subDetector () const =0 |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
virtual | ~DetLayer () |
Public Member Functions inherited from GeometricSearchDet | |
virtual const std::vector < const GeomDet * > & | basicComponents () const =0 |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const =0 |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
virtual const std::vector < const GeometricSearchDet * > & | components () const =0 |
Returns basic components, if any. More... | |
GeometricSearchDet () | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
virtual bool | hasGroups () const =0 |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual const BoundSurface & | surface () const =0 |
The surface of the GeometricSearchDet. More... | |
virtual | ~GeometricSearchDet () |
Private Attributes | |
bool | iAmBarrel |
NavigableLayer * | theNavigableLayer |
int | theSeqNum |
Additional Inherited Members | |
Protected Attributes inherited from GeometricSearchDet | |
GeomDetCompatibilityChecker | theCompatibilityChecker |
The DetLayer is the detector abstraction used for track reconstruction. It inherits from GeometricSearchDet the interface for accessing components and compatible components. It extends the interface by providing navigation capability from one layer to another. The Navigation links must be created in a NavigationSchool and activated with a NavigationSetter before they can be used.
Definition at line 24 of file DetLayer.h.
typedef GeomDetEnumerators::Location DetLayer::Location |
Definition at line 28 of file DetLayer.h.
typedef GeomDetEnumerators::SubDetector DetLayer::SubDetector |
Definition at line 27 of file DetLayer.h.
|
inline |
Definition at line 30 of file DetLayer.h.
|
virtual |
|
inline |
Returns all layers compatible.
Definition at line 69 of file DetLayer.h.
References harvestRelVal::args, NavigableLayer::compatibleLayers(), and theNavigableLayer.
Referenced by FixTrackHitPattern::analyze(), DTChamberEfficiency::compatibleLayers(), StandAloneMuonFilter::compatibleLayers(), MuonNavigationPrinter::printLayer(), and StandAloneMuonTrajectoryBuilder::propagateTheSeedTSOS().
|
inline |
Definition at line 35 of file DetLayer.h.
References iAmBarrel.
Referenced by PixelTripletLargeTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), ThirdHitCorrection::init(), InnerDeltaPhi::InnerDeltaPhi(), and isForward().
|
inline |
|
pure virtual |
Which part of the detector (barrel, endcap)
Implemented in BarrelDetLayer, and ForwardDetLayer.
Referenced by CfgNavigationSchool::addLayer(), GroupedCkfTrajectoryBuilder::advanceOneLayer(), HitPairGeneratorFromLayerPairForPhotonConversion::checkBoundaries(), HitPairGeneratorFromLayerPairForPhotonConversion::checkRZCompatibilityWithSeedTrack(), OutInConversionSeedFinder::completeSeed(), InOutConversionSeedFinder::completeSeed(), HitQuadrupletGeneratorFromLayerPairForPhotonConversion::failCheckRZCompatibility(), InOutConversionSeedFinder::findSeeds(), OutInConversionSeedFinder::fixPointRadius(), HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius(), HitPairGeneratorFromLayerPairForPhotonConversion::getLayerZ(), HitPairGeneratorFromLayerPairForPhotonConversion::getPhiRange(), HitPairGeneratorFromLayerPairForPhotonConversion::hitPairs(), PixelTripletNoTipGenerator::hitTriplets(), PixelTripletLowPtGenerator::hitTriplets(), ThirdHitRZPredictionBase::initLayer(), ThirdHitPrediction::initLayer(), OutInConversionSeedFinder::makeEstimator(), CfgNavigationSchool::makeFwdLinks(), PixelMatchNextLayers::PixelMatchNextLayers(), MuonNavigationPrinter::printLayer(), ConversionSeedFinder::printLayer(), and StartingLayerFinder::startingLayers().
|
inline |
Return the NavigableLayer associated with this DetLayer.
Definition at line 51 of file DetLayer.h.
References theNavigableLayer.
Referenced by CosmicNavigationSchool::buildAdditionalForwardLinks(), and CfgNavigationSchool::makeBwdLinks().
|
inline |
Return the next (closest) layer(s) that can be reached in the specified NavigationDirection
Definition at line 60 of file DetLayer.h.
References harvestRelVal::args, NavigableLayer::nextLayers(), and theNavigableLayer.
Referenced by CkfDebugger::analyseRecHitNotFound(), TrackEfficiencyMonitor::compatibleLayers(), MuonCkfTrajectoryBuilder::findCompatibleMeasurements(), NuclearInteractionFinder::findMeasurementsFromTSOS(), BaseCkfTrajectoryBuilder::findStateAndLayers(), PixelMatchNextLayers::PixelMatchNextLayers(), and MuonNavigationPrinter::printLayer().
|
inline |
Definition at line 39 of file DetLayer.h.
References theSeqNum.
Referenced by PixelTripletLargeTipGenerator::hitTriplets(), PixelTripletHLTGenerator::hitTriplets(), and LayerHitMapCache::operator()().
void DetLayer::setNavigableLayer | ( | NavigableLayer * | nlp | ) |
Set the NavigableLayer associated with this DetLayer.
delete theNavigableLayer; // bad idea!
Definition at line 7 of file DetLayer.cc.
References NavigableLayer::detLayer(), NavigableLayer::setDetLayer(), and theNavigableLayer.
|
inline |
|
pure virtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implemented in MuRingForwardDoubleLayer, MuRingForwardLayer, MuRodBarrelLayer, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, TECLayer, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Referenced by ctfseeding::HitExtractorSTRP::hits(), PixelTripletLowPtGenerator::hitTriplets(), CosmicMuonTrajectoryBuilder::incrementChamberCounters(), StandAloneMuonFilter::incrementChamberCounters(), SETFilter::incrementChamberCounters(), StandAloneMuonFilter::incrementCompatibleChamberCounters(), SeedingLayerSetsBuilder::layers(), MuonDetLayerGeometry::makeDetLayerId(), TSGForRoadSearch::makeSeeds_0(), TSGForRoadSearch::makeSeeds_3(), MatchedHitRZCorrectionFromBending::MatchedHitRZCorrectionFromBending(), MuonNavigationPrinter::printLayer(), ConvBremSeedProducer::produce(), MuonTrajectoryUpdator::sort(), and BaseCkfTrajectoryBuilder::toBeContinued().
|
private |
Definition at line 79 of file DetLayer.h.
Referenced by isBarrel().
|
private |
Definition at line 77 of file DetLayer.h.
Referenced by compatibleLayers(), navigableLayer(), nextLayers(), setNavigableLayer(), and ~DetLayer().
|
private |
Definition at line 78 of file DetLayer.h.
Referenced by seqNum(), and setSeqNum().