#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 | |
void | setDetId (DetId id) |
Protected Attributes inherited from GeomDet | |
AlignmentPositionError * | theAlignmentPositionError = 0 |
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 26 of file CSCChamber.h.
References GeomDet::setDetId(), and ~CSCChamber().
|
override |
Definition at line 11 of file CSCChamber.cc.
References mps_fire::i, and theComponents.
Referenced by CSCChamber().
void CSCChamber::addComponent | ( | int | n, |
const CSCLayer * | gd | ||
) |
Add a layer.
Definition at line 31 of file CSCChamber.cc.
References theComponents.
Referenced by specs().
Return the layer with a given id in this chamber.
Reimplemented from GeomDet.
Definition at line 26 of file CSCChamber.cc.
References layer().
Referenced by specs().
|
overridevirtual |
Return the layers in this chamber.
Reimplemented from GeomDet.
Definition at line 21 of file CSCChamber.cc.
References theComponents.
Referenced by specs().
|
inline |
Get the (concrete) DetId.
Definition at line 37 of file CSCChamber.h.
References GeomDet::geographicalId().
Referenced by RPCEfficiency::analyze(), CSCSegtoRPC::CSCSegtoRPC(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSegAlgoST::dumpSegment(), CSCSegAlgoDF::dumpSegment(), CSCSegAlgoSK::dumpSegment(), CSCSegAlgoTC::dumpSegment(), GEMCSCSegFit::fitlsq(), layer(), CSCMotherboardME3141::run(), CSCGEMMotherboardME21::run(), CSCGEMMotherboardME11::run(), CSCSegAlgoST::run(), GEMCSCSegFit::setChi2(), and ValidateGeometry::validateCSChamberGeometry().
Return the layer corresponding to the given id.
Definition at line 39 of file CSCChamber.cc.
References CSCDetId::chamberId(), id(), and CSCDetId::layer().
Referenced by CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInGlobalPhi(), CSCSegAlgoRU::areHitsCloseInR(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoRU::buildSegments(), CSCSectorReceiverLUT::calcGlobalPhiME(), component(), CSCCondSegFit::correctTheCovX(), CSCSegFit::derivativeMatrix(), GEMCSCSegFit::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSegAlgoSK::dumpHits(), CSCSegAlgoTC::dumpHits(), CSCCondSegFit::fit(), CSCComparatorDigiFitter::fit(), CSCSegFit::fit2(), GEMCSCSegFit::fit2(), CSCSegFit::fitlsq(), GEMCSCSegFit::fitlsq(), CSCSectorReceiverLUT::getGlobalEtaValue(), AngleConverter::getProcessorPhi(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoRU::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), layers(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoRU::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), CSCEfficiency::recHitSegment_Efficiencies(), CSCCondSegFit::setChi2(), CSCSegFit::setChi2(), GEMCSCSegFit::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 44 of file CSCChamber.cc.
References theComponents.
Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().
|
inline |
Return all layers.
Definition at line 57 of file CSCChamber.h.
References layer(), and theComponents.
Referenced by FWRecoGeometryESProducer::addCSCGeometry().
|
inline |
Definition at line 42 of file CSCChamber.h.
References addComponent(), component(), components(), gen::n, and theChamberSpecs.
Referenced by CSCGeometry::addLayer(), CSCRecHit2DValidation::analyze(), CSCWireDigiValidation::analyze(), CSCComparatorDigiValidation::analyze(), CSCSegmentBuilder::build(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoST::chainHits(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), CSCXonStrip_MatchGatti::findXOnStrip(), AngleConverter::getProcessorPhi(), CSCDriftSim::getWireHit(), CSCMake2DRecHit::hitFromStripAndWire(), CSCSegAlgoST::run(), CSCHitFromStripOnly::runStrip(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), and type().
|
inlineoverridevirtual |
Which subdetector.
Reimplemented from GeomDet.
Definition at line 40 of file CSCChamber.h.
References GeomDetEnumerators::CSC.
|
inlineoverridevirtual |
Reimplemented from GeomDet.
Definition at line 34 of file CSCChamber.h.
References specs().
Referenced by CSCLayer::type().
|
private |
Definition at line 68 of file CSCChamber.h.
Referenced by specs().
|
private |
Definition at line 69 of file CSCChamber.h.
Referenced by addComponent(), components(), layer(), layers(), and ~CSCChamber().