#include <DetRodOneR.h>
Public Types | |
typedef std::vector < GeometricSearchDet * > | DetContainer |
Public Member Functions | |
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*. | |
DetRodOneR () | |
Dummy constructor. | |
DetRodOneR (const std::vector< const GeomDet * > &dets) | |
Construct from a std::vector of GeomDet*. | |
virtual | ~DetRodOneR () |
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. | |
void | initialize () |
Protected Attributes | |
std::vector< const GeomDet * > | theDets |
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 | ( | ) | [inline] |
DetRodOneR::DetRodOneR | ( | std::vector< const GeomDet * >::const_iterator | first, |
std::vector< const GeomDet * >::const_iterator | last | ||
) |
Construct from iterators on GeomDet*.
DetRodOneR::DetRodOneR | ( | const std::vector< const GeomDet * > & | dets | ) |
Construct from a std::vector of GeomDet*.
DetRodOneR::~DetRodOneR | ( | ) | [virtual] |
Definition at line 13 of file DetRodOneR.cc.
{}
bool DetRodOneR::add | ( | int | idet, |
std::vector< DetWithState > & | result, | ||
const TrajectoryStateOnSurface & | startingState, | ||
const Propagator & | prop, | ||
const MeasurementEstimator & | est | ||
) | const [protected] |
Query detector idet for compatible and add the output to result.
Referenced by MuDetRod::compatibleDets().
virtual const std::vector<const GeomDet*>& DetRodOneR::basicComponents | ( | ) | const [inline, virtual] |
Implements GeometricSearchDet.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 30 of file DetRodOneR.h.
References theDets.
Referenced by MuDetRod::compatibleDets(), and MuDetRod::init().
{return theDets;}
void DetRodOneR::initialize | ( | ) | [protected] |
Definition at line 29 of file DetRodOneR.cc.
References precomputed_value_sort(), DetRod::setPlane(), and theDets.
{ // assume the dets ARE in a rod; // sort them in Z precomputed_value_sort( theDets.begin(), theDets.end(), geomsort::DetZ()); setPlane( RodPlaneBuilderFromDet()( theDets)); }
std::vector<const GeomDet*> DetRodOneR::theDets [protected] |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 42 of file DetRodOneR.h.
Referenced by basicComponents(), and initialize().