#include <CSCLayer.h>
Public Member Functions | |
GlobalPoint | centerOfStrip (int strip) const |
GlobalPoint | centerOfWireGroup (int wireGroup) const |
const CSCChamber * | chamber () const |
CSCLayer (const BoundPlane::BoundPlanePointer sp, CSCDetId id, const CSCChamber *ch, const CSCLayerGeometry *geo) | |
const CSCLayerGeometry * | geometry () const |
CSCDetId | id () const |
const Topology & | topology () const |
const GeomDetType & | type () const |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError const * | alignmentPositionError () const |
Return pointer to alignment errors. More... | |
virtual const GeomDet * | component (DetId) const |
Returns a component GeomDet given its DetId, if existing. More... | |
virtual std::vector< const GeomDet * > | components () const |
Returns direct components, if any. 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... | |
virtual SubDetector | subDetector () const |
Which subdetector. 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 | ~GeomDet () |
Private Attributes | |
const CSCChamber * | theChamber |
const CSCLayerGeometry * | theGeometry |
CSCDetId | theId |
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 lowest-level detector unit modelled by a C++ object in the endcap muon CSC system.
Definition at line 24 of file CSCLayer.h.
|
inline |
GlobalPoint CSCLayer::centerOfStrip | ( | int | strip | ) | const |
Global point at center of the given strip, Must be in CSCLayer so it can return global coordinates.
Definition at line 4 of file CSCLayer.cc.
References geometry(), GeomDet::surface(), Surface::toGlobal(), and CSCLayerGeometry::xOfStrip().
Referenced by chamber(), CSCSectorReceiverLUT::getGlobalPhiValue(), and AngleConverter::getProcessorPhi().
GlobalPoint CSCLayer::centerOfWireGroup | ( | int | wireGroup | ) | const |
Global point at centre of the given wire group. Must be in CSCLayer so it can return global coordinates.
Definition at line 10 of file CSCLayer.cc.
References geometry(), GeomDet::surface(), and Surface::toGlobal().
Referenced by chamber(), CSCSectorReceiverLUT::getGlobalEtaValue(), and CSCWireElectronicsSim::timeOfFlightCalibration().
|
inline |
Access to parent chamber
Definition at line 52 of file CSCLayer.h.
References centerOfStrip(), centerOfWireGroup(), digi_MixPreMix_cfi::strip, and theChamber.
Referenced by CSCGeometry::addLayer(), CSCRecHit2DValidation::analyze(), CSCWireDigiValidation::analyze(), CSCComparatorDigiValidation::analyze(), GEMCSCSegAlgoRR::chainHitsToSegm(), GlobalRecHitsAnalyzer::fillMuon(), GlobalRecHitsProducer::fillMuon(), CSCXonStrip_MatchGatti::findXOnStrip(), CSCDriftSim::getWireHit(), CSCMake2DRecHit::hitFromStripAndWire(), geometryXMLparser.CSCAlignable::index(), CSCHitFromStripOnly::runStrip(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), and type().
|
inline |
Access to object handling layer geomerty
Definition at line 47 of file CSCLayer.h.
References theGeometry.
Referenced by FWRecoGeometryESProducer::addCSCGeometry(), MuonCSCChamberResidual::addResidual(), CSCRecoBadChannelsAnalyzer::analyze(), CSCSectorReceiverLUT::calcGlobalPhiME(), CSCPairResidualsConstraint::calculatePhi(), centerOfStrip(), centerOfWireGroup(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCSectorReceiverLUT::getGlobalEtaValue(), CSCWireHitSim::getIonizationClusters(), CSCDriftSim::getWireHit(), CSCMake2DRecHit::hitFromStripAndWire(), CSCMake2DRecHit::isHitInFiducial(), Vispa.Gui.ConnectableWidget.ConnectableWidget::leaveEvent(), CSCWireDigiValidation::plotResolution(), CSCStripDigiValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), CSCEfficiency::recHitSegment_Efficiencies(), CSCAnodeLCTProcessor::run(), CSCCathodeLCTProcessor::run(), CSCHitFromWireOnly::runWire(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), CSCWireHitSim::simulate(), topology(), and ValidateGeometry::validateCSCLayerGeometry().
|
inline |
Get the (concrete) DetId
Definition at line 42 of file CSCLayer.h.
References theId.
Referenced by CSCRecoBadChannelsAnalyzer::analyze(), CSCDigitizer::doAction(), CSCDriftSim::getWireHit(), and ValidateGeometry::validateCSCLayerGeometry().
|
inlinevirtual |
Reimplemented from GeomDet.
Definition at line 35 of file CSCLayer.h.
References geometry(), and CSCLayerGeometry::topology().
|
inlinevirtual |
Reimplemented from GeomDet.
Definition at line 33 of file CSCLayer.h.
References chamber(), and CSCChamber::type().
|
private |
Definition at line 70 of file CSCLayer.h.
Referenced by chamber().
|
private |
Definition at line 77 of file CSCLayer.h.
Referenced by geometry().
|
private |
Definition at line 68 of file CSCLayer.h.
Referenced by id().