#include <GEMGeometry.h>
Public Member Functions | |
void | add (GEMEtaPartition *etaPartition) |
Add a GEM etaPartition to the Geometry. More... | |
virtual const DetIdContainer & | detIds () const |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
virtual const DetContainer & | dets () const |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
virtual const DetTypeContainer & | detTypes () const |
Return a vector of all det types. More... | |
virtual const DetIdContainer & | detUnitIds () const |
Returm a vector of all GeomDetUnit DetIds. More... | |
virtual const DetUnitContainer & | detUnits () const |
Returm a vector of all GeomDetUnit. More... | |
const GEMEtaPartition * | etaPartition (GEMDetId id) const |
Return a etaPartition given its id. More... | |
const std::vector < GEMEtaPartition * > & | etaPartitions () const |
Return a vector of all GEM chambers. More... | |
GEMGeometry () | |
Default constructor. More... | |
virtual const GeomDet * | idToDet (DetId) const |
virtual const GeomDetUnit * | idToDetUnit (DetId) const |
Return the pointer to the GeomDetUnit corresponding to a given DetId. More... | |
virtual | ~GEMGeometry () |
Destructor. More... | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Attributes | |
std::vector< GEMEtaPartition * > | allEtaPartitions |
DetIdContainer | theDetIds |
DetContainer | theDets |
DetIdContainer | theEtaPartitionIds |
DetUnitContainer | theEtaPartitions |
Add a GEM Chamber to the Geometry. More... | |
DetTypeContainer | theEtaPartitionTypes |
mapIdToDet | theMap |
Additional Inherited Members | |
Public Types inherited from TrackingGeometry | |
typedef std::vector< GeomDet * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
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 |
The model of the geometry of GEM.
Definition at line 21 of file GEMGeometry.h.
GEMGeometry::GEMGeometry | ( | ) |
Default constructor.
Implementation of the Model for GEM Geometry
Definition at line 9 of file GEMGeometry.cc.
|
virtual |
void GEMGeometry::add | ( | GEMEtaPartition * | etaPartition | ) |
Add a GEM etaPartition to the Geometry.
Definition at line 71 of file GEMGeometry.cc.
References allEtaPartitions, etaPartition(), GeomDet::geographicalId(), theDetIds, theDets, theEtaPartitionIds, theEtaPartitions, theEtaPartitionTypes, theMap, and GEMEtaPartition::type().
Referenced by GEMGeometryBuilderFromDDD::buildGeometry().
|
virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 35 of file GEMGeometry.cc.
References theDetIds.
|
virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 25 of file GEMGeometry.cc.
References theDets.
Referenced by GEMSynchronizer::getSimHitBx(), and GEMSimSetUp::setup().
|
virtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 15 of file GEMGeometry.cc.
References theEtaPartitionTypes.
|
virtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 30 of file GEMGeometry.cc.
References theEtaPartitionIds.
|
virtual |
Returm a vector of all GeomDetUnit.
Implements TrackingGeometry.
Definition at line 20 of file GEMGeometry.cc.
References theEtaPartitions.
const GEMEtaPartition * GEMGeometry::etaPartition | ( | GEMDetId | id | ) | const |
Return a etaPartition given its id.
Definition at line 65 of file GEMGeometry.cc.
References idToDetUnit().
Referenced by add().
const std::vector< GEMEtaPartition * > & GEMGeometry::etaPartitions | ( | ) | const |
Return a vector of all GEM chambers.
Return a vector of all GEM eta partitions
Definition at line 57 of file GEMGeometry.cc.
References allEtaPartitions.
Referenced by FWRecoGeometryESProducer::addGEMGeometry(), GEMCSCPadDigiProducer::buildPads(), and GEMDigitizer::digitize().
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 44 of file GEMGeometry.cc.
Referenced by idToDetUnit().
|
virtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 40 of file GEMGeometry.cc.
References idToDet().
Referenced by etaPartition(), and GEMDigitizer::findDet().
|
private |
Definition at line 82 of file GEMGeometry.h.
Referenced by add(), and etaPartitions().
|
private |
Definition at line 77 of file GEMGeometry.h.
|
private |
Definition at line 74 of file GEMGeometry.h.
|
private |
Definition at line 76 of file GEMGeometry.h.
Referenced by add(), and detUnitIds().
|
private |
Add a GEM Chamber to the Geometry.
Definition at line 73 of file GEMGeometry.h.
Referenced by add(), and detUnits().
|
private |
Definition at line 75 of file GEMGeometry.h.
Referenced by add(), and detTypes().
|
private |
Definition at line 80 of file GEMGeometry.h.