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