#include <ME0Geometry.h>
Public Member Functions | |
void | add (ME0EtaPartition *etaPartition) |
Add a ME0 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 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< 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 ME0GeometryBuilderFromDDD::buildGeometry().
|
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().
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 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 71 of file ME0Geometry.h.
Referenced by add(), and etaPartitions().
|
private |
Definition at line 66 of file ME0Geometry.h.
|
private |
Definition at line 63 of file ME0Geometry.h.
|
private |
Definition at line 65 of file ME0Geometry.h.
Referenced by add(), and detUnitIds().
|
private |
Definition at line 62 of file ME0Geometry.h.
Referenced by add(), and detUnits().
|
private |
Definition at line 64 of file ME0Geometry.h.
Referenced by add(), and detTypes().
|
private |
Definition at line 69 of file ME0Geometry.h.