CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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,
TrajectoryStateOnSurface
compatible (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::PositionType
position () 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
*, TrajectoryStateOnSurface
DetWithState
 
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 28 of file DetRod.h.

References thePlane.

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

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

Return the rod surface as a Plane.

Definition at line 24 of file DetRod.h.

References thePlane.

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

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

The surface of the GeometricSearchDet.

Implements GeometricSearchDet.

Definition at line 19 of file DetRod.h.

References thePlane.

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

19 { return *thePlane; }
ReferenceCountingPointer< Plane > thePlane
Definition: DetRod.h:36

Member Data Documentation

ReferenceCountingPointer<Plane> DetRod::thePlane
private

Definition at line 36 of file DetRod.h.

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