![]() |
![]() |
#include <TOBRod.h>
Public Types | |
typedef PeriodicBinFinderInZ < float > | BinFinderType |
![]() | |
typedef std::pair< const GeomDet *, TrajectoryStateOnSurface > | DetWithState |
typedef BoundSurface::PositionType | PositionType |
typedef BoundSurface::RotationType | RotationType |
typedef TrajectoryStateOnSurface | TrajectoryState |
![]() | |
typedef GeometricSearchDet::DetWithState | DetWithState |
Public Member Functions | |
virtual const std::vector < const GeomDet * > & | basicComponents () const |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) 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 |
TOBRod (std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets) | |
~TOBRod () | |
![]() | |
virtual const BoundPlane & | specificSurface () const |
Return the rod surface as a BoundPlane. More... | |
virtual const BoundSurface & | surface () const |
The surface of the GeometricSearchDet. More... | |
virtual | ~DetRod () |
![]() | |
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 () |
![]() | |
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 &tsos, PropagationDirection propDir) const |
float | computeWindowSize (const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const |
bool | overlap (const GlobalPoint &gpos, const GeomDet &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 GeomDet * > & | subRod (int ind) const |
Private Attributes | |
std::vector< const GeomDet * > | theDets |
BinFinderType | theInnerBinFinder |
std::vector< const GeomDet * > | theInnerDets |
ReferenceCountingPointer < BoundPlane > | theInnerPlane |
BinFinderType | theOuterBinFinder |
std::vector< const GeomDet * > | theOuterDets |
ReferenceCountingPointer < BoundPlane > | theOuterPlane |
Additional Inherited Members | |
![]() | |
void | setPlane (BoundPlane *plane) |
Set the rod's plane. More... | |
![]() | |
GeomDetCompatibilityChecker | theCompatibilityChecker |
typedef PeriodicBinFinderInZ<float> TOBRod::BinFinderType |
TOBRod::TOBRod | ( | std::vector< const GeomDet * > & | innerDets, |
std::vector< const GeomDet * > & | outerDets | ||
) |
Definition at line 28 of file TOBRod.cc.
References i, LogDebug, DetRod::setPlane(), python.multivaluedict::sort(), theDets, theInnerBinFinder, theInnerDets, theInnerPlane, theOuterBinFinder, theOuterDets, and theOuterPlane.
|
private |
Definition at line 173 of file TOBRod.cc.
References CompatibleDetToGroupAdder::add(), SubLayerCrossing::closestDetIndex(), query::result, SubLayerCrossing::subLayerIndex(), and subRod().
Referenced by groupedCompatibleDetsV().
|
inlinevirtual |
|
virtual |
tests the geometrical compatibility of the Det with the predicted state. The FreeTrajectoryState argument is propagated to the Det surface using the Propagator argument. The resulting TrajectoryStateOnSurface is tested for compatibility with the surface bounds. If compatible, a std::pair< true, propagatedState> is returned. If the propagation fails, or if the state is not compatible, a std::pair< false, propagatedState> is returned.
Implements GeometricSearchDet.
Definition at line 85 of file TOBRod.cc.
|
virtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 80 of file TOBRod.cc.
|
private |
Definition at line 136 of file TOBRod.cc.
References PeriodicBinFinderInZ< T >::binIndex(), PeriodicBinFinderInZ< T >::binPosition(), TrajectoryStateOnSurface::globalMomentum(), TrajectoryStateOnSurface::globalPosition(), rho, theInnerBinFinder, theInnerPlane, theOuterBinFinder, theOuterPlane, and TrajectoryStateOnSurface::transverseCurvature().
Referenced by groupedCompatibleDetsV().
|
private |
Definition at line 186 of file TOBRod.cc.
References MeasurementEstimator::maximalLocalDisplacement(), GeomDet::surface(), and ExpressReco_HICollisions_FallBack::y.
Referenced by groupedCompatibleDetsV().
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 96 of file TOBRod.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 235 of file TOBRod.cc.
References BoundSurface::bounds(), Bounds::length(), GeomDet::surface(), GloballyPositioned< T >::toLocal(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by searchNeighbors().
|
private |
Definition at line 197 of file TOBRod.cc.
References Clusterizer1DCommons::add(), SubLayerCrossing::closestDetIndex(), overlap(), SubLayerCrossing::position(), SubLayerCrossing::subLayerIndex(), subRod(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by groupedCompatibleDetsV().
|
inlineprivate |
Definition at line 67 of file TOBRod.h.
References theInnerDets, and theOuterDets.
Referenced by addClosest(), and searchNeighbors().
|
private |
Definition at line 73 of file TOBRod.h.
Referenced by basicComponents(), and TOBRod().
|
private |
Definition at line 80 of file TOBRod.h.
Referenced by computeCrossings(), and TOBRod().
|
private |
|
private |
Definition at line 77 of file TOBRod.h.
Referenced by computeCrossings(), and TOBRod().
|
private |
Definition at line 81 of file TOBRod.h.
Referenced by computeCrossings(), and TOBRod().
|
private |
|
private |
Definition at line 78 of file TOBRod.h.
Referenced by computeCrossings(), and TOBRod().