![]() |
![]() |
#include <Geometry/CSCGeometry/interface/CSCLayer.h>
Public Member Functions | |
GlobalPoint | centerOfStrip (int strip) const |
Global point at center of the given strip, Must be in CSCLayer so it can return global coordinates. | |
GlobalPoint | centerOfWireGroup (int wireGroup) const |
Global point at centre of the given wire group. | |
const CSCChamber * | chamber () const |
Access to parent chamber. | |
CSCLayer (const BoundPlane::BoundPlanePointer sp, CSCDetId id, const CSCChamber *ch, const CSCLayerGeometry *geo) | |
DetId | geographicalId () const |
The label of this GeomDet. | |
const CSCLayerGeometry * | geometry () const |
Access to object handling layer geomerty. | |
CSCDetId | id () const |
Get the (concrete) DetId. | |
const Topology & | topology () const |
const GeomDetType & | type () const |
Private Attributes | |
const CSCChamber * | theChamber |
const CSCLayerGeometry * | theGeometry |
CSCDetId | theId |
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.
00028 : 00029 GeomDetUnit( sp ), theId( id ), theChamber( ch ), theGeometry( geo ) {}
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().
00004 { 00005 float stripX = geometry()->xOfStrip(strip); 00006 GlobalPoint globalPoint = surface().toGlobal(LocalPoint(stripX, 0., 0.)); 00007 return globalPoint; 00008 }
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().
00010 { 00011 // float y = yOfWireGroup(wireGroup); 00012 // GlobalPoint globalPoint = toGlobal(LocalPoint(0., y, 0.)); 00013 GlobalPoint globalPoint = 00014 surface().toGlobal( geometry()->localCenterOfWireGroup( wireGroup ) ); 00015 return globalPoint; 00016 }
const CSCChamber* CSCLayer::chamber | ( | ) | const [inline] |
Access to parent chamber.
Definition at line 51 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::simulate(), CSCStripHitSim::simulate(), and type().
00051 { return theChamber; }
DetId CSCLayer::geographicalId | ( | ) | const [inline, virtual] |
The label of this GeomDet.
Implements GeomDet.
Definition at line 35 of file CSCLayer.h.
References theId.
Referenced by CSCGeometry::addLayer(), and CSCBaseElectronicsSim::layerId().
00035 { return theId; }
const CSCLayerGeometry* CSCLayer::geometry | ( | ) | const [inline] |
Access to object handling layer geomerty.
Definition at line 46 of file CSCLayer.h.
References theGeometry.
Referenced by CSCEfficiency::analyze(), CSCSectorReceiverLUT::calcGlobalPhiME(), CSCEfficiency::CalculateEfficiencies(), centerOfStrip(), centerOfWireGroup(), CSCValidation::doEfficiencies(), CSCSectorReceiverLUT::getGlobalEtaValue(), CSCWireHitSim::getIonizationClusters(), VisCSCChamberDrawer::getOutline(), CSCDriftSim::getWireHit(), CSCMake2DRecHit::hitFromStripAndWire(), CSCStripElectronicsSim::initParameters(), CSCWireElectronicsSim::initParameters(), CSCMake2DRecHit::isHitInFiducial(), CSCRecHit2DValidation::plotResolution(), CSCStripDigiValidation::plotResolution(), CSCWireDigiValidation::plotResolution(), CSCAnodeLCTProcessor::run(), CSCCathodeLCTProcessor::run(), CSCHitFromStripOnly::runStrip(), CSCHitFromWireOnly::runWire(), CSCWireHitSim::simulate(), CSCStripHitSim::simulate(), topology(), VisCSCStripDigiTwig::update(), VisCSCALCTDigiTwig::update(), VisCSCCorrelatedLCTDigiTwig::update(), VisCSCComparatorDigiTwig::update(), VisCSCCLCTDigiTwig::update(), and VisCSCWireDigiTwig::update().
00046 { return theGeometry; }
Get the (concrete) DetId.
Definition at line 41 of file CSCLayer.h.
References theId.
Referenced by CSCDigitizer::doAction(), and CSCDriftSim::getWireHit().
00041 { return theId; }
const Topology& CSCLayer::topology | ( | ) | const [inline, virtual] |
Implements GeomDetUnit.
Definition at line 33 of file CSCLayer.h.
References geometry(), and CSCLayerGeometry::topology().
const GeomDetType& CSCLayer::type | ( | ) | const [inline, virtual] |
Implements GeomDetUnit.
Definition at line 31 of file CSCLayer.h.
References chamber(), and CSCChamber::type().
Referenced by CSCGeometry::addLayer().
const CSCChamber* CSCLayer::theChamber [private] |
const CSCLayerGeometry* CSCLayer::theGeometry [private] |
CSCDetId CSCLayer::theId [private] |