CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends
GeomDet Class Reference

#include <GeomDet.h>

Inheritance diagram for GeomDet:
BeamSpotGeomDet CSCChamber CSCLayer DTChamber DTLayer DTSuperLayer GEMChamber GEMEtaPartition GEMSuperChamber KFBasedPixelFitter::MyBeamSpotGeomDet ME0EtaPartition RPCChamber RPCRoll TrackerGeomDet

Public Types

typedef
GeomDetEnumerators::SubDetector 
SubDetector
 

Public Member Functions

AlignmentPositionError const * alignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (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...
 
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::PositionTypeposition () const
 The position (origin of the R.F.) More...
 
const Surface::RotationTyperotation () const
 The rotation defining the local R.F. More...
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
virtual SubDetector subDetector () const
 Which subdetector. More...
 
const Planesurface () const
 The nominal surface of the GeomDet. More...
 
virtual const SurfaceDeformationsurfaceDeformation () 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 const Topologytopology () const
 
virtual const GeomDetTypetype () const
 
virtual ~GeomDet ()
 

Protected Member Functions

void setDetId (DetId id)
 

Protected Attributes

AlignmentPositionErrortheAlignmentPositionError
 

Private Member Functions

void move (const GlobalVector &displacement)
 
void rotate (const Surface::RotationType &rotation)
 
virtual bool setAlignmentPositionError (const AlignmentPositionError &ape)
 
void setPosition (const Surface::PositionType &position, const Surface::RotationType &rotation)
 
virtual void setSurfaceDeformation (const SurfaceDeformation *deformation)
 

Private Attributes

DetId m_detId
 
int m_index
 
ReferenceCountingPointer< PlanethePlane
 

Friends

class DetPositioner
 Alignment part of interface, available only to friend. More...
 

Detailed Description

Base class for GeomDetUnit and for composite GeomDet s.

Definition at line 29 of file GeomDet.h.

Member Typedef Documentation

Definition at line 31 of file GeomDet.h.

Constructor & Destructor Documentation

GeomDet::GeomDet ( Plane plane)
explicit

Definition at line 5 of file GeomDet.cc.

5  :
6  thePlane(plane), m_index(-1), theAlignmentPositionError(nullptr) {}
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:120
int m_index
Definition: GeomDet.h:122
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:124
GeomDet::GeomDet ( const ReferenceCountingPointer< Plane > &  plane)
explicit

Definition at line 8 of file GeomDet.cc.

8  :
9  thePlane(plane), m_index(-1), theAlignmentPositionError(nullptr) {}
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:120
int m_index
Definition: GeomDet.h:122
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:124
GeomDet::~GeomDet ( )
virtual

Definition at line 11 of file GeomDet.cc.

References theAlignmentPositionError.

AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:124

Member Function Documentation

AlignmentPositionError const* GeomDet::alignmentPositionError ( ) const
inline

Return pointer to alignment errors.

Definition at line 93 of file GeomDet.h.

References theAlignmentPositionError.

Referenced by AlignableDet::AlignableDet(), and AlignableDetUnit::AlignableDetUnit().

AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:124
virtual const GeomDet* GeomDet::component ( DetId  ) const
inlinevirtual

Returns a component GeomDet given its DetId, if existing.

Reimplemented in DTSuperLayer, DTChamber, CSCChamber, GEMSuperChamber, GEMChamber, and RPCChamber.

Definition at line 90 of file GeomDet.h.

90 {return nullptr;}
virtual std::vector< const GeomDet*> GeomDet::components ( ) const
inlinevirtual
DetId GeomDet::geographicalId ( ) const
inline

The label of this GeomDet.

Definition at line 77 of file GeomDet.h.

References m_detId.

Referenced by SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), ME0Geometry::add(), RPCGeometry::add(), DTGeometry::add(), GEMGeometry::add(), SiPixelDigitizerAlgorithm::add_noise(), FWRecoGeometryESProducer::addCSCGeometry(), TrackerGeometry::addDet(), CSCGeometry::addDet(), TrackerGeometry::addDetUnit(), FWRecoGeometryESProducer::addDTGeometry(), FWRecoGeometryESProducer::addGEMGeometry(), FWTGeoRecoGeometryESProducer::addGEMGeometry(), CSCGeometry::addLayer(), FWRecoGeometryESProducer::addPixelBarrelGeometry(), FWRecoGeometryESProducer::addPixelForwardGeometry(), FWRecoGeometryESProducer::addRPCGeometry(), FWTGeoRecoGeometryESProducer::addRPCGeometry(), FWRecoGeometryESProducer::addTECGeometry(), FWRecoGeometryESProducer::addTIBGeometry(), FWRecoGeometryESProducer::addTIDGeometry(), FWRecoGeometryESProducer::addTOBGeometry(), AlignableDet::AlignableDet(), AlignableNavigator::alignableFromGeomDet(), AlignableSiStripDet::AlignableSiStripDet(), CkfDebugger::analyseRecHitExistance(), CkfDebugger::analyseRecHitNotFound(), ListIds::analyze(), SiPixelMuonHLT::analyze(), SiStripDetInfoFileWriter::beginRun(), SiPixelDetInfoFileWriter::beginRun(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), SiPixelDigitizerAlgorithm::digitize(), SiStripDigitizerAlgorithm::digitize(), edm::DataMixingSiStripMCDigiWorker::DMinitializeDetUnit(), shallow::drift(), StripCPE::driftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), SiStripLorentzAngleCalibration::effectiveThickness(), StripCPE::fillParams(), ClusterShapeHitFilter::fillPixelData(), CSCEfficiency::filter(), GenericProjectedRecHit2D::geographicalId(), ClusterShapeHitFilter::getDrift(), GluedGeomDet::GluedGeomDet(), LayerMeasurements::groupedMeasurements(), MuonShowerInformationFiller::hitsFromSegments(), CSCChamber::id(), SiPixelDigitizerAlgorithm::induce_signal(), MeasurementTrackerImpl::initGluedDet(), SiStripDigitizerAlgorithm::initializeDetUnit(), GeomDetLess::insideOutLess(), ProjectedSiStripRecHit2D::isMono(), CkfDebugger::layer(), PixelCPEGeneric::localError(), StripCPEfromTemplate::localParameters(), StripCPEfromTrackAngle::localParameters(), PixelCPETemplateReco::localPosition(), TrajectoryManager::makeSinglePSimHit(), CkfDebugger::nextCorrectHits(), MuonSeedCleaner::NRecHitsFromSegment(), SiPixelDigitizerAlgorithm::pixel_inefficiency(), SiPixelFedCablingMapBuilder::produce(), SiStripHashedDetIdESProducer::produce(), L2MuonSeedGenerator::produce(), MuonSimHitProducer::produce(), ProjectedSiStripRecHit2D::ProjectedSiStripRecHit2D(), GSRecHitMatcher::projectOnly(), TSGForRoadSearch::pushTrajectorySeed(), edm::DataMixingSiStripMCDigiWorker::putSiStrip(), TkPixelMeasurementDet::recHits(), MuonDetLayerMeasurements::recHits(), MuonMillepedeAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), DigiSimLinkAlgorithm::run(), MuonSeedCleaner::SeedCandidates(), CSCBaseElectronicsSim::setLayer(), setSurfaceDeformation(), MatchedHitRZCorrectionFromBending::tibMatchedHitZFixup(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), MuonTransientTrackingRecHit::transientHits(), ValidateGeometry::validateCSChamberGeometry(), and ValidateGeometry::validateCSCLayerGeometry().

77 { return m_detId; }
DetId m_detId
Definition: GeomDet.h:121
int GeomDet::index ( ) const
inline
virtual bool GeomDet::isLeaf ( ) const
inlinevirtual

is a Unit

Reimplemented in PixelGeomDetUnit, StripGeomDetUnit, and GluedGeomDet.

Definition at line 83 of file GeomDet.h.

References components().

83 { return components().empty();}
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
Definition: GeomDet.h:86
void GeomDet::move ( const GlobalVector displacement)
private

Relative displacement (with respect to current position). Does not move components (if any).

Definition at line 13 of file GeomDet.cc.

References thePlane.

Referenced by DetPositioner::moveGeomDet(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

14 {
15  //
16  // Should recreate the surface like the set* methods ?
17  //
18  thePlane->move(displacement);
19 }
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:120
const Surface::PositionType& GeomDet::position ( ) const
inline
void GeomDet::rotate ( const Surface::RotationType rotation)
private

Relative rotation (with respect to current orientation). Does not move components (if any).

Definition at line 21 of file GeomDet.cc.

References thePlane.

22 {
23  //
24  // Should recreate the surface like the set* methods ?
25  //
26  thePlane->rotate(rotation);
27 }
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:120
const Surface::RotationType& GeomDet::rotation ( void  ) const
inline

The rotation defining the local R.F.

Definition at line 49 of file GeomDet.h.

References GloballyPositioned< T >::rotation(), and surface().

49 { return surface().rotation();}
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
const RotationType & rotation() const
bool GeomDet::setAlignmentPositionError ( const AlignmentPositionError ape)
privatevirtual

set the LocalAlignmentError properly trasforming the ape Does not affect the AlignmentPositionError of components (if any).

Reimplemented in TrackerGeomDet.

Definition at line 36 of file GeomDet.cc.

References theAlignmentPositionError, and AlignmentPositionError::valid().

Referenced by DetPositioner::setAlignmentPositionError().

37 {
40  }
41  else *theAlignmentPositionError = ape;
42  return ape.valid();
43 }
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:124
void GeomDet::setDetId ( DetId  id)
inlineprotected
void GeomDet::setIndex ( int  i)
inline

Definition at line 98 of file GeomDet.h.

References i, and m_index.

98 { m_index=i;}
int i
Definition: DBlmapReader.cc:9
int m_index
Definition: GeomDet.h:122
void GeomDet::setPosition ( const Surface::PositionType position,
const Surface::RotationType rotation 
)
private

Replaces the current position and rotation with new ones. actually replaces the surface with a new surface. Does not move components (if any).

Definition at line 29 of file GeomDet.cc.

References thePlane.

Referenced by DetPositioner::setGeomDetPosition().

31 {
32  thePlane = ModifiedSurfaceGenerator<Plane>(thePlane).atNewPosition(position,
33  rotation);
34 }
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:120
void GeomDet::setSurfaceDeformation ( const SurfaceDeformation deformation)
privatevirtual

set the SurfaceDeformation for this GeomDetUnit. Does not affect the SurfaceDeformation of components (if any). Throws if not implemented in derived class.

Reimplemented in StripGeomDetUnit, and PixelGeomDetUnit.

Definition at line 53 of file GeomDet.cc.

References DetId::det(), edm::hlt::Exception, geographicalId(), DetId::rawId(), and DetId::subdetId().

Referenced by DetPositioner::setSurfaceDeformation().

54 {
55  throw cms::Exception("Geometry")
56  << "setting SurfaceDeformation not implemented for DetId "
57  << geographicalId().rawId() << " det="
58  << geographicalId().det() << " subdetId="
59  << geographicalId().subdetId();
60 }
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:77
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
Detector det() const
get the detector field from this detid
Definition: DetId.h:35
const Plane& GeomDet::specificSurface ( ) const
inline
GeomDet::SubDetector GeomDet::subDetector ( ) const
virtual
const Plane& GeomDet::surface ( ) const
inline

The nominal surface of the GeomDet.

Definition at line 40 of file GeomDet.h.

References thePlane.

Referenced by SiPixelDigitizerAlgorithm::accumulateSimHits(), SiStripDigitizerAlgorithm::accumulateSimHits(), FWRecoGeometryESProducer::addDTGeometry(), BetaCalculatorRPC::addInfoToCandidate(), SiStripCalibLorentzAngle::algoBeginJob(), AlignableCSCChamber::AlignableCSCChamber(), AlignableDet::AlignableDet(), AlignableDTChamber::AlignableDTChamber(), AlignableDTSuperLayer::AlignableDTSuperLayer(), CkfDebugger::analyseCompatibleMeasurements(), CkfDebugger::analyseRecHitExistance(), ElectronSeedAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), MuonAlignmentAnalyzer::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), MuonAlignment::analyze(), SiPixelMuonHLT::analyze(), analyzer::SiPixelLorentzAngle::analyze(), SiStripMonitorMuonHLT::analyze(), RPCEfficiency::analyze(), TrackerDpgAnalysis::analyze(), BeamHaloAnalyzer::analyze(), SiStripMonitorMuonHLT::analyzeOnTrackClusters(), GeomDetLess::barrelForwardLess(), TrackingRecHitLessFromGlobalPosition::barrelForwardLess(), TrackerDpgAnalysis::beginRun(), CSCGeometryBuilder::buildChamber(), SeedFromGenericPairOrTriplet::buildSeed(), MuonTrackLoader::buildTrackExtra(), GlobalHaloAlgo::Calculate(), CSCHaloAlgo::Calculate(), barrelUtil::calculatePhiWindow(), CSCLayer::centerOfStrip(), CSCLayer::centerOfWireGroup(), TkGluedMeasurementDet::checkHitProjection(), ValidateGeometry::compareShape(), PixelHitMatcher::compatibleSeeds(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), TIBRing::computeHelicity(), tkDetUtil::computeWindowSize(), barrelUtil::computeWindowSize(), TIBLayer::computeWindowSize(), TIDLayer::computeWindowSize(), TOBRod::computeWindowSize(), PixelBlade::computeWindowSize(), PixelForwardLayer::computeWindowSize(), PixelForwardLayerPhase1::computeWindowSize(), TIBRing::computeWindowSize(), CompositeTECPetal::computeWindowSize(), ReferenceTrajectory::construct(), CosmicMuonSeedGenerator::createSeed(), FWTGeoRecoGeometryESProducer::createShape(), CSCSegtoRPC::CSCSegtoRPC(), SiLinearChargeDivider::DeconvolutionShape(), SiStripLorentzAngleCalibration::derivatives(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), DTDigiSyncTOFCorr::digitizerOffset(), OutsideInMuonSeeder::doDebug(), SiStripRecHitMatcher::doubleMatch(), shallow::drift(), SiPixelDigitizerAlgorithm::drift(), StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), DTSegtoRPC::DTSegtoRPC(), DTTrigGeomUtils::DTTrigGeomUtils(), SiStripLorentzAngleCalibration::effectiveThickness(), InsideBoundsMeasurementEstimator::estimate(), ForwardMeasurementEstimator::estimate(), BarrelMeasurementEstimator::estimate(), RPCSeedPattern::extropolateStep(), SiPixelClusterModule::fill(), SiPixelRecHitsValid::fillBarrel(), MuonSimHitsValidAnalyzer::fillDT(), GlobalHitsAnalyzer::fillMuon(), GlobalHitsProdHist::fillMuon(), GlobalHitsProducer::fillMuon(), MuonSimHitsValidAnalyzer::fillRPC(), FWRecoGeometryESProducer::fillShapeAndPlacement(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), TrackerOfflineValidationSummary::fillTree(), TrackerOfflineValidation::fillTree(), GlobalHitsAnalyzer::fillTrk(), GlobalHitsProdHist::fillTrk(), GlobalHitsProducer::fillTrk(), GlobalRecHitsAnalyzer::fillTrk(), GlobalRecHitsProducer::fillTrk(), SETFilter::findChi2(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), SiStripMonitorMuonHLT::GeometryFromTrackGeom(), ClusterShapeHitFilter::getCotangent(), MuonDetIdAssociator::getDetIdPoints(), ClusterShapeHitFilter::getDrift(), DTTrigGeom::getGeom(), CSCSectorReceiverLUT::getGlobalEtaValue(), TrackAssociatorByPosition::getState(), TrackDetectorAssociator::getTAMuonChamberMatches(), CSCDriftSim::getWireHit(), TrackerRecHit::globalPosition(), HLTRPCTrigNoSyncFilter::hltFilter(), CSCStripElectronicsSim::initParameters(), trajectoryStateTransform::innerStateOnSurface(), MultiTrajectoryStateTransform::innerStateOnSurface(), MuonDetIdAssociator::insideElement(), GeomDetLess::insideOutLess(), TrackingRecHitLessFromGlobalPosition::insideOutLess(), DeDxTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), SiStripGainFromCalibTree::IsFarFromBorder(), CSCPairResidualsConstraint::isFiducial(), SiPixelGaussianSmearingRecHitConverterAlgorithm::isFlipped(), PixelCPEBase::isFlipped(), StripCPEfromTemplate::localParameters(), DTTrigGeom::localPosition(), HSCPValidator::makeSimDigiPlotsRPC(), TrajectoryManager::makeSinglePSimHit(), GSRecHitMatcher::match(), SiStripRecHitMatcher::match(), SiTrackerGaussianSmearingRecHitConverter::matchHits(), TkGluedMeasurementDet::measurements(), SiStripGainCosmicCalculator::moduleThickness(), SiStripGainCosmicCalculator::moduleWidth(), CosmicParametersDefinerForTP::momentum(), SiStripMonitorMuonHLT::Normalizer(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), TSOSFromSimHitFactory::operator()(), TkClonerImpl::operator()(), CylinderBuilderFromDet::operator()(), CosmicTrackingParticleSelector::operator()(), SeedFromNuclearInteraction::outerHitPosition(), trajectoryStateTransform::outerStateOnSurface(), MultiTrajectoryStateTransform::outerStateOnSurface(), PixelBlade::overlap(), tkDetUtil::overlapInPhi(), SiLinearChargeDivider::PeakShape(), position(), QuadrupletSeedMerger::printHit(), GlobalMuonToMuonProducer::printTrackRecHits(), DeDxEstimatorProducer::processHit(), ShallowTrackClustersProducer::produce(), PixelClusterSelectorTopBottom::produce(), HSCPDeDxInfoProducer::produce(), FakeTrackProducer< T >::produce(), TrackCandidateProducer::produce(), TrajectorySeedProducer::produce(), DTDigitizer::produce(), DeDxEstimatorProducer::produce(), ConvBremSeedProducer::produce(), TrackClusterSplitter::produce(), MuonSimHitProducer::produce(), cms::CkfTrackCandidateMakerBase::produceBase(), GSRecHitMatcher::project(), TrackingRecHitPropagator::project(), TkClonerImpl::project(), TrackInfoProducerAlgorithm::project(), SiStripRecHitMatcher::project(), TestHits::projectHit(), TestSmoothHits::projectHit(), TestTrackHits::projectHit(), SiStripRecHitsValid::projectHit(), GlobalRecHitsAnalyzer::projectHit(), GlobalRecHitsProducer::projectHit(), SiStripTrackingRecHitsValid::projectHit(), GSRecHitMatcher::projectOnly(), CSCPairResidualsConstraint::radius(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), CSCEfficiency::recHitSegment_Efficiencies(), recHitSurface(), rotation(), DigiSimLinkAlgorithm::run(), CosmicTrajectoryBuilder::seedMeasurements(), BaseCkfTrajectoryBuilder::seedMeasurements(), CRackTrajectoryBuilder::seedMeasurements(), SETPatternRecognition::segmentCleaning(), TrackerGeomDet::setAlignmentPositionError(), CSCPairResidualsConstraint::setZplane(), SETSeedFinder::sortByLayer(), TrackClusterSplitter::splitCluster(), StartingLayerFinder::startingLayers(), TValidTrackingRecHit::surface(), MeasurementDetWithData::surface(), MeasurementDet::surface(), BaseTrackerRecHit::surface(), TrackingRecHit::surface(), TkGluedMeasurementDet::testStrips(), toGlobal(), DTTrigGeom::toGlobal(), toLocal(), DTTrigGeom::toLocal(), FastTSGFromPropagation::trackerSeeds(), LaserDQM::trackerStatistics(), InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), TracktoRPC::TracktoRPC(), TrajectoryAtInvalidHit::TrajectoryAtInvalidHit(), SETFilter::transform(), ResidualRefitting::trkExtrap(), DTTrigGeom::tubePosInCh(), DynamicTruncation::updateWithCSChits(), ValidateGeometry::validateCSChamberGeometry(), ValidateGeometry::validateCSCLayerGeometry(), ValidateGeometry::validateDTChamberGeometry(), ValidateGeometry::validateDTLayerGeometry(), ValidateGeometry::validateRPCGeometry(), and CosmicParametersDefinerForTP::vertex().

40 {return *thePlane;}
ReferenceCountingPointer< Plane > thePlane
Definition: GeomDet.h:120
virtual const SurfaceDeformation* GeomDet::surfaceDeformation ( ) const
inlinevirtual

Return pointer to surface deformation. Defaults to "null" if not reimplemented in the derived classes.

Reimplemented in PixelGeomDetUnit, and StripGeomDetUnit.

Definition at line 108 of file GeomDet.h.

Referenced by AlignableDetUnit::AlignableDetUnit().

108 { return 0; }
GlobalPoint GeomDet::toGlobal ( const Local2DPoint lp) const
inline

Conversion to the global R.F. from the R.F. of the GeomDet.

Definition at line 52 of file GeomDet.h.

References surface(), and Surface::toGlobal().

Referenced by RPCStripsRing::addRoll(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CSCRecHit2DValidation::analyze(), DTVDriftSegmentCalibration::analyze(), DTTTrigOffsetCalibration::analyze(), RPCDigiValid::analyze(), DTResidualCalibration::analyze(), ElectronSeedAnalyzer::analyze(), SiStripLAProfileBooker::analyze(), DTSegment2DQuality::analyze(), DTVDriftCalibration::analyze(), DTSegment2DSLPhiQuality::analyze(), DTEfficiencyTask::analyze(), MuonAlignmentAnalyzer::analyze(), DTResolutionAnalysisTask::analyze(), DTSegment4DQuality::analyze(), MuonTrackResidualAnalyzer::analyze(), MuonIdVal::analyze(), RPCEfficiency::analyze(), CSCSegAlgoSK::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::areHitsCloseInGlobalPhi(), CSCSegAlgoTC::buildSegments(), CSCSegAlgoDF::buildSegments(), CSCSegAlgoSK::buildSegments(), DTCombinatorialPatternReco::buildSegments(), DTCombinatorialExtendedPatternReco::buildSegments(), DTMeantimerPatternReco::buildSegments(), reco::helper::JetMuonHitsIDHelper::calculate(), CSCHaloAlgo::Calculate(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftAlgo::compute(), DTLinearDriftFromDBAlgo::compute(), DTNoDriftAlgo::compute(), DTCalibValidation::compute(), DTRecHitQuality::compute(), CSCSegAlgoST::correctTheCovX(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), CSCOfflineMonitor::doRecHits(), CSCValidation::doRecHits(), CSCOfflineMonitor::doSegments(), CSCValidation::doSegments(), CSCValidation::doTimeMonitoring(), DTHitPairForFit::DTHitPairForFit(), DTTrigGeom::dumpGeom(), CSCSegAlgoSK::dumpHits(), CSCSegAlgoTC::dumpHits(), DTTrigGeom::dumpLUT(), DTCombinatorialExtendedPatternReco::extendCandidates(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), CSCSegAlgoHitPruning::fillLocalDirection(), CSCSegAlgoSK::fillLocalDirection(), CSCSegAlgoST::fillLocalDirection(), CSCSegAlgoTC::fillLocalDirection(), QcdLowPtDQM::fillPixels(), CSCEfficiency::fillRechitsSegments_info(), CSCTimingExtractor::fillTiming(), DTTimingExtractor::fillTiming(), reco::CentralityProducer::filter(), DTHitQualityUtils::findMuSimSegmentDirAndPos(), CSCValidation::findNonAssociatedRecHits(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoTC::fitSlopes(), MuonDetIdAssociator::getDetIdPoints(), DTTrigGeom::getGeom(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CkfDebugger::SimHit::globalPosition(), CSCMake2DRecHit::hitFromStripAndWire(), NuclearTester::HitPositions(), SiStripMonitorTrack::hitStudy(), HLTPixelClusterShapeFilter::hltFilter(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), MuonMesh::isClusteredWith(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoSK::isHitNearSegment(), CSCSegAlgoTC::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), ClusterShapeHitFilter::isNormalOriented(), RPCSeedOverlapper::isShareHit(), DTTrigGeom::localPosition(), CkfDebugger::nextCorrectHits(), DTTTrigSyncFromDB::offset(), DTTTrigSyncTOFCorr::offset(), FTSFromSimHitFactory::operator()(), TrackMerger::MomentumSort::operator()(), CompareHitY::operator()(), CompareHitY_plus::operator()(), MuonTrackResidualAnalyzer::RadiusComparatorInOut::operator()(), MuonSeedCleaner::OverlapSegments(), CSCSegAlgoSK::phiAtZ(), CSCSegAlgoTC::phiAtZ(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), GlobalRecHitsAnalyzer::plotResolution(), GlobalRecHitsProducer::plotResolution(), CkfDebugger::position(), QuadrupletSeedMerger::printHit(), QuadrupletSeedMerger::printNtuplet(), GlobalMuonToMuonProducer::printTrackRecHits(), ShallowRechitClustersProducer::produce(), ShallowTrackClustersProducer::produce(), HIPixelClusterVtxProducer::produce(), FakeTrackProducer< T >::produce(), MuonSegmentProducer::produce(), SiStripElectronAlgo::projectPhiBand(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTCombinatorialPatternReco4D::reconstruct(), DTRefitAndCombineReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), MuonDTLocalMillepedeAlgorithm::run(), SeedFromGenericPairOrTriplet::seedFromPair(), SeedFromGenericPairOrTriplet::seedFromTriplet(), DTResidualCalibration::segmentToWireDistance(), SeedFromNuclearInteraction::setMeasurements(), CSCSegAlgoShowering::showerSeg(), GEMSimpleModel::simulateClustering(), ME0PreRecoGaussianModel::simulateNoise(), SiStripMonitorTrack::trajectoryStudy(), CSCSegAlgoSK::tryAddingHitsToSegment(), CSCSegAlgoTC::tryAddingHitsToSegment(), DTTrigGeom::tubePosInCh(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

52  {
53  return surface().toGlobal( lp);
54  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
GlobalPoint GeomDet::toGlobal ( const Local3DPoint lp) const
inline

Conversion to the global R.F. from the R.F. of the GeomDet.

Definition at line 57 of file GeomDet.h.

References surface(), and Surface::toGlobal().

57  {
58  return surface().toGlobal( lp);
59  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
GlobalVector GeomDet::toGlobal ( const LocalVector lv) const
inline

Conversion to the global R.F. from the R.F. of the GeomDet.

Definition at line 62 of file GeomDet.h.

References surface(), and Surface::toGlobal().

62  {
63  return surface().toGlobal( lv);
64  }
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
Definition: Surface.h:114
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
LocalPoint GeomDet::toLocal ( const GlobalPoint gp) const
inline

Conversion to the R.F. of the GeomDet.

Definition at line 67 of file GeomDet.h.

References surface(), and GloballyPositioned< T >::toLocal().

Referenced by SiStripLAProfileBooker::analyze(), DTVDriftCalibration::analyze(), DTEfficiencyTask::analyze(), DTResolutionAnalysisTask::analyze(), DTSegment4DQuality::analyze(), RPCEfficiency::analyze(), BeamSpotTransientTrackingRecHit::BeamSpotTransientTrackingRecHit(), CSCSegAlgoDF::buildSegments(), MuonTrackLoader::buildTrackExtra(), MuonIdTruthInfo::checkSimHitForBestMatch(), DTRecHitSegmentResidual::compute(), DTLinearDriftFromDBAlgo::compute(), DTCalibValidation::compute(), FineDelayHistosUsingDb::computeDelays(), MuonTrackResidualAnalyzer::computeResolution(), CSCSegAlgoST::correctTheCovX(), CosmicMuonSeedGenerator::createSeed(), CSCSegtoRPC::CSCSegtoRPC(), CSCSegAlgoHitPruning::derivativeMatrix(), CSCSegAlgoShowering::derivativeMatrix(), CSCSegAlgoTC::derivativeMatrix(), CSCSegAlgoDF::derivativeMatrix(), CSCSegAlgoSK::derivativeMatrix(), CSCSegAlgoST::derivativeMatrix(), CSCOfflineMonitor::doEfficiencies(), CSCValidation::doEfficiencies(), DTHitPairForFit::DTHitPairForFit(), DTTMax::DTTMax(), DTTrigGeomUtils::DTTrigGeomUtils(), CSCEfficiency::efficienciesPerChamber(), DTCombinatorialExtendedPatternReco::extendCandidates(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), DTTimingExtractor::fillTiming(), SETFilter::findChi2(), SiStripFineDelayTLA::findtrackangle(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoTC::fitSlopes(), RPCSeedPattern::getSpecialAlgorithmErrorMatrix(), CSCDriftSim::getWireHit(), SiStripMonitorTrack::hitStudy(), DTTMax::InfoLayer::InfoLayer(), DTClusterer::initHits(), MuonDetIdAssociator::insideElement(), ClusterShapeHitFilter::isCompatible(), CSCSegAlgoShowering::isHitNearSegment(), CSCSegAlgoDF::isHitNearSegment(), TrajectoryManager::makeSinglePSimHit(), DTTTrigSyncTOFCorr::offset(), DTTTrigSyncFromDB::offset(), DTLocalTriggerBaseTest::phiRange(), ShallowTrackClustersProducer::produce(), MuonSimHitProducer::produce(), CSCSegAlgoShowering::pruneFromResidual(), CSCSegAlgoDF::pruneFromResidual(), DTSurvey::ReadChambers(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), DTCalibValidation::recHitPosition(), CSCEfficiency::recHitSegment_Efficiencies(), DTCombinatorialPatternReco4D::reconstruct(), DTMeantimerPatternReco4D::reconstruct(), DTRefitAndCombineReco4D::reconstruct(), TrackInfoProducerAlgorithm::run(), DTResidualCalibration::segmentToWireDistance(), CSCSegAlgoShowering::showerSeg(), SiStripMonitorTrack::trajectoryStudy(), DTSegmentUpdator::updateHits(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoSK::updateParameters(), CSCSegAlgoDF::updateParameters(), and CSCSegAlgoTC::updateParameters().

67  {
68  return surface().toLocal( gp);
69  }
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
LocalPoint toLocal(const GlobalPoint &gp) const
LocalVector GeomDet::toLocal ( const GlobalVector gv) const
inline

Conversion to the R.F. of the GeomDet.

Definition at line 72 of file GeomDet.h.

References surface(), and GloballyPositioned< T >::toLocal().

72  {
73  return surface().toLocal( gv);
74  }
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
LocalPoint toLocal(const GlobalPoint &gp) const
const Topology & GeomDet::topology ( ) const
virtual
const GeomDetType & GeomDet::type ( ) const
virtual

Friends And Related Function Documentation

friend class DetPositioner
friend

Alignment part of interface, available only to friend.

Definition at line 129 of file GeomDet.h.

Member Data Documentation

DetId GeomDet::m_detId
private

Definition at line 121 of file GeomDet.h.

Referenced by geographicalId(), and setDetId().

int GeomDet::m_index
private

Definition at line 122 of file GeomDet.h.

Referenced by index(), and setIndex().

AlignmentPositionError* GeomDet::theAlignmentPositionError
protected
ReferenceCountingPointer<Plane> GeomDet::thePlane
private

Definition at line 120 of file GeomDet.h.

Referenced by move(), rotate(), setPosition(), specificSurface(), and surface().