#include <CSCChamber.h>
Public Member Functions | |
void | addComponent (int n, const CSCLayer *gd) |
Add a layer. More... | |
const GeomDet * | component (DetId id) const override |
Return the layer with a given id in this chamber. More... | |
std::vector< const GeomDet * > | components () const override |
Return the layers in this chamber. More... | |
CSCChamber (const BoundPlane::BoundPlanePointer &bp, CSCDetId id, const CSCChamberSpecs *specs) | |
CSCDetId | id () const |
Get the (concrete) DetId. More... | |
const CSCLayer * | layer (CSCDetId id) const |
Return the layer corresponding to the given id. More... | |
const CSCLayer * | layer (int ilay) const |
const std::vector< const CSCLayer * > & | layers () const |
Return all layers. More... | |
const CSCChamberSpecs * | specs () const |
SubDetector | subDetector () const override |
Which subdetector. More... | |
const GeomDetType & | type () const override |
~CSCChamber () override | |
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 | ~GeomDet () |
Private Attributes | |
const CSCChamberSpecs * | theChamberSpecs |
std::vector< const CSCLayer * > | theComponents |
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) |
Describes the geometry of the second-level detector unit modelled by a C++ object in the endcap muon CSC system. A CSCChamber is composed of 6 CSCLayer's and is, of course, a Cathode Strip Chamber Chamber!
Definition at line 22 of file CSCChamber.h.
|
inline |
Definition at line 24 of file CSCChamber.h.
References GeomDet::setDetId().
|
override |
Definition at line 10 of file CSCChamber.cc.
References mps_fire::i, and theComponents.
void CSCChamber::addComponent | ( | int | n, |
const CSCLayer * | gd | ||
) |
Add a layer.
Definition at line 23 of file CSCChamber.cc.
References dqmiodumpmetadata::n, and theComponents.
Return the layer with a given id in this chamber.
Reimplemented from GeomDet.
Definition at line 21 of file CSCChamber.cc.
References layer().
|
overridevirtual |
Return the layers in this chamber.
Reimplemented from GeomDet.
Definition at line 17 of file CSCChamber.cc.
References theComponents.
|
inline |
Get the (concrete) DetId.
Definition at line 34 of file CSCChamber.h.
References GeomDet::geographicalId().
Referenced by CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSegAlgoST::dumpSegment(), CSCSegAlgoDF::dumpSegment(), CSCSegAlgoSK::dumpSegment(), CSCSegAlgoTC::dumpSegment(), GEMCSCSegFit::fitlsq(), layer(), CSCSegAlgoST::run(), and CSCSegtoRPC::thePoints().
Return the layer corresponding to the given id.
Definition at line 30 of file CSCChamber.cc.
References CSCDetId::chamberId(), id(), and CSCDetId::layer().
Referenced by CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInR(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoRU::buildSegments(), CSCSectorReceiverLUT::calcGlobalPhiME(), component(), CSCCondSegFit::correctTheCovX(), CSCSegFit::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSegAlgoSK::dumpHits(), CSCSegAlgoTC::dumpHits(), CSCCondSegFit::fit(), CSCSegFit::fit2(), GEMCSCSegFit::fit2(), CSCSegFit::fitlsq(), GEMCSCSegFit::fitlsq(), OmtfAngleConverter::getGlobalEta(), AngleConverterBase::getGlobalEta(), CSCSectorReceiverLUT::getGlobalEtaValue(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), CSCSegAlgoRU::isHitNearSegment(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoRU::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), CSCEfficiency::recHitSegment_Efficiencies(), CSCCathodeLCTProcessor::run(), CSCAnodeLCTProcessor::run(), CSCCondSegFit::setChi2(), CSCSegFit::setChi2(), CSCSegAlgoShowering::showerSeg(), CSCSegAlgoSK::tryAddingHitsToSegment(), and CSCSegAlgoTC::tryAddingHitsToSegment().
const CSCLayer * CSCChamber::layer | ( | int | ilay | ) | const |
Return the given layer. Layers are numbered 1-6.
Definition at line 36 of file CSCChamber.cc.
References theComponents.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
|
inline |
Definition at line 39 of file CSCChamber.h.
References theChamberSpecs.
Referenced by CSCSegAlgoSK::buildSegments(), CSCSegAlgoST::chainHits(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSegAlgoST::run(), CSCHitFromStripOnly::runStrip(), and type().
|
inlineoverridevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 37 of file CSCChamber.h.
References GeomDetEnumerators::CSC.
|
inlineoverridevirtual |
Reimplemented from GeomDet.
Definition at line 31 of file CSCChamber.h.
References specs().
Referenced by CSCLayer::type().
|
private |
Definition at line 63 of file CSCChamber.h.
Referenced by specs().
|
private |
Definition at line 64 of file CSCChamber.h.
Referenced by addComponent(), components(), layer(), layers(), and ~CSCChamber().