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