#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 |
Private Attributes | |
const CSCChamber * | theChamber |
const CSCLayerGeometry * | theGeometry |
CSCDetId | theId |
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.
CSCLayer::CSCLayer | ( | const BoundPlane::BoundPlanePointer | sp, |
CSCDetId | id, | ||
const CSCChamber * | ch, | ||
const CSCLayerGeometry * | geo | ||
) | [inline] |
Definition at line 28 of file CSCLayer.h.
References GeomDet::setDetId().
: GeomDetUnit( sp ), theId( id ), theChamber( ch ), theGeometry( geo ) { setDetId(id); }
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().
{ float stripX = geometry()->xOfStrip(strip); GlobalPoint globalPoint = surface().toGlobal(LocalPoint(stripX, 0., 0.)); return globalPoint; }
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().
{ // float y = yOfWireGroup(wireGroup); // GlobalPoint globalPoint = toGlobal(LocalPoint(0., y, 0.)); GlobalPoint globalPoint = surface().toGlobal( geometry()->localCenterOfWireGroup( wireGroup ) ); return globalPoint; }
const CSCChamber* CSCLayer::chamber | ( | ) | const [inline] |
Access to parent chamber
Definition at line 52 of file CSCLayer.h.
References theChamber.
Referenced by CSCComparatorDigiValidation::analyze(), CSCWireDigiValidation::analyze(), CSCRecHit2DValidation::analyze(), GlobalRecHitsProducer::fillMuon(), GlobalRecHitsAnalyzer::fillMuon(), CSCXonStrip_MatchGatti::findXOnStrip(), CSCDriftSim::getWireHit(), CSCMake2DRecHit::hitFromStripAndWire(), CSCHitFromStripOnly::runStrip(), CSCBaseElectronicsSim::setLayer(), CSCStripHitSim::simulate(), and type().
{ return theChamber; }
const CSCLayerGeometry* CSCLayer::geometry | ( | ) | const [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(), CSCRecHit2DValidation::plotResolution(), CSCStripDigiValidation::plotResolution(), CSCWireDigiValidation::plotResolution(), CSCEfficiency::recHitSegment_Efficiencies(), CSCAnodeLCTProcessor::run(), CSCCathodeLCTProcessor::run(), CSCHitFromWireOnly::runWire(), CSCBaseElectronicsSim::setLayer(), CSCWireHitSim::simulate(), CSCStripHitSim::simulate(), topology(), and ValidateGeometry::validateCSCLayerGeometry().
{ return theGeometry; }
CSCDetId CSCLayer::id | ( | void | ) | const [inline] |
Get the (concrete) DetId
Definition at line 42 of file CSCLayer.h.
References theId.
Referenced by CSCDigitizer::doAction(), CSCDriftSim::getWireHit(), and ValidateGeometry::validateCSCLayerGeometry().
{ return theId; }
const Topology& CSCLayer::topology | ( | ) | const [inline, virtual] |
Implements GeomDetUnit.
Definition at line 35 of file CSCLayer.h.
References geometry(), and CSCLayerGeometry::topology().
const GeomDetType& CSCLayer::type | ( | ) | const [inline, virtual] |
Implements GeomDetUnit.
Definition at line 33 of file CSCLayer.h.
References chamber(), and CSCChamber::type().
Referenced by CSCGeometry::addLayer().
const CSCChamber* CSCLayer::theChamber [private] |
Definition at line 70 of file CSCLayer.h.
Referenced by chamber().
const CSCLayerGeometry* CSCLayer::theGeometry [private] |
Definition at line 77 of file CSCLayer.h.
Referenced by geometry().
CSCDetId CSCLayer::theId [private] |
Definition at line 68 of file CSCLayer.h.
Referenced by id().