#include <Plane.h>
Public Types | |
typedef ConstReferenceCountingPointer < Plane > | ConstPlanePointer |
typedef ReferenceCountingPointer < Plane > | PlanePointer |
Public Types inherited from Surface | |
typedef GloballyPositioned< float > | Base |
typedef SurfaceOrientation::Side | Side |
Public Types inherited from GloballyPositioned< float > | |
typedef Point3DBase< float, GlobalTag > | GlobalPoint |
typedef Vector3DBase< float, GlobalTag > | GlobalVector |
typedef Point3DBase< float, LocalTag > | LocalPoint |
typedef Vector3DBase< float, LocalTag > | LocalVector |
typedef Point3DBase< float, GlobalTag > | PositionType |
typedef TkRotation< float > | RotationType |
typedef float | Scalar |
Static Public Member Functions | |
static PlanePointer | build (const PositionType &pos, const RotationType &rot, MediumProperties *mp=0) |
Static Public Member Functions inherited from GloballyPositioned< float > | |
static float | iniEta () |
static float | iniPhi () |
A plane in 3D space.
|
inline |
Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer. This constructor will soon become private
Definition at line 36 of file Plane.h.
Referenced by build().
|
inline |
Do not use this constructor directly; use the static build method, which returns a ReferenceCountingPointer. This constructor will soon become private
Definition at line 42 of file Plane.h.
|
inlinestatic |
Construct a Plane. The reference frame is defined by pos and rot; the plane is orthogonal to the local Z axis.
Definition at line 25 of file Plane.h.
References Plane().
Referenced by EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), CosmicGenFilterHelix::CosmicGenFilterHelix(), CaloDetIdAssociator::crossedElement(), EcalShowerProperties::getSurface(), CachedTrajectory::getTrajectory(), CosmicTrackingRegion::hits(), RectangularEtaPhiTrackingRegion::hits(), HLTMuonPointingFilter::HLTMuonPointingFilter(), PlotRecTracks::printRecTracks(), EcalShowerProperties::processTrack(), PropagateToCal::propagate(), spr::propagateCalo(), CachedTrajectory::propagateForward(), cms::MuonTCMETValueMapProducer::propagateTrack(), TCMETAlgo::propagateTrack(), spr::propagateTrackerEnd(), TrackExtrapolator::propagateTrackToVolume(), and CSCPairResidualsConstraint::setZplane().
|
inline |
Fast access to distance from plane for a point.
Definition at line 52 of file Plane.h.
References Vector3DBase< T, FrameTag >::dot(), normalVector(), and GloballyPositioned< float >::position().
Referenced by NavVolume6Faces::computeBounds(), CachedTrajectory::distance(), RPCSeedPattern::extropolateStep(), HelixArbitraryPlaneCrossing::notAtSurface(), HelixBarrelPlaneCrossingByCircle::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), TrackingRecHitProjector< ResultingHit >::project(), GSRecHitMatcher::projectOnly(), Geant4ePropagator::propagate(), RKPropagatorInS::propagateParametersOnPlane(), AnalyticalPropagator::propagateWithPath(), side(), SETSeedFinder::sortByLayer(), and TkGluedMeasurementDet::testStrips().
|
inline |
Fast access to component perpendicular to plane for a vector.
Definition at line 57 of file Plane.h.
References Vector3DBase< T, FrameTag >::dot(), and normalVector().
|
inline |
Definition at line 47 of file Plane.h.
References GloballyPositioned< float >::rotation().
Referenced by GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), DeDxEstimatorProducerPixelTripplet::beginRun(), NavVolume6Faces::computeBounds(), ThreePlaneCrossing::crossing(), localZ(), OuterDetCompatibility::maximalLocalDisplacement(), MaterialEffects::normalVector(), HelixBarrelPlaneCrossingByCircle::pathLength(), StraightLinePlaneCrossing::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), TrackingRecHitProjector< ResultingHit >::project(), GSRecHitMatcher::projectOnly(), NavPropagator::propagateInVolume(), MagGeoBuilderFromDDD::volumeHandle::sameSurface(), MagGeoBuilderFromDDD::volumeHandle::setSurface(), and TkGluedMeasurementDet::testStrips().
|
inlinevirtual |
Returns the side of the surface on which the point is. Not defined for 1-sided surfaces (Moebius leaf etc.) For normal 2-sided surfaces the meaning of side is surface type dependent.
Implements Surface.
Definition at line 63 of file Plane.h.
References abs, SurfaceOrientation::negativeSide, SurfaceOrientation::onSurface, SurfaceOrientation::positiveSide, and PV3DBase< T, PVType, FrameType >::z().
Referenced by NavVolume6Faces::computeBounds(), and NavPropagator::destinationCrossed().
|
inlinevirtual |
Reimplemented from Surface.
Definition at line 68 of file Plane.h.
References abs, localZ(), SurfaceOrientation::negativeSide, SurfaceOrientation::onSurface, and SurfaceOrientation::positiveSide.
|
virtual |
tangent plane to surface from global point
Implements Surface.
Definition at line 9 of file Plane.cc.
References GloballyPositioned< float >::position(), and GloballyPositioned< float >::rotation().
|
virtual |
tangent plane to surface from local point
Implements Surface.
Definition at line 17 of file Plane.cc.
References GloballyPositioned< float >::position(), and GloballyPositioned< float >::rotation().