#include <TOBLayer.h>
Public Types | |
typedef PeriodicBinFinderInPhi < double > | BinFinderType |
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 |
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... | |
TOBLayer (std::vector< const TOBRod * > &innerRods, std::vector< const TOBRod * > &outerRods) | |
~TOBLayer () | |
Public Member Functions inherited from RodBarrelLayer | |
RodBarrelLayer () | |
virtual | ~RodBarrelLayer () |
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 |
double | calculatePhiWindow (double Xmax, const GeomDet &det, const TrajectoryStateOnSurface &state) const |
SubLayerCrossings | computeCrossings (const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const |
float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const |
BoundCylinder * | cylinder (const std::vector< const GeometricSearchDet * > &rods) const |
bool | overlap (const GlobalPoint &gpos, const GeometricSearchDet &rod, float phiWin) 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 |
BinFinderType | theInnerBinFinder |
std::vector< const GeometricSearchDet * > | theInnerComps |
ReferenceCountingPointer < BoundCylinder > | theInnerCylinder |
BinFinderType | theOuterBinFinder |
std::vector< const GeometricSearchDet * > | theOuterComps |
ReferenceCountingPointer < BoundCylinder > | theOuterCylinder |
Additional Inherited Members | |
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 TOB layer built out of TOBRods
Definition at line 14 of file TOBLayer.h.
typedef PeriodicBinFinderInPhi<double> TOBLayer::BinFinderType |
Definition at line 16 of file TOBLayer.h.
TOBLayer::TOBLayer | ( | std::vector< const TOBRod * > & | innerRods, |
std::vector< const TOBRod * > & | outerRods | ||
) |
Definition at line 20 of file TOBLayer.cc.
References BoundSurface::bounds(), cylinder(), i, BarrelDetLayer::initialize(), Bounds::length(), LogDebug, Cylinder::radius(), BarrelDetLayer::specificSurface(), theBasicComps, theComps, theInnerBinFinder, theInnerComps, theInnerCylinder, theOuterBinFinder, theOuterComps, theOuterCylinder, and Bounds::thickness().
TOBLayer::~TOBLayer | ( | ) |
Definition at line 86 of file TOBLayer.cc.
|
private |
Definition at line 170 of file TOBLayer.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), subLayer(), and SubLayerCrossing::subLayerIndex().
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
|
private |
Definition at line 191 of file TOBLayer.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::localPosition(), min, edm::shift, GeomDet::surface(), and Surface::toGlobal().
Referenced by computeWindowSize().
|
inlinevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 27 of file TOBLayer.h.
References theComps.
|
private |
Definition at line 131 of file TOBLayer.cc.
References PeriodicBinFinderInPhi< T >::binIndex(), PeriodicBinFinderInPhi< T >::binPosition(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), HelixBarrelCylinderCrossing::hasSolution(), Geom::pi(), HelixBarrelCylinderCrossing::position(), rho, theInnerBinFinder, theInnerCylinder, theOuterBinFinder, theOuterCylinder, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV().
|
private |
Definition at line 181 of file TOBLayer.cc.
References calculatePhiWindow(), MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), and ExpressReco_HICollisions_FallBack::x.
Referenced by groupedCompatibleDetsV().
|
private |
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 96 of file TOBLayer.cc.
References addClosest(), LayerCrossingSide::barrelSide(), SubLayerCrossings::closest(), SubLayerCrossings::closestIndex(), computeCrossings(), computeWindowSize(), SubLayerCrossings::isValid(), DetGroupMerger::orderAndMergeTwoLevels(), SubLayerCrossings::other(), Propagator::propagationDirection(), query::result, searchNeighbors(), and svgfig::window().
|
private |
Definition at line 254 of file TOBLayer.cc.
References PV3DBase< T, PVType, FrameType >::phi(), BoundSurface::phiSpan(), rangesIntersect(), and GeometricSearchDet::surface().
Referenced by searchNeighbors().
|
private |
Definition at line 211 of file TOBLayer.cc.
References Clusterizer1DCommons::add(), PeriodicBinFinderInPhi< T >::binIndex(), SubLayerCrossing::closestDetIndex(), overlap(), PV3DBase< T, PVType, FrameType >::phi(), SubLayerCrossing::position(), subLayer(), SubLayerCrossing::subLayerIndex(), theInnerBinFinder, and theOuterBinFinder.
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Implements DetLayer.
Definition at line 36 of file TOBLayer.h.
References GeomDetEnumerators::TOB.
|
inlineprivate |
Definition at line 69 of file TOBLayer.h.
References theInnerComps, and theOuterComps.
Referenced by addClosest(), and searchNeighbors().
|
private |
Definition at line 79 of file TOBLayer.h.
Referenced by basicComponents(), and TOBLayer().
|
private |
Definition at line 76 of file TOBLayer.h.
Referenced by components(), TOBLayer(), and ~TOBLayer().
|
private |
Definition at line 81 of file TOBLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TOBLayer().
|
private |
Definition at line 77 of file TOBLayer.h.
Referenced by subLayer(), and TOBLayer().
|
private |
Definition at line 84 of file TOBLayer.h.
Referenced by computeCrossings(), and TOBLayer().
|
private |
Definition at line 82 of file TOBLayer.h.
Referenced by computeCrossings(), searchNeighbors(), and TOBLayer().
|
private |
Definition at line 78 of file TOBLayer.h.
Referenced by subLayer(), and TOBLayer().
|
private |
Definition at line 85 of file TOBLayer.h.
Referenced by computeCrossings(), and TOBLayer().