#include <TIBLayer.h>
Public Member Functions | |
virtual const std::vector < const GeomDet * > & | basicComponents () const |
virtual const std::vector < const GeometricSearchDet * > & | components () const |
Returns basic components, if any. More... | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
virtual SubDetector | subDetector () const |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More... | |
TIBLayer (std::vector< const TIBRing * > &innerRings, std::vector< const TIBRing * > &outerRings) | |
~TIBLayer () | |
Public Member Functions inherited from BarrelDetLayer | |
BarrelDetLayer () | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const |
bool | contains (const Local3DPoint &p) const |
virtual Location | location () const |
DetLayer interface. More... | |
virtual const BoundCylinder & | specificSurface () const |
Extension of the interface. More... | |
virtual const BoundSurface & | surface () const |
GeometricSearchDet interface. More... | |
virtual | ~BarrelDetLayer () |
Public Member Functions inherited from DetLayer | |
std::vector< const DetLayer * > | compatibleLayers (NavigationDirection direction) const |
std::vector< const DetLayer * > | compatibleLayers (const FreeTrajectoryState &fts, PropagationDirection timeDirection) const |
std::vector< const DetLayer * > | compatibleLayers (const FreeTrajectoryState &fts, PropagationDirection timeDirection, int &counter) const |
DetLayer () | |
NavigableLayer * | navigableLayer () const |
Return the NavigableLayer associated with this DetLayer. More... | |
virtual std::vector< const DetLayer * > | nextLayers (NavigationDirection direction) const |
virtual std::vector< const DetLayer * > | nextLayers (const FreeTrajectoryState &fts, PropagationDirection timeDirection) const |
virtual void | setNavigableLayer (NavigableLayer *nlp) |
Set the NavigableLayer associated with this DetLayer. More... | |
virtual | ~DetLayer () |
Public Member Functions inherited from GeometricSearchDet | |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
GeometricSearchDet () | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Public Member Functions inherited from GeometricSearchDetWithGroups | |
void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
bool | hasGroups () const |
Private Member Functions | |
bool | addClosest (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const |
SubLayerCrossings | computeCrossings (const TrajectoryStateOnSurface &startingState, PropagationDirection propDir) const |
float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const |
BoundCylinder * | cylinder (const std::vector< const GeometricSearchDet * > &rings) |
bool | overlap (const GlobalPoint &gpos, const GeometricSearchDet &ring, float window) const |
void | searchNeighbors (const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const |
const std::vector< const GeometricSearchDet * > & | subLayer (int ind) const |
Private Attributes | |
std::vector< const GeomDet * > | theBasicComps |
std::vector< const GeometricSearchDet * > | theComps |
GeneralBinFinderInZforGeometricSearchDet < float > | theInnerBinFinder |
std::vector< const GeometricSearchDet * > | theInnerComps |
ReferenceCountingPointer < BoundCylinder > | theInnerCylinder |
GeneralBinFinderInZforGeometricSearchDet < float > | theOuterBinFinder |
std::vector< const GeometricSearchDet * > | theOuterComps |
ReferenceCountingPointer < BoundCylinder > | theOuterCylinder |
Additional Inherited Members | |
Public Types inherited from DetLayer | |
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 Types inherited from GeometricSearchDetWithGroups | |
typedef GeometricSearchDet::DetWithState | DetWithState |
Protected Member Functions inherited from BarrelDetLayer | |
virtual BoundCylinder * | computeSurface () |
virtual void | initialize () |
void | setSurface (BoundCylinder *cp) |
Protected Attributes inherited from GeometricSearchDet | |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A concrete implementation for TIB layer built out of TIBRings
Definition at line 15 of file TIBLayer.h.
TIBLayer::TIBLayer | ( | std::vector< const TIBRing * > & | innerRings, |
std::vector< const TIBRing * > & | outerRings | ||
) |
Definition at line 20 of file TIBLayer.cc.
References BoundSurface::bounds(), cylinder(), i, BarrelDetLayer::initialize(), Bounds::length(), LogDebug, Cylinder::radius(), python.multivaluedict::sort(), BarrelDetLayer::specificSurface(), theBasicComps, theComps, theInnerBinFinder, theInnerComps, theInnerCylinder, theOuterBinFinder, theOuterComps, theOuterCylinder, and Bounds::thickness().
TIBLayer::~TIBLayer | ( | ) |
Definition at line 91 of file TIBLayer.cc.
|
private |
Definition at line 197 of file TIBLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
|
inlinevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 27 of file TIBLayer.h.
References theComps.
|
private |
Definition at line 162 of file TIBLayer.cc.
References GeneralBinFinderInZforGeometricSearchDet< T >::binIndex(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), HelixBarrelCylinderCrossing::hasSolution(), GloballyPositioned< T >::position(), HelixBarrelCylinderCrossing::position(), rho, GeometricSearchDet::surface(), theInnerBinFinder, theInnerComps, theInnerCylinder, theOuterBinFinder, theOuterComps, theOuterCylinder, TrajectoryStateOnSurface::transverseCurvature(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV().
|
private |
Definition at line 265 of file TIBLayer.cc.
References BoundSurface::bounds(), TrajectoryStateOnSurface::globalMomentum(), MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), funct::tan(), PV3DBase< T, PVType, FrameType >::theta(), Bounds::thickness(), and PV2DBase< T, PVType, FrameType >::y().
Referenced by groupedCompatibleDetsV().
|
private |
Definition at line 102 of file TIBLayer.cc.
References BoundSurface::bounds(), Bounds::length(), GloballyPositioned< T >::position(), alignCSCRings::r, Cylinder::radius(), Bounds::thickness(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TIBLayer().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 133 of file TIBLayer.cc.
References addClosest(), LayerCrossingSide::barrelSide(), SubLayerCrossings::closest(), SubLayerCrossings::closestIndex(), computeCrossings(), computeWindowSize(), SubLayerCrossings::isValid(), DetGroupMerger::orderAndMergeTwoLevels(), SubLayerCrossings::other(), Propagator::propagationDirection(), searchNeighbors(), and svgfig::window().
|
private |
Definition at line 248 of file TIBLayer.cc.
References BoundSurface::bounds(), Bounds::length(), GeometricSearchDet::position(), GeometricSearchDet::surface(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by searchNeighbors().
|
private |
Definition at line 210 of file TIBLayer.cc.
References Clusterizer1DCommons::add(), SubLayerCrossing::closestDetIndex(), overlap(), SubLayerCrossing::position(), subLayer(), SubLayerCrossing::subLayerIndex(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 35 of file TIBLayer.h.
References GeomDetEnumerators::TIB.
|
inlineprivate |
Definition at line 64 of file TIBLayer.h.
References theInnerComps, and theOuterComps.
Referenced by addClosest(), and searchNeighbors().
|
private |
Definition at line 73 of file TIBLayer.h.
Referenced by basicComponents(), and TIBLayer().
|
private |
Definition at line 70 of file TIBLayer.h.
Referenced by components(), TIBLayer(), and ~TIBLayer().
|
private |
Definition at line 78 of file TIBLayer.h.
Referenced by computeCrossings(), and TIBLayer().
|
private |
Definition at line 71 of file TIBLayer.h.
Referenced by computeCrossings(), subLayer(), and TIBLayer().
|
private |
Definition at line 75 of file TIBLayer.h.
Referenced by computeCrossings(), and TIBLayer().
|
private |
Definition at line 79 of file TIBLayer.h.
Referenced by computeCrossings(), and TIBLayer().
|
private |
Definition at line 72 of file TIBLayer.h.
Referenced by computeCrossings(), subLayer(), and TIBLayer().
|
private |
Definition at line 76 of file TIBLayer.h.
Referenced by computeCrossings(), and TIBLayer().