#include <GEMRegion.h>
Public Member Functions | |
void | add (GEMStation *st) |
Add station to the region which takes ownership. More... | |
const GeomDet * | component (DetId id) const |
Return the sub-component (super chamber) with a given id in this region. More... | |
std::vector< const GeomDet * > | components () const |
Return the super chambers in the region. More... | |
GEMRegion (int region) | |
constructor More... | |
std::vector< GEMDetId > | ids () const |
Return the vector of GEMDetIds in this ring. More... | |
int | nStations () const |
Return numbers of stations. More... | |
bool | operator== (const GEMRegion ®) const |
equal if the id is the same More... | |
int | region () const |
Return the region. More... | |
const GEMStation * | station (int st) const |
Return a station. More... | |
const std::vector< const GEMStation * > & | stations () const |
Return all stations. More... | |
const GEMSuperChamber * | superChamber (GEMDetId id) const |
Return the super chamber corresponding to the given id. More... | |
std::vector< const GEMSuperChamber * > | superChambers () const |
Return the super chambers in the region. More... | |
~GEMRegion () | |
destructor More... | |
Private Attributes | |
int | region_ |
std::vector< const GEMStation * > | stations_ |
GEMRegion::GEMRegion | ( | int | region | ) |
GEMRegion::~GEMRegion | ( | ) |
void GEMRegion::add | ( | GEMStation * | st | ) |
Add station to the region which takes ownership.
Definition at line 20 of file GEMRegion.cc.
References stations_.
Referenced by counter.Counter::register().
Return the sub-component (super chamber) with a given id in this region.
Definition at line 31 of file GEMRegion.cc.
References hcalRecHitTable_cff::detId, nano_mu_digi_cff::rawId, and station().
std::vector< const GeomDet * > GEMRegion::components | ( | ) | const |
Return the super chambers in the region.
Definition at line 22 of file GEMRegion.cc.
References mps_fire::result, and stations_.
std::vector< GEMDetId > GEMRegion::ids | ( | ) | const |
Return the vector of GEMDetIds in this ring.
Definition at line 9 of file GEMRegion.cc.
References mps_fire::result, and stations_.
int GEMRegion::nStations | ( | ) | const |
bool GEMRegion::operator== | ( | const GEMRegion & | reg | ) | const |
equal if the id is the same
Definition at line 18 of file GEMRegion.cc.
References region(), and region_.
int GEMRegion::region | ( | ) | const |
Return the region.
Definition at line 64 of file GEMRegion.cc.
References region_.
Referenced by AlignableMuon::buildGEMEndcap(), operator==(), GEMGeometry::region(), and superChamber().
const GEMStation * GEMRegion::station | ( | int | st | ) | const |
Return a station.
Definition at line 51 of file GEMRegion.cc.
References edm_modernize_messagelogger::stat, and stations_.
Referenced by component(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), and superChamber().
const std::vector< const GEMStation * > & GEMRegion::stations | ( | ) | const |
const GEMSuperChamber * GEMRegion::superChamber | ( | GEMDetId | id | ) | const |
Return the super chamber corresponding to the given id.
Definition at line 36 of file GEMRegion.cc.
References region(), region_, GEMStation::ring(), relativeConstraints::ring, station(), and GEMRing::superChamber().
std::vector< const GEMSuperChamber * > GEMRegion::superChambers | ( | ) | const |
Return the super chambers in the region.
Definition at line 42 of file GEMRegion.cc.
References mps_fire::result, and stations_.
|
private |
Definition at line 61 of file GEMRegion.h.
Referenced by operator==(), region(), and superChamber().
|
private |
Definition at line 63 of file GEMRegion.h.
Referenced by add(), components(), ids(), nStations(), station(), stations(), and superChambers().