#include <GEMGeometry.h>
Public Member Functions | |
void | add (GEMEtaPartition *etaPartition) |
Add a GEM etaPartition to the Geometry. More... | |
virtual const DetIdContainer & | detIds () const override |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits) More... | |
virtual const DetContainer & | dets () const override |
Returm a vector of all GeomDet (including all GeomDetUnits) More... | |
virtual const DetTypeContainer & | detTypes () const override |
Return a vector of all det types. More... | |
virtual const DetIdContainer & | detUnitIds () const override |
Returm a vector of all GeomDetUnit DetIds. More... | |
virtual const DetUnitContainer & | detUnits () const override |
Returm a vector of all GeomDetUnit. More... | |
const GEMEtaPartition * | etaPartition (GEMDetId id) const |
Return a etaPartition given its id. More... | |
const std::vector< const GEMEtaPartition * > & | etaPartitions () const |
Return a vector of all GEM chambers. More... | |
GEMGeometry () | |
Default constructor. More... | |
virtual const GeomDet * | idToDet (DetId) const override |
virtual const GeomDetUnit * | idToDetUnit (DetId) const override |
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< const 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 const * > | DetContainer |
typedef std::vector< DetId > | DetIdContainer |
typedef std::vector < GeomDetType const * > | DetTypeContainer |
typedef std::vector < GeomDetUnit const * > | DetUnitContainer |
typedef __gnu_cxx::hash_map < unsigned int, GeomDet const * > | mapIdToDet |
typedef __gnu_cxx::hash_map < unsigned int, GeomDetUnit const * > | 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().
|
overridevirtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 35 of file GEMGeometry.cc.
References theDetIds.
|
overridevirtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 25 of file GEMGeometry.cc.
References theDets.
|
overridevirtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 15 of file GEMGeometry.cc.
References theEtaPartitionTypes.
|
overridevirtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 30 of file GEMGeometry.cc.
References theEtaPartitionIds.
|
overridevirtual |
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(), and GEMSimpleModel::getSimHitBx().
const std::vector< const 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(), FWTGeoRecoGeometryESProducer::addGEMGeometry(), GEMPadDigiProducer::buildPads(), and GEMDigiProducer::produce().
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().
|
overridevirtual |
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().
|
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.