1 #ifndef Geometry_GEMGeometry_ME0Chamber_h
2 #define Geometry_GEMGeometry_ME0Chamber_h
31 virtual std::vector<const GeomDet*>
components()
const;
42 const std::vector<const ME0Layer*>&
layers()
const;
60 const std::vector<const ME0EtaPartition*>&
etaPartitions()
const;
int nLayers() const
Retunr numbers of layers.
const std::vector< const ME0EtaPartition * > & etaPartitions() const
int nEtaPartitions() const
virtual std::vector< const GeomDet * > components() const
Return the rolls in the chamber.
const ME0Layer * layer(ME0DetId id) const
Return the layer corresponding to the given id.
std::vector< const ME0EtaPartition * > etaPartitions_
virtual ~ME0Chamber()
Destructor.
ME0DetId id() const
Return the ME0DetId of this chamber.
void add(ME0Layer *layer)
Add Layer to the chamber which takes ownership.
std::vector< const ME0Layer * > layers_
ME0Chamber(ME0DetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
const ME0EtaPartition * etaPartition(ME0DetId id) const
bool operator==(const ME0Chamber &ch) const
equal if the id is the same
virtual SubDetector subDetector() const
Which subdetector.
virtual const GeomDet * component(DetId id) const
Return the sub-component (roll) with a given id in this chamber.
const std::vector< const ME0Layer * > & layers() const
Return the layers.