#include <CSCChamber.h>
Public Member Functions | |
void | addComponent (int n, const CSCLayer *gd) |
Add a layer. More... | |
virtual const GeomDet * | component (DetId id) const |
Return the layer with a given id in this chamber. More... | |
virtual std::vector< const GeomDet * > | components () const |
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 |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
const GeomDetType & | type () const |
~CSCChamber () | |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError * | alignmentPositionError () const |
Return pointer to alignment errors. More... | |
DetId | geographicalId () const |
The label of this GeomDet. More... | |
GeomDet (BoundPlane *plane) | |
GeomDet (const ReferenceCountingPointer< BoundPlane > &plane) | |
int | index () const |
LocalError const & | localAlignmentError () const |
Return local alligment error. 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 | setIndex (int i) |
const BoundPlane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
const BoundPlane & | surface () const |
The nominal surface of the GeomDet. More... | |
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 | ~GeomDet () |
Private Attributes | |
const CSCChamberSpecs * | theChamberSpecs |
std::vector< const CSCLayer * > | theComponents |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Protected Member Functions inherited from GeomDet | |
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 26 of file CSCChamber.h.
References GeomDet::setDetId().
CSCChamber::~CSCChamber | ( | ) |
void CSCChamber::addComponent | ( | int | n, |
const CSCLayer * | gd | ||
) |
Add a layer.
Definition at line 33 of file CSCChamber.cc.
References theComponents.
Return the layer with a given id in this chamber.
Reimplemented from GeomDet.
Definition at line 28 of file CSCChamber.cc.
References CSCDetId, and layer().
|
virtual |
Return the layers in this chamber.
Implements GeomDet.
Definition at line 23 of file CSCChamber.cc.
References theComponents.
|
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(), layer(), and ValidateGeometry::validateCSChamberGeometry().
Return the layer corresponding to the given id.
Definition at line 41 of file CSCChamber.cc.
References CSCDetId::chamberId(), id(), and CSCDetId::layer().
Referenced by CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSectorReceiverLUT::calcGlobalPhiME(), component(), CSCSegAlgoST::correctTheCovX(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSegAlgoSK::dumpHits(), CSCSegAlgoTC::dumpHits(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), CSCSectorReceiverLUT::getGlobalEtaValue(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), CSCEfficiency::recHitSegment_Efficiencies(), CSCAnodeLCTProcessor::run(), CSCCathodeLCTProcessor::run(), CSCSegAlgoShowering::showerSeg(), CSCSegAlgoSK::tryAddingHitsToSegment(), CSCSegAlgoTC::tryAddingHitsToSegment(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().
const CSCLayer * CSCChamber::layer | ( | int | ilay | ) | const |
Return the given layer. Layers are numbered 1-6.
Definition at line 46 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 theComponents.
Referenced by FWRecoGeometryESProducer::addCSCGeometry(), and MuonSimHitProducer::produce().
|
inline |
Definition at line 42 of file CSCChamber.h.
References theChamberSpecs.
Referenced by CSCComparatorDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), CSCSegmentBuilder::build(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoSK::buildSegments(), CSCSegAlgoST::chainHits(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), CSCXonStrip_MatchGatti::findXOnStrip(), CSCDriftSim::getWireHit(), CSCMake2DRecHit::hitFromStripAndWire(), CSCSegAlgoST::run(), CSCHitFromStripOnly::runStrip(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), and type().
|
inlinevirtual |
Which subdetector.
Implements GeomDet.
Definition at line 40 of file CSCChamber.h.
References GeomDetEnumerators::CSC.
|
inline |
|
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().