#include <TrackingTools/DetLayers/interface/DetRodOneR.h>
Public Types | |
typedef std::vector < GeometricSearchDet * > | DetContainer |
Public Member Functions | |
virtual const std::vector < const GeomDet * > & | basicComponents () const |
DetRodOneR (const std::vector< const GeomDet * > &dets) | |
Construct from a std::vector of GeomDet*. | |
DetRodOneR (std::vector< const GeomDet * >::const_iterator first, std::vector< const GeomDet * >::const_iterator last) | |
Construct from iterators on GeomDet*. | |
DetRodOneR () | |
Dummy constructor. | |
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 |
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] |
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.
virtual const std::vector<const GeomDet*>& DetRodOneR::basicComponents | ( | ) | const [inline, virtual] |
Implements GeometricSearchDet.
Definition at line 30 of file DetRodOneR.h.
References theDets.
Referenced by MuDetRod::compatibleDets(), and MuDetRod::init().
00030 {return theDets;}
Definition at line 29 of file DetRodOneR.cc.
References precomputed_value_sort(), DetRod::setPlane(), and theDets.
00030 { 00031 // assume the dets ARE in a rod; 00032 // sort them in Z 00033 00034 precomputed_value_sort( theDets.begin(), theDets.end(), geomsort::DetZ()); 00035 00036 setPlane( RodPlaneBuilderFromDet()( theDets)); 00037 00038 }
std::vector<const GeomDet*> DetRodOneR::theDets [protected] |
Definition at line 42 of file DetRodOneR.h.
Referenced by basicComponents(), PixelRod::compatibleDetsV(), and initialize().