test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

Public Types

typedef
GeomDetEnumerators::Location 
Location
 
typedef
GeomDetEnumerators::SubDetector 
SubDetector
 
- Public Types inherited from GeometricSearchDet
typedef std::pair< const
GeomDet
*, TrajectoryStateOnSurface
DetWithState
 
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...
 
virtual ~DetLayer ()
 
- 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 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

typedef GeomDetEnumerators::Location DetLayer::Location

Definition at line 25 of file DetLayer.h.

typedef GeomDetEnumerators::SubDetector DetLayer::SubDetector

Definition at line 24 of file DetLayer.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file DetLayer.h.

27 : GeometricSearchDet(doHaveGroup), theSeqNum(-1), iAmBarrel(ibar) {}
GeometricSearchDet(bool doHaveGroups)
bool iAmBarrel
Definition: DetLayer.h:51
int theSeqNum
Definition: DetLayer.h:50
DetLayer::~DetLayer ( )
virtual

Definition at line 3 of file DetLayer.cc.

3 {}

Member Function Documentation

bool DetLayer::isBarrel ( ) const
inline
bool DetLayer::isForward ( ) const
inline

Definition at line 33 of file DetLayer.h.

References isBarrel().

33 { return !isBarrel();}
bool isBarrel() const
Definition: DetLayer.h:32
virtual Location DetLayer::location ( ) const
pure virtual
int DetLayer::seqNum ( ) const
inline
void DetLayer::setSeqNum ( int  sq)
inline

Definition at line 37 of file DetLayer.h.

References theSeqNum.

Referenced by GeometricSearchTracker::GeometricSearchTracker().

37 { theSeqNum=sq;}
int theSeqNum
Definition: DetLayer.h:50
virtual SubDetector DetLayer::subDetector ( ) const
pure virtual

Member Data Documentation

bool DetLayer::iAmBarrel
private

Definition at line 51 of file DetLayer.h.

Referenced by isBarrel().

int DetLayer::theSeqNum
private

Definition at line 50 of file DetLayer.h.

Referenced by seqNum(), and setSeqNum().