1 #ifndef Geometry_GEMGeometry_ME0Layer_h 2 #define Geometry_GEMGeometry_ME0Layer_h 30 std::vector<const GeomDet*>
components()
const override;
41 const std::vector<const ME0EtaPartition*>&
etaPartitions()
const;
std::vector< const ME0EtaPartition * > etaPartitions_
std::vector< const GeomDet * > components() const override
Return the rolls in the layer.
~ME0Layer() override
Destructor.
bool operator==(const ME0Layer &ch) const
equal if the id is the same
ME0Layer(ME0DetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
ME0DetId id() const
Return the ME0DetId of this layer.
void add(const ME0EtaPartition *roll)
Add EtaPartition to the layer which takes ownership.
int nEtaPartitions() const
Retunr numbers of eta partitions.
const std::vector< const ME0EtaPartition * > & etaPartitions() const
Return the eta partitions.
const GeomDet * component(DetId id) const override
Return the sub-component (roll) with a given id in this layer.
const ME0EtaPartition * etaPartition(ME0DetId id) const
Return the eta partition corresponding to the given id.
SubDetector subDetector() const override
Which subdetector.