#include <PixelRod.h>
Public Types | |
typedef PeriodicBinFinderInZ< float > | BinFinderType |
Public Types inherited from DetRodOneR | |
typedef std::vector< GeometricSearchDet * > | DetContainer |
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 | |
virtual std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const __attribute__((hot)) |
virtual const std::vector< const GeometricSearchDet * > & | components () const __attribute__((cold)) |
Returns basic components, if any. More... | |
virtual void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &, std::vector< DetGroup > &) const |
PixelRod (std::vector< const GeomDet * > &theDets) | |
~PixelRod () | |
Public Member Functions inherited from DetRodOneR | |
virtual const std::vector< const GeomDet * > & | basicComponents () const |
DetRodOneR (std::vector< const GeomDet * >::const_iterator first, std::vector< const GeomDet * >::const_iterator last) | |
Construct from iterators on GeomDet*. More... | |
DetRodOneR (const std::vector< const GeomDet * > &dets) | |
Construct from a std::vector of GeomDet*. More... | |
virtual | ~DetRodOneR () |
Public Member Functions inherited from DetRod | |
virtual const Plane & | specificSurface () const final |
Return the rod surface as a Plane. More... | |
virtual const BoundSurface & | surface () const final |
The surface of the GeometricSearchDet. More... | |
virtual | ~DetRod () |
Public Member Functions inherited from GeometricSearchDet | |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
GeometricSearchDet (bool doHaveGroups) | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
bool | hasGroups () const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Private Attributes | |
BinFinderType | theBinFinder |
Additional Inherited Members | |
Protected Member Functions inherited from DetRodOneR | |
bool | add (int idet, std::vector< DetWithState > &result, const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
Query detector idet for compatible and add the output to result. More... | |
void | initialize () |
Protected Member Functions inherited from DetRod | |
void | setPlane (Plane *plane) |
Set the rod's plane. More... | |
Protected Attributes inherited from DetRodOneR | |
std::vector< const GeomDet * > | theDets |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A concrete implementation for PixelRod
Definition at line 12 of file PixelRod.h.
typedef PeriodicBinFinderInZ<float> PixelRod::BinFinderType |
Definition at line 14 of file PixelRod.h.
PixelRod::PixelRod | ( | std::vector< const GeomDet * > & | theDets | ) |
Definition at line 13 of file PixelRod.cc.
References mps_fire::i, LogDebug, theBinFinder, and DetRodOneR::theDets.
PixelRod::~PixelRod | ( | ) |
Definition at line 34 of file PixelRod.cc.
|
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 45 of file PixelRod.cc.
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 52 of file PixelRod.cc.
References funct::abs(), DetRodOneR::add(), PeriodicBinFinderInZ< T >::binIndex(), TrajectoryStateOnSurface::globalPosition(), GeomDetCompatibilityChecker::isCompatible(), TrajectoryStateOnSurface::isValid(), particleFlowClusterHGC_cfi::maxDistance, MeasurementEstimator::maximalLocalDisplacement(), Propagator::propagate(), DetRod::specificSurface(), DetRod::surface(), theBinFinder, GeometricSearchDet::theCompatibilityChecker, DetRodOneR::theDets, toLocal(), PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 39 of file PixelRod.cc.
|
virtual |
Reimplemented from GeometricSearchDet.
Definition at line 102 of file PixelRod.cc.
References LogDebug.
|
private |
Definition at line 41 of file PixelRod.h.
Referenced by compatibleDetsV(), and PixelRod().