1 #ifndef Geometry_GEMGeometry_ME0Chamber_h
2 #define Geometry_GEMGeometry_ME0Chamber_h
40 virtual std::vector<const GeomDet*>
components()
const;
51 const std::vector<const ME0EtaPartition*>&
etaPartitions()
const;
const std::vector< const ME0EtaPartition * > & etaPartitions() const
Return the eta partitions.
int nEtaPartitions() const
Retunr numbers of eta partitions.
virtual std::vector< const GeomDet * > components() const
Return the rolls in the chamber.
std::vector< const ME0EtaPartition * > etaPartitions_
virtual ~ME0Chamber()
Destructor.
void add(ME0EtaPartition *roll)
Add EtaPartition to the chamber which takes ownership.
ME0DetId id() const
Return the ME0DetId of this chamber.
ME0Chamber(ME0DetId id, const ReferenceCountingPointer< BoundPlane > &plane)
Constructor.
const ME0EtaPartition * etaPartition(ME0DetId id) const
Return the eta partition corresponding to the given id.
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.