#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 | |
std::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const override |
void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const override __attribute__((hot)) |
const std::vector< const GeometricSearchDet * > & | components () const override __attribute__((cold)) |
Returns basic components, if any. More... | |
void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &, std::vector< DetGroup > &) const override |
PixelRod (std::vector< const GeomDet * > &theDets) | |
~PixelRod () override | |
Public Member Functions inherited from DetRodOneR | |
const std::vector< const GeomDet * > & | basicComponents () const override |
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... | |
~DetRodOneR () override | |
Public Member Functions inherited from DetRod | |
virtual const Plane & | specificSurface () const final |
Return the rod surface as a Plane. More... | |
const BoundSurface & | surface () const final |
The surface of the GeometricSearchDet. More... | |
~DetRod () override | |
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 11 of file PixelRod.h.
typedef PeriodicBinFinderInZ<float> PixelRod::BinFinderType |
Definition at line 13 of file PixelRod.h.
PixelRod::PixelRod | ( | std::vector< const GeomDet * > & | theDets | ) |
Definition at line 12 of file PixelRod.cc.
References mps_fire::i, LogDebug, theBinFinder, and DetRodOneR::theDets.
|
override |
Definition at line 26 of file PixelRod.cc.
|
overridevirtual |
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 32 of file PixelRod.cc.
|
overridevirtual |
Reimplemented from GeometricSearchDet.
Definition at line 39 of file PixelRod.cc.
References funct::abs(), DetRodOneR::add(), PeriodicBinFinderInZ< T >::binIndex(), TrajectoryStateOnSurface::globalPosition(), GeomDetCompatibilityChecker::isCompatible(), TrajectoryStateOnSurface::isValid(), 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().
|
overridevirtual |
Returns basic components, if any.
Returns direct components, if any
Implements GeometricSearchDet.
Definition at line 28 of file PixelRod.cc.
|
overridevirtual |
Reimplemented from GeometricSearchDet.
Definition at line 89 of file PixelRod.cc.
References LogDebug.
|
private |
Definition at line 37 of file PixelRod.h.
Referenced by compatibleDetsV(), and PixelRod().