#include <ME0Geometry.h>
Public Member Functions | |
void | add (ME0EtaPartition *etaPartition) |
Add a ME0 etaPartition to the Geometry. More... | |
void | add (ME0Chamber *chamber) |
Add a ME0 Chamber to the Geometry. More... | |
const std::vector< const ME0Chamber * > & | chambers () const |
Return a vector of all ME0 chambers. 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 ME0EtaPartition * | etaPartition (ME0DetId id) const |
Return a etaPartition given its id. More... | |
const std::vector < ME0EtaPartition const * > & | etaPartitions () const |
Return a vector of all ME0 eta partitions. 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... | |
ME0Geometry () | |
Default constructor. More... | |
virtual | ~ME0Geometry () |
Destructor. More... | |
Public Member Functions inherited from TrackingGeometry | |
virtual | ~TrackingGeometry () |
Destructor. More... | |
Private Attributes | |
std::vector< ME0Chamber const * > | allChambers |
std::vector< ME0EtaPartition const * > | allEtaPartitions |
DetIdContainer | theDetIds |
DetContainer | theDets |
DetIdContainer | theEtaPartitionIds |
DetUnitContainer | theEtaPartitions |
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 std::unordered_map < unsigned int, GeomDet const * > | mapIdToDet |
typedef std::unordered_map < unsigned int, GeomDetUnit const * > | mapIdToDetUnit |
The model of the geometry of ME0.
Definition at line 19 of file ME0Geometry.h.
ME0Geometry::ME0Geometry | ( | ) |
Default constructor.
Implementation of the Model for ME0 Geometry
Definition at line 9 of file ME0Geometry.cc.
|
virtual |
void ME0Geometry::add | ( | ME0EtaPartition * | etaPartition | ) |
Add a ME0 etaPartition to the Geometry.
Definition at line 67 of file ME0Geometry.cc.
References allEtaPartitions, etaPartition(), GeomDet::geographicalId(), theDetIds, theDets, theEtaPartitionIds, theEtaPartitions, theEtaPartitionTypes, theMap, and ME0EtaPartition::type().
Referenced by counter.Counter::register().
void ME0Geometry::add | ( | ME0Chamber * | chamber | ) |
Add a ME0 Chamber to the Geometry.
Definition at line 81 of file ME0Geometry.cc.
References allChambers, GeomDet::geographicalId(), theDetIds, theDets, and theMap.
Referenced by counter.Counter::register().
const std::vector< ME0Chamber const * > & ME0Geometry::chambers | ( | ) | const |
Return a vector of all ME0 chambers.
Definition at line 51 of file ME0Geometry.cc.
References allChambers.
|
virtual |
Returm a vector of all GeomDet DetIds (including those of GeomDetUnits)
Implements TrackingGeometry.
Definition at line 35 of file ME0Geometry.cc.
References theDetIds.
|
virtual |
Returm a vector of all GeomDet (including all GeomDetUnits)
Implements TrackingGeometry.
Definition at line 25 of file ME0Geometry.cc.
References theDets.
|
virtual |
Return a vector of all det types.
Implements TrackingGeometry.
Definition at line 15 of file ME0Geometry.cc.
References theEtaPartitionTypes.
|
virtual |
Returm a vector of all GeomDetUnit DetIds.
Implements TrackingGeometry.
Definition at line 30 of file ME0Geometry.cc.
References theEtaPartitionIds.
|
virtual |
Returm a vector of all GeomDetUnit.
Implements TrackingGeometry.
Definition at line 20 of file ME0Geometry.cc.
References theEtaPartitions.
const ME0EtaPartition * ME0Geometry::etaPartition | ( | ME0DetId | id | ) | const |
Return a etaPartition given its id.
Definition at line 61 of file ME0Geometry.cc.
References idToDetUnit().
Referenced by add(), and ME0SegmentBuilder::build().
const std::vector< ME0EtaPartition const * > & ME0Geometry::etaPartitions | ( | ) | const |
Return a vector of all ME0 eta partitions.
Definition at line 57 of file ME0Geometry.cc.
References allEtaPartitions.
Referenced by ME0DigiPreRecoProducer::produce().
Return the pointer to the GeomDet corresponding to a given DetId (valid also for GeomDetUnits)
Implements TrackingGeometry.
Definition at line 44 of file ME0Geometry.cc.
Referenced by MuonME0DetLayerGeometryBuilder::buildLayer(), and idToDetUnit().
|
virtual |
Return the pointer to the GeomDetUnit corresponding to a given DetId.
Implements TrackingGeometry.
Definition at line 40 of file ME0Geometry.cc.
References idToDet().
Referenced by etaPartition().
|
private |
Definition at line 78 of file ME0Geometry.h.
Referenced by add(), and chambers().
|
private |
Definition at line 77 of file ME0Geometry.h.
Referenced by add(), and etaPartitions().
|
private |
Definition at line 72 of file ME0Geometry.h.
|
private |
Definition at line 69 of file ME0Geometry.h.
|
private |
Definition at line 71 of file ME0Geometry.h.
Referenced by add(), and detUnitIds().
|
private |
Definition at line 68 of file ME0Geometry.h.
Referenced by add(), and detUnits().
|
private |
Definition at line 70 of file ME0Geometry.h.
Referenced by add(), and detTypes().
|
private |
Definition at line 75 of file ME0Geometry.h.