CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

ForwardDetRingOneZ Class Reference

#include <ForwardDetRingOneZ.h>

Inheritance diagram for ForwardDetRingOneZ:
ForwardDetRing GeometricSearchDet MuDetRing

List of all members.

Public Member Functions

virtual const std::vector
< const GeomDet * > & 
basicComponents () const
 ForwardDetRingOneZ (std::vector< const GeomDet * >::const_iterator first, std::vector< const GeomDet * >::const_iterator last)
 Construct from iterators on Det*.
 ForwardDetRingOneZ ()
 Dummy constructor.
 ForwardDetRingOneZ (const std::vector< const GeomDet * > &dets)
virtual ~ForwardDetRingOneZ ()

Protected Member Functions

bool add (int idet, std::vector< DetWithState > &result, const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est) const

Private Member Functions

void initialize ()

Private Attributes

std::vector< const GeomDet * > theDets

Detailed Description

A ring of detectors, all having the same BoundDisk.

Definition at line 11 of file ForwardDetRingOneZ.h.


Constructor & Destructor Documentation

ForwardDetRingOneZ::ForwardDetRingOneZ ( ) [inline]

Dummy constructor.

Definition at line 15 of file ForwardDetRingOneZ.h.

{};
ForwardDetRingOneZ::ForwardDetRingOneZ ( std::vector< const GeomDet * >::const_iterator  first,
std::vector< const GeomDet * >::const_iterator  last 
)

Construct from iterators on Det*.

ForwardDetRingOneZ::ForwardDetRingOneZ ( const std::vector< const GeomDet * > &  dets)
ForwardDetRingOneZ::~ForwardDetRingOneZ ( ) [virtual]

Definition at line 14 of file ForwardDetRingOneZ.cc.

{}

Member Function Documentation

bool ForwardDetRingOneZ::add ( int  idet,
std::vector< DetWithState > &  result,
const TrajectoryStateOnSurface tsos,
const Propagator prop,
const MeasurementEstimator est 
) const [protected]
virtual const std::vector<const GeomDet*>& ForwardDetRingOneZ::basicComponents ( ) const [inline, virtual]

Implements GeometricSearchDet.

Definition at line 26 of file ForwardDetRingOneZ.h.

References theDets.

Referenced by MuDetRing::compatibleDets(), and MuDetRing::init().

{return theDets;}
void ForwardDetRingOneZ::initialize ( ) [private]

Definition at line 30 of file ForwardDetRingOneZ.cc.

References precomputed_value_sort(), ForwardDetRing::setDisk(), and theDets.

{
  // assume the dets ARE in a ring
  // sort them in phi
  precomputed_value_sort( theDets.begin(), theDets.end(), geomsort::DetPhi());
  setDisk(ForwardRingDiskBuilderFromDet()(theDets));
}

Member Data Documentation

std::vector<const GeomDet*> ForwardDetRingOneZ::theDets [private]

Definition at line 36 of file ForwardDetRingOneZ.h.

Referenced by basicComponents(), and initialize().