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
TrackingGeometry Class Referenceabstract

#include <TrackingGeometry.h>

Inheritance diagram for TrackingGeometry:
CSCGeometry DTGeometry GlobalTrackingGeometry RPCGeometry TrackerGeometry

Public Types

typedef std::vector< GeomDet * > DetContainer
 
typedef std::vector< DetIdDetIdContainer
 
typedef std::vector
< GeomDetType * > 
DetTypeContainer
 
typedef std::vector
< GeomDetUnit * > 
DetUnitContainer
 
typedef __gnu_cxx::hash_map
< unsigned int, GeomDet * > 
mapIdToDet
 
typedef __gnu_cxx::hash_map
< unsigned int, GeomDetUnit * > 
mapIdToDetUnit
 

Public Member Functions

virtual const DetIdContainerdetIds () const =0
 Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More...
 
virtual const DetContainerdets () const =0
 Returm a vector of all GeomDet (including all GeomDetUnits) More...
 
virtual const DetTypeContainerdetTypes () const =0
 Return a vector of all det types. More...
 
virtual const DetIdContainerdetUnitIds () const =0
 Returm a vector of all GeomDetUnit DetIds. More...
 
virtual const DetUnitContainerdetUnits () const =0
 Returm a vector of all GeomDetUnit. More...
 
virtual const GeomDetidToDet (DetId) const =0
 
virtual const GeomDetUnitidToDetUnit (DetId) const =0
 Return the pointer to the GeomDetUnit corresponding to a given DetId. More...
 
virtual ~TrackingGeometry ()
 Destructor. More...
 

Detailed Description

Base class for the geometry of tracking detectors. A geometry contains both the GeomDetUnit s and bigger composite structures, which are concrete GeomDet s.

There are therefore 2 kind of methods in the interface:

Date:
2007/06/05 08:38:46
Revision:
1.4

Definition at line 32 of file TrackingGeometry.h.

Member Typedef Documentation

typedef std::vector<GeomDet*> TrackingGeometry::DetContainer

Definition at line 36 of file TrackingGeometry.h.

Definition at line 38 of file TrackingGeometry.h.

Definition at line 35 of file TrackingGeometry.h.

Definition at line 37 of file TrackingGeometry.h.

typedef __gnu_cxx::hash_map< unsigned int, GeomDet*> TrackingGeometry::mapIdToDet

Definition at line 42 of file TrackingGeometry.h.

typedef __gnu_cxx::hash_map< unsigned int, GeomDetUnit*> TrackingGeometry::mapIdToDetUnit

Definition at line 41 of file TrackingGeometry.h.

Constructor & Destructor Documentation

virtual TrackingGeometry::~TrackingGeometry ( )
inlinevirtual

Destructor.

Definition at line 48 of file TrackingGeometry.h.

48 {}

Member Function Documentation

virtual const DetIdContainer& TrackingGeometry::detIds ( ) const
pure virtual

Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)

Implemented in CSCGeometry, DTGeometry, RPCGeometry, GlobalTrackingGeometry, and TrackerGeometry.

virtual const DetContainer& TrackingGeometry::dets ( ) const
pure virtual

Returm a vector of all GeomDet (including all GeomDetUnits)

Implemented in CSCGeometry, DTGeometry, RPCGeometry, TrackerGeometry, and GlobalTrackingGeometry.

Referenced by MuonDetIdAssociator::getValidDetIds().

virtual const DetTypeContainer& TrackingGeometry::detTypes ( ) const
pure virtual

Return a vector of all det types.

Implemented in CSCGeometry, DTGeometry, TrackerGeometry, RPCGeometry, and GlobalTrackingGeometry.

virtual const DetIdContainer& TrackingGeometry::detUnitIds ( ) const
pure virtual

Returm a vector of all GeomDetUnit DetIds.

Implemented in CSCGeometry, DTGeometry, RPCGeometry, GlobalTrackingGeometry, and TrackerGeometry.

virtual const DetUnitContainer& TrackingGeometry::detUnits ( ) const
pure virtual

Returm a vector of all GeomDetUnit.

Implemented in CSCGeometry, DTGeometry, TrackerGeometry, RPCGeometry, and GlobalTrackingGeometry.

virtual const GeomDet* TrackingGeometry::idToDet ( DetId  ) const
pure virtual
virtual const GeomDetUnit* TrackingGeometry::idToDetUnit ( DetId  ) const
pure virtual

Return the pointer to the GeomDetUnit corresponding to a given DetId.

Implemented in CSCGeometry, DTGeometry, RPCGeometry, GlobalTrackingGeometry, and TrackerGeometry.

Referenced by GlobalTrackingGeometry::idToDetUnit().