#include <Plane.h>
Public Types | |
typedef ReferenceCountingPointer < Plane > | BoundPlanePointer |
typedef ConstReferenceCountingPointer < Plane > | ConstBoundPlanePointer |
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 |
Public Member Functions | |
void | computeSpan () |
float | localZ (const GlobalPoint &gp) const |
float | localZ (const GlobalVector &gv) const |
Fast access to component perpendicular to plane for a vector. More... | |
GlobalVector | normalVector () const |
float | posPrec () const |
virtual SurfaceOrientation::Side | side (const LocalPoint &p, Scalar toler) const |
virtual SurfaceOrientation::Side | side (const GlobalPoint &p, Scalar toler) const |
virtual ConstReferenceCountingPointer < TangentPlane > | tangentPlane (const GlobalPoint &) const |
tangent plane to surface from global point More... | |
virtual ConstReferenceCountingPointer < TangentPlane > | tangentPlane (const LocalPoint &) const |
tangent plane to surface from local point More... | |
~Plane () | |
Public Member Functions inherited from Surface | |
const Bounds & | bounds () const |
const MediumProperties & | mediumProperties () const |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
void | setMediumProperties (const MediumProperties &mp) |
GlobalPoint | toGlobal (const Point2DBase< Scalar, LocalTag > lp) const |
std::pair< float, float > const & | zSpan () const |
virtual | ~Surface () |
Public Member Functions inherited from GloballyPositioned< float > | |
float | eta () const |
GloballyPositioned () | |
GloballyPositioned (const PositionType &pos, const RotationType &rot) | |
void | move (const GlobalVector &displacement) |
float | phi () const |
const PositionType & | position () const |
void | rotate (const RotationType &rotation) |
const RotationType & | rotation () const |
GlobalPoint | toGlobal (const LocalPoint &lp) const |
Point3DBase< U, GlobalTag > | toGlobal (const Point3DBase< U, LocalTag > &lp) const |
GlobalVector | toGlobal (const LocalVector &lv) const |
Vector3DBase< U, GlobalTag > | toGlobal (const Vector3DBase< U, LocalTag > &lv) const |
LocalPoint | toLocal (const GlobalPoint &gp) const |
Point3DBase< U, LocalTag > | toLocal (const Point3DBase< U, GlobalTag > &gp) const |
LocalVector | toLocal (const GlobalVector &gv) const |
Vector3DBase< U, LocalTag > | toLocal (const Vector3DBase< U, GlobalTag > &gv) const |
virtual | ~GloballyPositioned () |
Public Member Functions inherited from BasicReferenceCounted | |
void | addReference () const |
BasicReferenceCounted () | |
BasicReferenceCounted (const BasicReferenceCounted &) | |
const BasicReferenceCounted & | operator= (const BasicReferenceCounted &) |
unsigned int | references () const |
void | removeReference () const |
virtual | ~BasicReferenceCounted () |
Private Member Functions | |
void | setPosPrec () |
Private Attributes | |
Scalar | m_posPrec |
Additional Inherited Members | |
Static Public Member Functions inherited from GloballyPositioned< float > | |
static float | iniEta () |
static float | iniPhi () |
Protected Member Functions inherited from Surface | |
Surface () | |
Surface (const PositionType &pos, const RotationType &rot) | |
Surface (const PositionType &pos, const RotationType &rot, Bounds *bounds) | |
Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp) | |
Surface (const PositionType &pos, const RotationType &rot, MediumProperties mp, Bounds *bounds) | |
Surface (const Surface &iSurface) | |
Protected Attributes inherited from Surface | |
Bounds * | theBounds |
MediumProperties | theMediumProperties |
A plane in 3D space.
|
inline |
|
inline |
Fast access to distance from plane for a point. return 0 if too close
Definition at line 49 of file Plane.h.
References Vector3DBase< T, FrameTag >::dot(), normalVector(), and GloballyPositioned< float >::position().
Referenced by NavVolume6Faces::computeBounds(), Geant4ePropagator::configureAnyPropagation(), Geant4ePropagator::debugReportPlaneSetup(), fastProp(), HelixArbitraryPlaneCrossing::notAtSurface(), HelixArbitraryPlaneCrossing::pathLength(), HelixBarrelPlaneCrossingByCircle::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), RKPropagatorInS::propagateParametersOnPlane(), side(), and SETSeedFinder::sortByLayer().
|
inline |
Fast access to component perpendicular to plane for a vector.
Definition at line 61 of file Plane.h.
References Vector3DBase< T, FrameTag >::dot(), and normalVector().
|
inline |
Definition at line 45 of file Plane.h.
References GloballyPositioned< float >::rotation(), and z.
Referenced by GlobalTrackerMuonAlignment::analyzeTrackTrack(), GlobalTrackerMuonAlignment::analyzeTrackTrajectory(), NavVolume6Faces::computeBounds(), ThreePlaneCrossing::crossing(), localZ(), OptimalHelixPlaneCrossing::OptimalHelixPlaneCrossing(), HelixBarrelPlaneCrossingByCircle::pathLength(), StraightLinePlaneCrossing::pathLength(), HelixArbitraryPlaneCrossing2Order::pathLength(), HSCPDeDxInfoProducer::produce(), DeDxHitInfoProducer::produce(), DeDxEstimatorProducer::produce(), MagGeoBuilderFromDDD::volumeHandle::sameSurface(), and MagGeoBuilderFromDDD::volumeHandle::setSurface().
|
inlineprivate |
Definition at line 91 of file Plane.h.
References funct::abs(), constexpr, prof2calltree::l, m_posPrec, bookConverter::max, AlCaHLTBitMon_ParallelJobs::p, and GloballyPositioned< float >::position().
|
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 73 of file Plane.h.
References funct::abs(), SurfaceOrientation::negativeSide, SurfaceOrientation::onSurface, AlCaHLTBitMon_ParallelJobs::p, and SurfaceOrientation::positiveSide.
Referenced by NavVolume6Faces::computeBounds().
|
inlinevirtual |
Reimplemented from Surface.
Definition at line 78 of file Plane.h.
References funct::abs(), localZ(), SurfaceOrientation::negativeSide, SurfaceOrientation::onSurface, AlCaHLTBitMon_ParallelJobs::p, and SurfaceOrientation::positiveSide.
|
virtual |
|
virtual |
|
private |
Definition at line 100 of file Plane.h.
Referenced by posPrec(), and setPosPrec().