CMS 3D CMS Logo

DetRodOneR Class Reference

A rod of detectors, all having the same BoundPlane. More...

#include <TrackingTools/DetLayers/interface/DetRodOneR.h>

Inheritance diagram for DetRodOneR:

DetRod GeometricSearchDet MuDetRod PixelRod

List of all members.

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


Detailed Description

A rod of detectors, all having the same BoundPlane.

Definition at line 14 of file DetRodOneR.h.


Member Typedef Documentation

typedef std::vector<GeometricSearchDet*> DetRodOneR::DetContainer

Definition at line 16 of file DetRodOneR.h.


Constructor & Destructor Documentation

DetRodOneR::DetRodOneR (  )  [inline]

Dummy constructor.

Definition at line 19 of file DetRodOneR.h.

00019 {};

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.

00013 {}


Member Function Documentation

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;}

void DetRodOneR::initialize ( void   )  [protected]

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 }


Member Data Documentation

std::vector<const GeomDet*> DetRodOneR::theDets [protected]

Definition at line 42 of file DetRodOneR.h.

Referenced by basicComponents(), PixelRod::compatibleDetsV(), and initialize().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:18:24 2009 for CMSSW by  doxygen 1.5.4