#include <GEMChamber.h>
Public Member Functions | |
void | add (GEMEtaPartition *roll) |
Add EtaPartition to the chamber which takes ownership. More... | |
virtual const GeomDet * | component (DetId id) const |
Return the sub-component (roll) with a given id in this chamber. More... | |
virtual std::vector< const GeomDet * > | components () const |
Return the rolls in the chamber. More... | |
const GEMEtaPartition * | etaPartition (GEMDetId id) const |
Return the eta partition corresponding to the given id. More... | |
const GEMEtaPartition * | etaPartition (int isl) const |
const std::vector< const GEMEtaPartition * > & | etaPartitions () const |
Return the eta partitions. More... | |
GEMChamber (GEMDetId id, const ReferenceCountingPointer< BoundPlane > &plane) | |
Constructor. More... | |
GEMDetId | id () const |
Return the GEMDetId of this chamber. More... | |
int | nEtaPartitions () const |
Retunr numbers of eta partitions. More... | |
bool | operator== (const GEMChamber &ch) const |
equal if the id is the same More... | |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
virtual | ~GEMChamber () |
Destructor. More... | |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError const * | alignmentPositionError () const |
Return pointer to alignment errors. More... | |
int | gdetIndex () const |
DetId | geographicalId () const |
The label of this GeomDet. More... | |
GeomDet (Plane *plane) | |
GeomDet (const ReferenceCountingPointer< Plane > &plane) | |
int | index () const |
virtual bool | isLeaf () const |
is a Unit More... | |
const Surface::PositionType & | position () const |
The position (origin of the R.F.) More... | |
const Surface::RotationType & | rotation () const |
The rotation defining the local R.F. More... | |
void | setGdetIndex (int i) |
void | setIndex (int i) |
const Plane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
const Plane & | surface () const |
The nominal surface of the GeomDet. More... | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
GlobalPoint | toGlobal (const Local2DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
GlobalPoint | toGlobal (const Local3DPoint &lp) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
GlobalVector | toGlobal (const LocalVector &lv) const |
Conversion to the global R.F. from the R.F. of the GeomDet. More... | |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Conversion to the R.F. of the GeomDet. More... | |
LocalVector | toLocal (const GlobalVector &gv) const |
Conversion to the R.F. of the GeomDet. More... | |
virtual const Topology & | topology () const |
virtual const GeomDetType & | type () const |
virtual | ~GeomDet () |
Private Attributes | |
GEMDetId | detId_ |
std::vector< const GEMEtaPartition * > | etaPartitions_ |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
using | SubDetector = GeomDetEnumerators::SubDetector |
Protected Member Functions inherited from GeomDet | |
void | setDetId (DetId id) |
Protected Attributes inherited from GeomDet | |
AlignmentPositionError * | theAlignmentPositionError = 0 |
Model of a GEM chamber.
A chamber is a GeomDet. The chamber is composed by 6,8 or 10 eta partitions (GeomDetUnit).
Definition at line 19 of file GEMChamber.h.
GEMChamber::GEMChamber | ( | GEMDetId | id, |
const ReferenceCountingPointer< BoundPlane > & | plane | ||
) |
Constructor.
Implementation of the Model for a GEM Chamber
Definition at line 11 of file GEMChamber.cc.
References GeomDet::setDetId().
|
virtual |
void GEMChamber::add | ( | GEMEtaPartition * | roll | ) |
Add EtaPartition to the chamber which takes ownership.
Definition at line 27 of file GEMChamber.cc.
References etaPartitions_.
Referenced by GEMGeometryBuilderFromDDD::buildGeometry(), counter.Counter::register(), and subDetector().
Return the sub-component (roll) with a given id in this chamber.
Reimplemented from GeomDet.
Definition at line 35 of file GEMChamber.cc.
References etaPartition().
Referenced by subDetector().
|
virtual |
Return the rolls in the chamber.
Reimplemented from GeomDet.
Definition at line 31 of file GEMChamber.cc.
References etaPartitions_.
Referenced by subDetector().
const GEMEtaPartition * GEMChamber::etaPartition | ( | GEMDetId | id | ) | const |
Return the eta partition corresponding to the given id.
Definition at line 47 of file GEMChamber.cc.
References detId_.
Referenced by component(), and subDetector().
const GEMEtaPartition * GEMChamber::etaPartition | ( | int | isl | ) | const |
Definition at line 52 of file GEMChamber.cc.
References etaPartitions_.
const std::vector< const GEMEtaPartition * > & GEMChamber::etaPartitions | ( | ) | const |
Return the eta partitions.
Definition at line 39 of file GEMChamber.cc.
References etaPartitions_.
Referenced by GEMCSCSegmentBuilder::LinkGEMRollsToCSCChamberIndex(), and subDetector().
GEMDetId GEMChamber::id | ( | void | ) | const |
Return the GEMDetId of this chamber.
Definition at line 19 of file GEMChamber.cc.
References detId_.
Referenced by operator==().
int GEMChamber::nEtaPartitions | ( | ) | const |
Retunr numbers of eta partitions.
Definition at line 43 of file GEMChamber.cc.
References etaPartitions_.
Referenced by GEMTrackMatch::setGeometry(), and subDetector().
bool GEMChamber::operator== | ( | const GEMChamber & | ch | ) | const |
equal if the id is the same
Definition at line 23 of file GEMChamber.cc.
References id().
Referenced by subDetector().
|
inlinevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 31 of file GEMChamber.h.
References add(), component(), components(), etaPartition(), etaPartitions(), GeomDetEnumerators::GEM, nEtaPartitions(), and operator==().
|
private |
Definition at line 58 of file GEMChamber.h.
Referenced by etaPartition(), and id().
|
private |
Definition at line 61 of file GEMChamber.h.
Referenced by add(), components(), etaPartition(), etaPartitions(), and nEtaPartitions().