CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
DetRod Class Reference

#include <DetRod.h>

Inheritance diagram for DetRod:
GeometricSearchDet DetRodOneR Phase2OTBarrelRod TOBRod MTDDetTray MuDetRod PixelRod

Public Member Functions

virtual const PlanespecificSurface () const final
 Return the rod surface as a Plane. More...
 
const BoundSurfacesurface () const final
 The surface of the GeometricSearchDet. More...
 
 ~DetRod () override
 
- Public Member Functions inherited from GeometricSearchDet
virtual const std::vector< const GeomDet * > & basicComponents () const =0
 
virtual std::pair< bool, TrajectoryStateOnSurfacecompatible (const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const =0
 
virtual std::vector< DetWithStatecompatibleDets (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< DetGroupgroupedCompatibleDets (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::PositionTypeposition () const
 Returns position of the surface. More...
 
virtual ~GeometricSearchDet ()
 

Protected Member Functions

void setPlane (Plane *plane)
 Set the rod's plane. More...
 

Private Attributes

ReferenceCountingPointer< PlanethePlane
 

Additional Inherited Members

- Public Types inherited from GeometricSearchDet
typedef std::pair< const GeomDet *, TrajectoryStateOnSurfaceDetWithState
 
typedef BoundSurface::PositionType PositionType
 
typedef BoundSurface::RotationType RotationType
 
typedef TrajectoryStateOnSurface TrajectoryState
 
- Protected Attributes inherited from GeometricSearchDet
bool haveGroups
 
GeomDetCompatibilityChecker theCompatibilityChecker
 

Detailed Description

Abstract interface for a rod of detectors sitting on a Plane.

Definition at line 13 of file DetRod.h.

Constructor & Destructor Documentation

DetRod::~DetRod ( )
override

Definition at line 5 of file DetRod.cc.

5 {}

Member Function Documentation

void DetRod::setPlane ( Plane plane)
inlineprotected

Set the rod's plane.

Definition at line 32 of file DetRod.h.

References thePlane.

Referenced by DetRodOneR::initialize(), Phase2OTBarrelRod::Phase2OTBarrelRod(), and TOBRod::TOBRod().

32 { thePlane = plane;}
ReferenceCountingPointer< Plane > thePlane
Definition: DetRod.h:40
virtual const Plane& DetRod::specificSurface ( ) const
inlinefinalvirtual

Return the rod surface as a Plane.

Definition at line 27 of file DetRod.h.

References thePlane.

Referenced by MTDDetTray::compatible(), MuDetRod::compatible(), and PixelRod::compatibleDetsV().

27 {return *thePlane;}
ReferenceCountingPointer< Plane > thePlane
Definition: DetRod.h:40
const BoundSurface& DetRod::surface ( ) const
inlinefinalvirtual

The surface of the GeometricSearchDet.

Implements GeometricSearchDet.

Definition at line 21 of file DetRod.h.

References thePlane.

Referenced by MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), and PixelRod::compatibleDetsV().

21 {return *thePlane;}
ReferenceCountingPointer< Plane > thePlane
Definition: DetRod.h:40

Member Data Documentation

ReferenceCountingPointer<Plane> DetRod::thePlane
private

Definition at line 40 of file DetRod.h.

Referenced by setPlane(), specificSurface(), and surface().