#include <GEMSuperChamber.h>
Public Member Functions | |
void | add (const GEMChamber *ch) |
Add chamber to the super chamber which takes ownership. More... | |
const GEMChamber * | chamber (GEMDetId id) const |
Return the chamber corresponding to the given id. More... | |
const GEMChamber * | chamber (int layer) const |
const std::vector< const GEMChamber * > & | chambers () const |
Return the chambers in the super chamber. More... | |
const GeomDet * | component (DetId id) const override |
Return the sub-component (chamber) with a given id in this super chamber. More... | |
std::vector< const GeomDet * > | components () const override |
Return the chambers in the super chamber. More... | |
GEMSuperChamber (GEMDetId id, const ReferenceCountingPointer< BoundPlane > &plane) | |
constructor More... | |
GEMDetId | id () const |
Return the GEMDetId of this super chamber. More... | |
const std::vector< GEMDetId > & | ids () const |
Return the vector of GEMDetIds in this super chamber. More... | |
int | nChambers () const |
Return numbers of chambers. More... | |
bool | operator== (const GEMSuperChamber &sch) const |
equal if the id is the same More... | |
SubDetector | subDetector () const override |
Which subdetector. More... | |
~GEMSuperChamber () override | |
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 (const ReferenceCountingPointer< Plane > &plane) | |
GeomDet (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 | |
std::vector< const GEMChamber * > | chambers_ |
GEMDetId | detId_ |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
using | SubDetector = GeomDetEnumerators::SubDetector |
Protected Member Functions inherited from GeomDet | |
virtual bool | setAlignmentPositionError (const AlignmentPositionError &ape) |
void | setDetId (DetId id) |
Model of a GEM super chamber.
The super chamber is composed of 2 chambers. It's detId is layer 0, chambers are layer 1 and 2
Definition at line 19 of file GEMSuperChamber.h.
GEMSuperChamber::GEMSuperChamber | ( | GEMDetId | id, |
const ReferenceCountingPointer< BoundPlane > & | plane | ||
) |
|
override |
void GEMSuperChamber::add | ( | const GEMChamber * | ch | ) |
Add chamber to the super chamber which takes ownership.
Definition at line 15 of file GEMSuperChamber.cc.
References chambers_.
Referenced by counter.Counter::register().
const GEMChamber * GEMSuperChamber::chamber | ( | GEMDetId | id | ) | const |
Return the chamber corresponding to the given id.
Definition at line 27 of file GEMSuperChamber.cc.
References GEMDetId::chamber(), and detId_.
Referenced by GEMCoPadDigiValidation::analyze(), component(), geometryXMLparser.CSCAlignable::index(), CSCGEMMotherboard::maxPads(), and CSCGEMMotherboard::maxRolls().
const GEMChamber * GEMSuperChamber::chamber | ( | int | layer | ) | const |
Definition at line 33 of file GEMSuperChamber.cc.
References chambers_.
Referenced by geometryXMLparser.CSCAlignable::index().
const std::vector< const GEMChamber * > & GEMSuperChamber::chambers | ( | ) | const |
Return the chambers in the super chamber.
Definition at line 23 of file GEMSuperChamber.cc.
References chambers_.
Referenced by GEMPadDigiClusterValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMStripDigiValidation::bookHistograms(), and GEMSimHitValidation::bookHistograms().
|
overridevirtual |
GEMDetId GEMSuperChamber::id | ( | void | ) | const |
Return the GEMDetId of this super chamber.
Definition at line 11 of file GEMSuperChamber.cc.
References detId_.
Referenced by GEMPadDigiClusterValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), and operator==().
const std::vector<GEMDetId>& GEMSuperChamber::ids | ( | ) | const |
Return the vector of GEMDetIds in this super chamber.
int GEMSuperChamber::nChambers | ( | ) | const |
Return numbers of chambers.
Definition at line 25 of file GEMSuperChamber.cc.
References chambers_.
Referenced by GEMOfflineDQMBase::getDetOccXBin().
bool GEMSuperChamber::operator== | ( | const GEMSuperChamber & | sch | ) | const |
|
inlineoverridevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 34 of file GEMSuperChamber.h.
References GeomDetEnumerators::GEM.
|
private |
Definition at line 63 of file GEMSuperChamber.h.
Referenced by add(), chamber(), chambers(), components(), and nChambers().
|
private |
Definition at line 60 of file GEMSuperChamber.h.