#include <DetRodOneR.h>
Public Types | |
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 | |
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::pair< bool, TrajectoryStateOnSurface > | compatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const =0 |
virtual std::vector< DetWithState > | compatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | compatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const |
virtual const std::vector< const GeometricSearchDet * > & | components () const =0 |
Returns basic components, if any. More... | |
GeometricSearchDet (bool doHaveGroups) | |
virtual std::vector< DetGroup > | groupedCompatibleDets (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const |
virtual void | groupedCompatibleDetsV (const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const |
bool | hasGroups () const |
virtual const Surface::PositionType & | position () const |
Returns position of the surface. More... | |
virtual | ~GeometricSearchDet () |
Protected Member Functions | |
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 | |
std::vector< const GeomDet * > | theDets |
Protected Attributes inherited from GeometricSearchDet | |
bool | haveGroups |
GeomDetCompatibilityChecker | theCompatibilityChecker |
A rod of detectors, all having the same Plane.
Definition at line 14 of file DetRodOneR.h.
typedef std::vector<GeometricSearchDet*> DetRodOneR::DetContainer |
Definition at line 16 of file DetRodOneR.h.
DetRodOneR::DetRodOneR | ( | std::vector< const GeomDet * >::const_iterator | first, |
std::vector< const GeomDet * >::const_iterator | last | ||
) |
Construct from iterators on GeomDet*.
Definition at line 15 of file DetRodOneR.cc.
References initialize().
DetRodOneR::DetRodOneR | ( | const std::vector< const GeomDet * > & | dets | ) |
Construct from a std::vector of GeomDet*.
Definition at line 22 of file DetRodOneR.cc.
References initialize().
|
override |
Definition at line 13 of file DetRodOneR.cc.
|
protected |
Query detector idet for compatible and add the output to result.
Definition at line 42 of file DetRodOneR.cc.
References GeomDetCompatibilityChecker::isCompatible(), GeometricSearchDet::theCompatibilityChecker, and theDets.
Referenced by basicComponents(), MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), PixelRod::compatibleDetsV(), and counter.Counter::register().
|
inlineoverridevirtual |
Implements GeometricSearchDet.
Definition at line 28 of file DetRodOneR.h.
References add(), mps_fire::result, and theDets.
Referenced by MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), MTDDetTray::init(), and MuDetRod::init().
|
protected |
Definition at line 29 of file DetRodOneR.cc.
References precomputed_value_sort(), DetRod::setPlane(), and theDets.
Referenced by DetRodOneR().
|
protected |
Definition at line 40 of file DetRodOneR.h.
Referenced by add(), basicComponents(), PixelRod::compatibleDetsV(), initialize(), and PixelRod::PixelRod().