#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 GeomDetUnit | |
virtual const GeomDet * | component (DetId) const |
Returns a component GeomDet given its DetId, if existing. More... | |
virtual std::vector< const GeomDet * > | components () const |
DetUnit does not have components. More... | |
GeomDetUnit (Plane *sp) | |
GeomDetUnit (const ReferenceCountingPointer< Plane > &plane) | |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
virtual | ~GeomDetUnit () |
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 (Plane *plane) | |
GeomDet (const ReferenceCountingPointer< Plane > &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 Plane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
const Plane & | 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 CSCChamber * | theChamber |
const CSCLayerGeometry * | theGeometry |
CSCDetId | theId |
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 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().
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 52 of file CSCLayer.h.
References theChamber.
Referenced by CSCComparatorDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), 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(), 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 CSCDigitizer::doAction(), CSCDriftSim::getWireHit(), and ValidateGeometry::validateCSCLayerGeometry().
|
inlinevirtual |
Implements GeomDetUnit.
Definition at line 35 of file CSCLayer.h.
References geometry(), and CSCLayerGeometry::topology().
|
inlinevirtual |
Implements GeomDetUnit.
Definition at line 33 of file CSCLayer.h.
References chamber(), and CSCChamber::type().
Referenced by cuy.ValElement::__init__(), and CSCGeometry::addLayer().
|
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().