CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
DetLayer Class Referenceabstract

#include <DetLayer.h>

Inheritance diagram for DetLayer:
GeometricSearchDet BarrelDetLayer ForwardDetLayer TBLayer PixelForwardLayer PixelForwardLayerPhase1 TECLayer TBPLayer TIBLayer Phase2OTtiltedBarrelLayer

Public Types

typedef GeomDetEnumerators::Location Location
 
typedef GeomDetEnumerators::SubDetector SubDetector
 
- Public Types inherited from GeometricSearchDet
typedef std::pair< const GeomDet *, TrajectoryStateOnSurfaceDetWithState
 
typedef BoundSurface::PositionType PositionType
 
typedef BoundSurface::RotationType RotationType
 
typedef TrajectoryStateOnSurface TrajectoryState
 

Public Member Functions

 DetLayer (bool doHaveGroup, bool ibar)
 
bool isBarrel () const
 
bool isForward () const
 
virtual Location location () const =0
 Which part of the detector (barrel, endcap) More...
 
int seqNum () const
 
void setSeqNum (int sq)
 
virtual SubDetector subDetector () const =0
 The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap) More...
 
 ~DetLayer () 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 const BoundSurfacesurface () const =0
 The surface of the GeometricSearchDet. More...
 
virtual ~GeometricSearchDet ()
 

Private Attributes

bool iAmBarrel
 
int theSeqNum
 

Additional Inherited Members

- Protected Attributes inherited from GeometricSearchDet
bool haveGroups
 
GeomDetCompatibilityChecker theCompatibilityChecker
 

Detailed Description

The DetLayer is the detector abstraction used for track reconstruction. It inherits from GeometricSearchDet the interface for accessing components and compatible components. It extends the interface by providing navigation capability from one layer to another. The Navigation links are managed by the NavigationSchool

Definition at line 21 of file DetLayer.h.

Member Typedef Documentation

◆ Location

typedef GeomDetEnumerators::Location DetLayer::Location

Definition at line 24 of file DetLayer.h.

◆ SubDetector

typedef GeomDetEnumerators::SubDetector DetLayer::SubDetector

Definition at line 23 of file DetLayer.h.

Constructor & Destructor Documentation

◆ DetLayer()

DetLayer::DetLayer ( bool  doHaveGroup,
bool  ibar 
)
inline

Definition at line 26 of file DetLayer.h.

26 : GeometricSearchDet(doHaveGroup), theSeqNum(-1), iAmBarrel(ibar) {}

◆ ~DetLayer()

DetLayer::~DetLayer ( )
override

Definition at line 3 of file DetLayer.cc.

3 {}

Member Function Documentation

◆ isBarrel()

bool DetLayer::isBarrel ( ) const
inline

◆ isForward()

bool DetLayer::isForward ( ) const
inline

Definition at line 32 of file DetLayer.h.

32 { return !isBarrel(); }

References isBarrel().

◆ location()

virtual Location DetLayer::location ( ) const
pure virtual

◆ seqNum()

int DetLayer::seqNum ( ) const
inline

◆ setSeqNum()

void DetLayer::setSeqNum ( int  sq)
inline

Definition at line 36 of file DetLayer.h.

36 { theSeqNum = sq; }

References theSeqNum.

◆ subDetector()

virtual SubDetector DetLayer::subDetector ( ) const
pure virtual

Member Data Documentation

◆ iAmBarrel

bool DetLayer::iAmBarrel
private

Definition at line 48 of file DetLayer.h.

Referenced by isBarrel().

◆ theSeqNum

int DetLayer::theSeqNum
private

Definition at line 47 of file DetLayer.h.

Referenced by seqNum(), and setSeqNum().

GeometricSearchDet::GeometricSearchDet
GeometricSearchDet(bool doHaveGroups)
Definition: GeometricSearchDet.h:24
DetLayer::theSeqNum
int theSeqNum
Definition: DetLayer.h:47
DetLayer::iAmBarrel
bool iAmBarrel
Definition: DetLayer.h:48
DetLayer::isBarrel
bool isBarrel() const
Definition: DetLayer.h:31