#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 override |
const GeomDetType & | type () const override |
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 | |
virtual bool | setAlignmentPositionError (const AlignmentPositionError &ape) |
void | setDetId (DetId id) |
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 CSCSectorReceiverLUT::getGlobalPhiValue(), AngleConverter::getProcessorPhi(), AngleConverterBase::getProcessorPhi(), AngleConverterBase::isCSCCounterClockwise(), and StubsSimHitsMatcher::match().
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 CSCSectorReceiverLUT::getGlobalEtaValue(), and CSCWireElectronicsSim::timeOfFlightCalibration().
|
inline |
Access to parent chamber
Definition at line 49 of file CSCLayer.h.
References 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(), StubsSimHitsMatcher::match(), CSCHitFromStripOnly::runStrip(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), and type().
|
inline |
Access to object handling layer geomerty
Definition at line 44 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(), AngleConverterBase::isCSCCounterClockwise(), CSCMake2DRecHit::isHitInFiducial(), StubsSimHitsMatcher::match(), CSCWireDigiValidation::plotResolution(), CSCComparatorDigiValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), CSCEfficiency::recHitSegment_Efficiencies(), CSCCathodeLCTProcessor::run(), CSCAnodeLCTProcessor::run(), CSCHitFromWireOnly::runWire(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), CSCWireHitSim::simulate(), topology(), and ValidateGeometry::validateCSCLayerGeometry().
|
inline |
Get the (concrete) DetId
Definition at line 39 of file CSCLayer.h.
References theId.
Referenced by CSCRecoBadChannelsAnalyzer::analyze(), CSCDigitizer::doAction(), CSCDriftSim::getWireHit(), StubsSimHitsMatcher::match(), and ValidateGeometry::validateCSCLayerGeometry().
|
inlineoverridevirtual |
Reimplemented from GeomDet.
Definition at line 33 of file CSCLayer.h.
References geometry(), and CSCLayerGeometry::topology().
|
inlineoverridevirtual |
Reimplemented from GeomDet.
Definition at line 31 of file CSCLayer.h.
References chamber(), and CSCChamber::type().
|
private |
Definition at line 66 of file CSCLayer.h.
Referenced by chamber().
|
private |
Definition at line 73 of file CSCLayer.h.
Referenced by geometry().
|
private |
Definition at line 64 of file CSCLayer.h.
Referenced by id().