#include <GloballyPositioned.h>
Classes | |
class | ToLocal |
Public Types | |
typedef Point3DBase< T, GlobalTag > | GlobalPoint |
typedef Vector3DBase< T, GlobalTag > | GlobalVector |
typedef Point3DBase< T, LocalTag > | LocalPoint |
typedef Vector3DBase< T, LocalTag > | LocalVector |
typedef Point3DBase< T, GlobalTag > | PositionType |
typedef TkRotation< T > | RotationType |
typedef T | Scalar |
Public Member Functions | |
T | eta () const |
GloballyPositioned () | |
GloballyPositioned (const PositionType &pos, const RotationType &rot) | |
void | move (const GlobalVector &displacement) |
T | phi () const |
const PositionType & | position () const |
void | rotate (const RotationType &rotation) |
const RotationType & | rotation () const |
GlobalPoint | toGlobal (const LocalPoint &lp) const |
template<class U > | |
Point3DBase< U, GlobalTag > | toGlobal (const Point3DBase< U, LocalTag > &lp) const |
GlobalVector | toGlobal (const LocalVector &lv) const |
template<class U > | |
Vector3DBase< U, GlobalTag > | toGlobal (const Vector3DBase< U, LocalTag > &lv) const |
LocalPoint | toLocal (const GlobalPoint &gp) const |
template<class U > | |
Point3DBase< U, LocalTag > | toLocal (const Point3DBase< U, GlobalTag > &gp) const |
LocalVector | toLocal (const GlobalVector &gv) const |
template<class U > | |
Vector3DBase< U, LocalTag > | toLocal (const Vector3DBase< U, GlobalTag > &gv) const |
virtual | ~GloballyPositioned () |
Static Public Member Functions | |
static T | iniEta () |
static T | iniPhi () |
Private Member Functions | |
void | setCache () |
Private Attributes | |
T | theEta |
T | thePhi |
PositionType | thePos |
RotationType | theRot |
Base class for surfaces and volumes positioned in global 3D space. This class defines a cartesian reference frame, called in the following the local frame. It provides position, orientation, and frame transformations for points and vectors.
Definition at line 18 of file GloballyPositioned.h.
typedef Point3DBase<T, GlobalTag> GloballyPositioned< T >::GlobalPoint |
Definition at line 23 of file GloballyPositioned.h.
typedef Vector3DBase<T, GlobalTag> GloballyPositioned< T >::GlobalVector |
Definition at line 25 of file GloballyPositioned.h.
typedef Point3DBase<T, LocalTag> GloballyPositioned< T >::LocalPoint |
Definition at line 24 of file GloballyPositioned.h.
typedef Vector3DBase<T, LocalTag> GloballyPositioned< T >::LocalVector |
Definition at line 26 of file GloballyPositioned.h.
typedef Point3DBase<T, GlobalTag> GloballyPositioned< T >::PositionType |
Definition at line 21 of file GloballyPositioned.h.
typedef TkRotation<T> GloballyPositioned< T >::RotationType |
Definition at line 22 of file GloballyPositioned.h.
typedef T GloballyPositioned< T >::Scalar |
Definition at line 20 of file GloballyPositioned.h.
|
inline |
Definition at line 31 of file GloballyPositioned.h.
|
inline |
Definition at line 32 of file GloballyPositioned.h.
|
inlinevirtual |
Definition at line 34 of file GloballyPositioned.h.
|
inline |
Definition at line 41 of file GloballyPositioned.h.
Referenced by Particle.Particle::__str__(), EtaPhiMeasurementEstimator::estimate(), Jet.Jet::jetID(), Jet.Jet::puJetId(), and TrajectoryFactoryBase::sameSurface().
|
inlinestatic |
Definition at line 29 of file GloballyPositioned.h.
|
inlinestatic |
Definition at line 28 of file GloballyPositioned.h.
|
inline |
Move the position of the frame in the global frame.
Useful e.g. for alignment.
Definition at line 128 of file GloballyPositioned.h.
Referenced by AlignableComposite::addComponent(), AlignableBeamSpot::initialize(), AlignableDetUnit::move(), AlignableBeamSpot::move(), AlignableComposite::move(), Alignable::recenterSurface(), and Alignable::updateMother().
|
inline |
Definition at line 40 of file GloballyPositioned.h.
Referenced by Particle.Particle::__str__(), PixelForwardLayer::computeCrossings(), EtaPhiMeasurementEstimator::estimate(), ntupleDataFormat.Track::phiPull(), and TrajectoryFactoryBase::sameSurface().
|
inline |
Definition at line 36 of file GloballyPositioned.h.
Referenced by cms::Phase2TrackerDigitizer::accumulatePixelHits(), SiStripCalibLorentzAngle::algoBeginJob(), SiPixelBadModuleReader::analyze(), TestHits::analyze(), TestTrackHits::analyze(), SiPixelErrorEstimation::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), magneticfield::InterpolatorBuilder::build(), magneticfield::MagGeoBuilder::buildInterpolator(), MagGeoBuilderFromDDD::buildInterpolator(), magneticfield::MagGeoBuilder::buildMagVolumes(), MagGeoBuilderFromDDD::buildMagVolumes(), MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), MTDDetRing::compatibleDets(), MuDetRing::compatibleDets(), MTDDetTray::compatibleDets(), MuDetRod::compatibleDets(), TIBRing::computeCrossings(), TIBRing::computeHelicity(), TIBLayer::computeIndexes(), Phase1PixelBlade::computeRadiusRanges(), AlignableStackDet::consistifyAlignments(), AlignableSiStripDet::consistifyAlignments(), fastsim::TrackerSimHitProducer::createHitOnDetector(), BeamHaloPropagator::crossingTk(), shallow::drift(), Phase2TrackerDigitizerAlgorithm::drift(), StripCPE::driftDirection(), Phase2StripCPE::driftDirection(), SiHitDigitizer::DriftDirection(), Phase2TrackerDigitizerAlgorithm::driftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), Pixel3DDigitizerAlgorithm::driftFor3DSensors(), EtaPhiMeasurementEstimator::estimate(), fastProp(), ApeEstimator::fillHitVariables(), FWRecoGeometryESProducer::fillShapeAndPlacement(), DTTimingExtractor::fillTiming(), CSCEfficiency::filter(), ClusterShapeHitFilter::getDrift(), SiStripLorentzAngleRunInfoTableProducer::globalBeginRunProduce(), Alignable::globalPosition(), SeedFromProtoTrack::init(), CSCStripElectronicsSim::initParameters(), SmartPropagator::insideTkVol(), SteppingHelixPropagator::isYokeVolume(), OutInConversionSeedFinder::makeEstimator(), TSGForRoadSearch::makeSeeds_3(), magneticfield::BaseVolumeHandle::maxPhi(), magneticfield::BaseVolumeHandle::maxZ(), magneticfield::BaseVolumeHandle::minZ(), GlobalTrackerMuonAlignment::misalignMuonL(), DTTTrigSyncFromDB::offset(), MTDDiskSectorBuilderFromDet::operator()(), ForwardDiskSectorBuilderFromWedges::operator()(), ForwardDiskSectorBuilderFromDet::operator()(), MuonDetLayerComp::operator()(), CylinderBuilderFromDet::operator()(), HelixArbitraryPlaneCrossing::pathLength(), HelixForwardPlaneCrossing::pathLength(), StraightLinePlaneCrossing::pathLength(), PixelForwardLayer::PixelForwardLayer(), PixelForwardLayerPhase1::PixelForwardLayerPhase1(), GeometricSearchDet::position(), SurveyDet::position(), GeomDet::position(), GlobalMuonToMuonProducer::printTrackRecHits(), ShallowTrackClustersProducer::produce(), CachedTrajectory::propagate(), SteppingHelixPropagator::propagate(), RKPropagatorInS::propagateParametersOnCylinder(), AnalyticalPropagator::propagateParametersOnCylinder(), RKPropagatorInS::propagateParametersOnPlane(), CSCPairResidualsConstraint::radius(), magneticfield::volumeHandle::referencePlane(), SteppingHelixPropagator::refToMagVolume(), TrajectoryFactoryBase::sameSurface(), CSCPairResidualsConstraint::setZplane(), HIPAlignmentAlgorithm::terminate(), FrameChanger::toFrame(), GloballyPositioned< align::Scalar >::toGlobal(), GloballyPositioned< align::Scalar >::toLocal(), LaserDQM::trackerStatistics(), FrameChanger::transformPlane(), Geant4ePropagator::transformToG4SurfaceTarget(), SiTrackerMultiRecHitUpdator::update(), Alignable::update(), and AlignableDataIO::writeAbsPos().
|
inline |
Rotate the frame in the global frame. Useful e.g. for alignment.
Definition at line 136 of file GloballyPositioned.h.
Referenced by AlignableBeamSpot::initialize(), AlignableDetUnit::rotateInGlobalFrame(), AlignableBeamSpot::rotateInGlobalFrame(), and AlignableComposite::rotateInGlobalFrame().
|
inline |
Definition at line 38 of file GloballyPositioned.h.
Referenced by GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), magneticfield::bLayer::bLayer(), magneticfield::InterpolatorBuilder::build(), magneticfield::MagGeoBuilder::buildInterpolator(), MagGeoBuilderFromDDD::buildInterpolator(), magneticfield::MagGeoBuilder::buildMagVolumes(), MagGeoBuilderFromDDD::buildMagVolumes(), AlignableStackDet::consistifyAlignments(), AlignableSiStripDet::consistifyAlignments(), SiHitDigitizer::DriftDirection(), Phase2TrackerDigitizerAlgorithm::driftDirection(), PixelCPEBase::driftDirection(), SiPixelDigitizerAlgorithm::DriftDirection(), FWRecoGeometryESProducer::fillShapeAndPlacement(), Alignable::globalRotation(), JacobianCartesianToLocal::JacobianCartesianToLocal(), JacobianCurvilinearToLocal::JacobianCurvilinearToLocal(), JacobianLocalToCartesian::JacobianLocalToCartesian(), JacobianLocalToCurvilinear::JacobianLocalToCurvilinear(), GlobalTrackerMuonAlignment::misalignMuonL(), SteppingHelixPropagator::propagate(), SteppingHelixPropagator::refToMagVolume(), GloballyPositioned< align::Scalar >::rotate(), SurveyDet::rotation(), GeomDet::rotation(), tt::SensorModule::SensorModule(), FrameChanger::toFrame(), GloballyPositioned< align::Scalar >::toGlobal(), GloballyPositioned< align::Scalar >::toLocal(), ErrorFrameTransformer::transform(), FrameChanger::transformPlane(), Geant4ePropagator::transformToG4SurfaceTarget(), and AlignableDataIO::writeAbsPos().
|
inlineprivate |
Definition at line 156 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::GloballyPositioned(), GloballyPositioned< align::Scalar >::move(), and GloballyPositioned< align::Scalar >::rotate().
|
inline |
Transform a local point (i.e. a point with coordinates in the local frame) to the global frame
Definition at line 66 of file GloballyPositioned.h.
Referenced by magneticfield::BaseVolumeHandle::buildPhiZSurf(), RKPropagatorInS::globalMomentum(), RKPropagatorInS::globalPosition(), RKLocalFieldProvider::inTesla(), PathToPlane2Order::operator()(), RKPropagatorInS::propagateParametersOnPlane(), magneticfield::volumeHandle::referencePlane(), SpecialCylindricalMFGrid::toGridFrame(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), and GlobalGridWrapper::valueInTesla().
|
inline |
Transform a local point with different float precision from the one of the reference frame, and return a global point with the same precision as the input one.
Definition at line 75 of file GloballyPositioned.h.
|
inline |
Transform a local vector (i.e. a vector with coordinates in the local frame) to the global frame
Definition at line 82 of file GloballyPositioned.h.
|
inline |
Transform a local vector with different float precision from the one of the reference frame, and return a global vector with the same precision as the input one.
Definition at line 91 of file GloballyPositioned.h.
|
inline |
Transform a global point (i.e. a point with coordinates in the global frame) to the local frame
Definition at line 98 of file GloballyPositioned.h.
Referenced by MuonGeometrySanityCheck::analyze(), SiPixelLorentzAnglePCLWorker::analyze(), OverlapValidation::analyzeTrajectory(), SeedingOTEDProducer::buildInitialTSOS(), tkDetUtil::calculatePhiWindow(), GEMEfficiencyAnalyzer::checkBounds(), TkGluedMeasurementDet::collectRecHits(), RodPlaneBuilderFromDet::computeBounds(), PixelForwardLayer::computeCrossings(), VectorHitBuilderAlgorithmBase::computeParallaxCorrection(), Phase1PixelBlade::computeRadiusRanges(), Geant4ePropagator::configureAnyPropagation(), GsfConstraintAtVertex::constrainAtPoint(), JetCoreMCtruthSeedGenerator::coreHitsFilling(), BasicTrajectoryState::createLocalParameters(), JetCoreMCtruthSeedGenerator::DetectorSelector(), DeepCoreSeedGenerator::DetectorSelector(), DTTrigGeomUtils::DTTrigGeomUtils(), fastProp(), SpecialCylindricalMFGrid::fromGridFrame(), DTTrigGeom::getGeom(), TrackDetectorAssociator::getTAMuonChamberMatches(), SiStripLorentzAngleRunInfoTableProducer::globalBeginRunProduce(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), RKLocalFieldProvider::inTesla(), SteppingHelixPropagator::loadState(), DTTrigGeom::localPosition(), RKPropagatorInZ::myPropagate(), RKPropagatorInR::myPropagate(), TkClonerImpl::operator()(), PathToPlane2Order::operator()(), PixelBlade::overlap(), Phase1PixelBlade::overlap(), FastTrackerRecHitMatcher::produce(), JetCoreMCtruthSeedGenerator::produce(), DeepCoreSeedGenerator::produce(), TkClonerImpl::project(), RKPropagatorInS::propagateParametersOnCylinder(), StraightLinePropagator::propagateParametersOnPlane(), RKPropagatorInS::propagateParametersOnPlane(), RectangularCartesianMFGrid::RectangularCartesianMFGrid(), RectangularCylindricalMFGrid::RectangularCylindricalMFGrid(), RKPropagatorInS::rkMomentum(), RKPropagatorInS::rkPosition(), JetCoreMCtruthSeedGenerator::seedParFilling(), ME0TriggerPseudoBuilder::segmentConversion(), CSCPairResidualsConstraint::setZplane(), SpecialCylindricalMFGrid::SpecialCylindricalMFGrid(), Traj2TrackHits::split(), GeomDet::toLocal(), DTTrigGeom::toLocal(), TrapezoidalCartesianMFGrid::TrapezoidalCartesianMFGrid(), TrapezoidalCylindricalMFGrid::TrapezoidalCylindricalMFGrid(), DTTrigGeom::tubePosInCh(), and TrapezoidalCylindricalMFGrid::uncheckedValueInTesla().
|
inline |
Transform a global point with different float precision from the one of the reference frame, and return a local point with the same precision as the input one.
Definition at line 107 of file GloballyPositioned.h.
|
inline |
Transform a global vector (i.e. a vector with coordinates in the global frame) to the local frame
Definition at line 114 of file GloballyPositioned.h.
|
inline |
Transform a global vector with different float precision from the one of the reference frame, and return a local vector with the same precision as the input one.
Definition at line 121 of file GloballyPositioned.h.
|
private |
Definition at line 166 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::eta(), and GloballyPositioned< align::Scalar >::setCache().
|
private |
Definition at line 165 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::phi(), and GloballyPositioned< align::Scalar >::setCache().
|
private |
Definition at line 142 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::move(), GloballyPositioned< align::Scalar >::position(), and GloballyPositioned< align::Scalar >::setCache().
|
private |
Definition at line 143 of file GloballyPositioned.h.
Referenced by GloballyPositioned< align::Scalar >::rotate(), and GloballyPositioned< align::Scalar >::rotation().