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