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

 GeometricSearchDet (bool doHaveGroups)
 
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::~DetRod ( )
override

Definition at line 5 of file DetRod.cc.

5 {}

Member Function Documentation

◆ GeometricSearchDet()

GeometricSearchDet::GeometricSearchDet
inline

Definition at line 24 of file GeometricSearchDet.h.

24 : haveGroups(doHaveGroups) {}

◆ setPlane()

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

◆ specificSurface()

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

◆ surface()

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

◆ thePlane

ReferenceCountingPointer<Plane> DetRod::thePlane
private

Definition at line 36 of file DetRod.h.

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