Uses of Class
org.jlab.geom.prim.Vector3D
Packages that use Vector3D
Package
Description
-
Uses of Vector3D in org.jlab.clas.detector
Methods in org.jlab.clas.detector that return Vector3DModifier and TypeMethodDescriptionDetectorResponse.getMatchedPosition()
TaggerResponse.getMomentum()
DetectorResponse.getPosition()
DetectorTrack.getTrackEnd()
static Vector3D
DetectorData.readVector
(DataBank bank, int row, String xc, String yc, String zc) Methods in org.jlab.clas.detector with parameters of type Vector3DModifier and TypeMethodDescriptiondouble
DetectorParticle.getDetectorHitQuality
(List<DetectorResponse> hitList, int index, Vector3D hitRes) double
DetectorParticle.getPathLength
(Vector3D vec) DetectorTrack.setNeutralPath
(Vector3 vertex, Vector3D end) DetectorTrack.setTrackEnd
(Vector3D v) -
Uses of Vector3D in org.jlab.clas.swimtools
Methods in org.jlab.clas.swimtools with parameters of type Vector3DModifier and TypeMethodDescriptiondouble[]
double[]
Swim.SwimToPlaneBoundary
(double d_cm, Vector3D n, int dir) -
Uses of Vector3D in org.jlab.clas.tracking.kalmanfilter
Methods in org.jlab.clas.tracking.kalmanfilter that return Vector3DMethods in org.jlab.clas.tracking.kalmanfilter with parameters of type Vector3DModifier and TypeMethodDescriptiondouble
double
double
Surface.getElossScale
(Point3D pos, Vector3D mom, double mass, int dir) double
Surface.getTrackLength
(Point3D pos, Vector3D dir) double
Surface.getTrackLength
(Point3D pos, Vector3D dir, int materialIndex) -
Uses of Vector3D in org.jlab.clas.tracking.trackrep
Methods in org.jlab.clas.tracking.trackrep that return Vector3DModifier and TypeMethodDescriptionHelix.getMomentumAtPlane
(double X1, double Y1, double X2, double Y2, double tolerance) Helix.getMomentumAtR
(double r) Helix.getMomentumAtZ
(double z) -
Uses of Vector3D in org.jlab.detector.geom.RICH
Fields in org.jlab.detector.geom.RICH declared as Vector3DModifier and TypeFieldDescriptionstatic final Vector3D
RICHGeoConstants.vback
static final Vector3D
RICHGeoConstants.vbottom
static final Vector3D
RICHGeoConstants.vfront
static final Vector3D
RICHGeoConstants.vleft
static final Vector3D
RICHGeoConstants.vright
static final Vector3D
RICHGeoConstants.vsphere
Methods in org.jlab.detector.geom.RICH that return Vector3DModifier and TypeMethodDescriptionRICHFrame.bref()
RICHRay.direction()
RICHGeoCalibration.get_AlignAngle
(int isec, int ila, int ico) RICHGeoCalibration.get_AlignShift
(int isec, int ila, int ico) RICHLayer.get_CompoBary
(int icompo) RICHLayer.get_CompoCenter
(int icompo, Vector3D vers) RICHLayer.get_CompoCSGBary
(int icompo) RICHLayer.get_CompoNormal
(int icompo) RICHLayer.get_CompoNormal
(int icompo, Vector3D orientation) RICHLayer.get_FaceNormal
(int icompo, int ifa) RICHLayer.get_LayerCSGBary()
RICHLayer.get_LayerNormal()
RICHLayer.get_LayerNormal
(Vector3D orientation) RICHIntersection.get_normal()
RICHLayer.get_SurfBary()
RICHLayer.get_SurfBary
(int icompo, Vector3D vers) RICHLayer.get_SurfBary
(Vector3D vers) RICHLayer.get_SurfMainAx
(int icompo, Vector3D vers, Vector3D vref) RICHLayer.get_Vinside()
RICHGeoFactory.into_LabFrame
(Vector3D vec, RICHFrame frame) RICHGeoFactory.into_LabFrame
(Vector3D vec, Vector3D xref, Vector3D yref, Vector3D zref) RICHGeoFactory.toVector3D
(Vector3d vin) RICHGeoFactory.toVector3D
(Point3D pin) RICHLayer.toVector3D
(Vector3d ver) RICHFrame.xref()
RICHFrame.yref()
RICHFrame.zref()
Methods in org.jlab.detector.geom.RICH with parameters of type Vector3DModifier and TypeMethodDescriptionvoid
RICHGeoCalibration.add_AlignAngle
(int isec, int ila, int ico, Vector3D angle) void
RICHGeoCalibration.add_AlignShift
(int isec, int ila, int ico, Vector3D shift) void
RICHGeoFactory.align_Element
(Shape3D shape, RICHFrame frame, Vector3D angle, Vector3D shift) void
RICHGeoFactory.align_Element
(Sphere3D sphere, RICHFrame frame, Vector3D angle, Vector3D shift) void
RICHGeoFactory.build_CompoSurfs
(RICHLayer layer, Vector3D orient) RICHGeoFactory.build_GlobalPlane
(Shape3D plane, Vector3D orient, double delta) void
RICHGeoFactory.build_GlobalPlanes
(RICHLayer layer, Vector3D orient) RICHLayer.generate_LocalRef
(int icompo, Vector3D vers) RICHLayer.get_CompoCenter
(int icompo, Vector3D vers) RICHLayer.get_CompoNormal
(int icompo, Vector3D orientation) RICHLayer.get_LayerNormal
(Vector3D orientation) RICHLayer.get_SurfBary
(int icompo, Vector3D vers) RICHLayer.get_SurfBary
(Vector3D vers) RICHLayer.get_SurfMainAx
(int icompo, Vector3D vers, Vector3D vref) RICHGeoFactory.into_LabFrame
(Vector3D vec, RICHFrame frame) RICHGeoFactory.into_LabFrame
(Vector3D vec, Vector3D xref, Vector3D yref, Vector3D zref) RICHLayer.select_Vertexes
(Shape3D surf, Vector3D vers) void
void
RICHIntersection.set_normal
(Vector3D vno) void
RICHLayer.set_Vinside
(Vector3D vers) void
void
void
void
RICHGeoFactory.show_OrientedShape3D
(Shape3D plane, Vector3D orient, String head) RICHGeoFactory.toVector3d
(Vector3D vin) RICHLayer.toVector3d
(Vector3D ver) void
RICHGeoFactory.translate_Shape3D
(Shape3D shape, Vector3D shift) void
RICHGeoFactory.translate_Sphere3D
(Sphere3D sphere, Vector3D shift) Constructors in org.jlab.detector.geom.RICH with parameters of type Vector3D -
Uses of Vector3D in org.jlab.geom
Methods in org.jlab.geom that return Vector3DConstructors in org.jlab.geom with parameters of type Vector3DModifierConstructorDescriptionDetectorHit
(DetectorId detectorId, int sectorId, int superlayerId, int layerId, int componentId, Point3D hitPosition, Vector3D direction) -
Uses of Vector3D in org.jlab.geom.component
Methods in org.jlab.geom.component that return Vector3DModifier and TypeMethodDescriptionPrismaticComponent.getDirection()
Returns a vector pointing from themidpoint
of this component towards the readout end of the component (eg towards the PMT of a scintillator). -
Uses of Vector3D in org.jlab.geom.detector.alert.AHDC
Methods in org.jlab.geom.detector.alert.AHDC that return Vector3DModifier and TypeMethodDescriptionConcaveComponent.getDirection()
Returns a vector pointing from themidpoint
of this component towards the readout end of the component (e.g. towards the PMT of a scintillator). -
Uses of Vector3D in org.jlab.geom.prim
Methods in org.jlab.geom.prim that return Vector3DModifier and TypeMethodDescriptionVector3D.add
(double a) Adds the given vector to this vector.Vector3D.asUnit()
Create unit vector from thisArc3D.bisect()
Vector3D.clone()
Returns a new instance of this vector.Constructs a newVector3D
containing the cross product of this vector and the given vector.Line3D.direction()
direction vector from begin to end pointVector3D.divide
(double a) Arc3D.endVector()
Constructs a newVector3D
from the center point of the circle of the arc to the end point on the arc.static Vector3D
Vector3D.fromSpherical
(double r, double phi, double theta) Creates a new Vector3D instance from spherical coordinatesRegion3D.getDimension()
Sphere3D.getNormal
(double x, double y, double z) Vector3D.multiply
(double a) Arc3D.normal()
Returns the vector normal to the circle of the arc.Helix3D.normal()
Returns the direction vector of the central axis.Plane3D.normal()
Returns the normal of this plane.Sector3D.normal()
Trap3D.normal()
Constructs the normal vector to the trapezoid plane, defined from the first three pointsTriangle3D.normal()
Constructs the unit vector normal to the plane of thisTriangle3D
.Line3D.originDir()
Arc3D.originVector()
Constructs a newVector3D
from the center point of the cirlce of the arc to the origin point on the arc.Line3D.projection
(Vector3D v) projection of a point onto this lineVector3D.projection
(Vector3D v) Projection of this vector onto another vectorSubtracts the given vector from this vectorVector3D.subtract
(double a) Line3D.toVector()
Returns a vector from the origin point to the end point.Point3D.toVector3D()
Constructs a newVector3D
using this points x, y, and z coordinates.Point3D.vectorFrom
(double x, double y, double z) Constructs a newVector3D
point from the point at the given coordinates to this point (this.x-x, this.y-y, this.z-z)Point3D.vectorFrom
(Point3D point) Constructs a newVector3D
pointing from the given point to this point (equivalent to (this.x-point.x, this.y-point.y, this.z-point.z).Point3D.vectorTo
(double x, double y, double z) Constructs a newVector3D
point from this point to the point at the given coordinates (x-this.x, y-this.y, z-this.z)).Constructs a newVector3D
pointing from this point to the given point (equivalent to (point.x-this.x, point.y-this.y, point.z-this.z)).Methods in org.jlab.geom.prim with parameters of type Vector3DModifier and TypeMethodDescriptionAdds the given vector to this vector.double
Angle between this and another vectordouble
Calculates the clockwise angle of rotation from the image of the first given vector to the image of the second given vector projected onto a plane who's normal is this vector and using this vector as an axis.double
Returns a value greater than or equal to zero proportional to the amount that the two vectors differ.void
Sets the components of this vector to be equal the components of the given vector.Constructs a newVector3D
containing the cross product of this vector and the given vector.double
Returns the dot product of this vector and the given vector.void
Modifies the contents of thisPath3D
such that the path contains the specified number of evenly spaced points, the origin of the path is at the given origin point, the points are collinear along the given direction vector, and the total length of the path is equal to the given length.Line3D.projection
(Vector3D v) projection of a point onto this lineVector3D.projection
(Vector3D v) Projection of this vector onto another vectorvoid
Rotates the given vector clockwise around the axis produced by this vector by the given angle.void
Sets the core parameters of this arc to equal the given parameters.void
Helix3D.set
(Point3D origin, Point3D center, Vector3D normal, double totalHeight, double loopHeight, boolean clockwise) Sets the parameters of this helix.void
Sets the line origin at the given point and the end point at the position of the origin point plus the given vector.void
Sets the reference point and normal of this plane to coincide with the given point and vector.void
Sets this points coordinates by adding the given vector to the given point.void
Sets the normal of the circle of the arc.void
Sets the orientation of the central axis of the helix.void
Sets the normal of this plane to parallel the given vector.Subtracts the given vector from this vectorConstructors in org.jlab.geom.prim with parameters of type Vector3DModifierConstructorDescriptionConstructs a newArc3D
from the given parameters.Helix3D
(Point3D origin, Point3D center, Vector3D normal, double totalHeight, double loopHeight, boolean clockwise) Constructs a helix from the given parameters.Constructs a newLine3D
such that the the given point is at the origin of the line and the vector from the origin to the end of the line is equal to the given vector.Constructs a newPlane3D
such that the new plane passes through the given point and the normal of the new plane is parallel to the given vector.Constructs a newPoint3D
by adding the given vector to the given point.Constructs a newPoint3D
with the given vector.Constructs a newVector3D
identical to the given vector. -
Uses of Vector3D in org.jlab.rec.cvt.bmt
Fields in org.jlab.rec.cvt.bmt declared as Vector3DMethods in org.jlab.rec.cvt.bmt that return Vector3DModifier and TypeMethodDescriptionBMTGeometry.getLocalTrack
(int layer, int sector, Point3D trackPos, Vector3D trackDir) Return track vector for local angle calculations 1) transform to the geometry service local frame first, 2) rotates to bring the track intersection at phi=90.BMTGeometry.getRotation
(int layer, int sector) Return ROTATIONS for the selected tile, identified by layer and sectorMethods in org.jlab.rec.cvt.bmt with parameters of type Vector3DModifier and TypeMethodDescriptiondouble
BMTGeometry.getLocalAngle
(int layer, int sector, Point3D trackPos, Vector3D trackDir) BMTGeometry.getLocalTrack
(int layer, int sector, Point3D trackPos, Vector3D trackDir) Return track vector for local angle calculations 1) transform to the geometry service local frame first, 2) rotates to bring the track intersection at phi=90.double
Returns the local angle of the track for C detectors the angle is positive for tracks going at positive zdouble
Returns the local angle of the track for Z detectors the angle is positive for tracks going toward positive phi -
Uses of Vector3D in org.jlab.rec.cvt.cluster
Methods in org.jlab.rec.cvt.cluster that return Vector3DMethods in org.jlab.rec.cvt.cluster with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.cvt.cross
Methods in org.jlab.rec.cvt.cross that return Vector3DModifier and TypeMethodDescriptionCross.getDir()
Cross.getDirErr()
Cross.getSVTCrossDerivative
(int icluster, Vector3D trackDir) Calculate the cross derivative for the translation of one strip useful for the error calculationCross.getSVTCrossError
(Vector3D trackDir) Calculate the cross position error from the two strips and the track directionMethods in org.jlab.rec.cvt.cross with parameters of type Vector3DModifier and TypeMethodDescriptionCross.getSVTCrossDerivative
(int icluster, Vector3D trackDir) Calculate the cross derivative for the translation of one strip useful for the error calculationCross.getSVTCrossError
(Vector3D trackDir) Calculate the cross position error from the two strips and the track directionCross.getSVTCrossPoint
(Vector3D trackDir) Calculate the cross point from the two strips and the track directionvoid
Sets the cross unit direction vectorvoid
Sets the cross unit direction vectorvoid
void
Cross.updateBMTCross
(Point3D trackPos, Vector3D trackDir) Sets the cross parameters: the position and direction unit vectorvoid
Cross.updateSVTCross
(Vector3D trackDir) Sets the cross parameters: the position and direction unit vector -
Uses of Vector3D in org.jlab.rec.cvt.hit
Methods in org.jlab.rec.cvt.hit that return Vector3DMethods in org.jlab.rec.cvt.hit with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.cvt.svt
Methods in org.jlab.rec.cvt.svt that return Vector3DModifier and TypeMethodDescriptionSVTGeometry.getLocalTrack
(int layer, int sector, Vector3D trackDir) Return track vector for local angle calculations 1) transform to the geometry service local frame first: y axis pointing toward the center, z axis pointing downstream along the module x axis given by y.cross(z) 2) for even layers, it rotates by 180 deg to have the y axis pointing outward *SVTGeometry.getNormal
(int layer, int sector) Methods in org.jlab.rec.cvt.svt with parameters of type Vector3DModifier and TypeMethodDescriptiondouble
SVTGeometry.getLocalAngle
(int layer, int sector, Vector3D trackDir) Returns angle of the track with respect to the normal to the module in the x-z plane defined aboveSVTGeometry.getLocalTrack
(int layer, int sector, Vector3D trackDir) Return track vector for local angle calculations 1) transform to the geometry service local frame first: y axis pointing toward the center, z axis pointing downstream along the module x axis given by y.cross(z) 2) for even layers, it rotates by 180 deg to have the y axis pointing outward *SVTGeometry.getStripProjection
(Line3D strip, Plane3D plane, Vector3D dir) -
Uses of Vector3D in org.jlab.rec.cvt.track
Methods in org.jlab.rec.cvt.track that return Vector3DMethods in org.jlab.rec.cvt.track with parameters of type Vector3DModifier and TypeMethodDescriptionvoid
void
Track.setTrackDirAtCTOF
(Vector3D _TrackDirAtCTOFRadious) -
Uses of Vector3D in org.jlab.rec.cvt.trajectory
Methods in org.jlab.rec.cvt.trajectory that return Vector3DModifier and TypeMethodDescriptionRay.getDirVec()
Helix.getPXYZ
(double solenoidMag) Helix.getTrackDirectionAtRadius
(double r) Methods in org.jlab.rec.cvt.trajectory with parameters of type Vector3DConstructors in org.jlab.rec.cvt.trajectory with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.dc.track
Methods in org.jlab.rec.dc.track that return Vector3DMethods in org.jlab.rec.dc.track with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.dc.trajectory
Methods in org.jlab.rec.dc.trajectory that return Vector3DModifier and TypeMethodDescriptionTrajectory.TrajectoryStateVec.getDirection()
Trajectory.TrajectoryStateVec.getMomentum()
Surface.getNormal()
Surface.ArcContour.vectorToPlane
(Point3D p) abstract Vector3D
Surface.Contour.vectorToPlane
(Point3D p) Surface.TrapContour.vectorToPlane
(Point3D p) Surface.TriangleContour.vectorToPlane
(Point3D p) Surface.vectorToPlane
(double x, double y, double z) Surface.vectorToPlane
(Point3D point) Methods in org.jlab.rec.dc.trajectory with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.eb
Methods in org.jlab.rec.eb that return Vector3D -
Uses of Vector3D in org.jlab.rec.fmt
Methods in org.jlab.rec.fmt that return Vector3DModifier and TypeMethodDescriptionstatic Vector3D
Constants.getDerivatives
(int layer, double x, double y, double z) -
Uses of Vector3D in org.jlab.rec.fmt.cross
Methods in org.jlab.rec.fmt.cross that return Vector3DMethods in org.jlab.rec.fmt.cross with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.fmt.track
Methods in org.jlab.rec.fmt.track that return Vector3DMethods in org.jlab.rec.fmt.track with parameters of type Vector3DConstructors in org.jlab.rec.fmt.track with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.ft
Methods in org.jlab.rec.ft that return Vector3DModifier and TypeMethodDescriptionFTParticle.getDirection()
FTParticle.getPosition()
FTParticle.getVertex()
Methods in org.jlab.rec.ft with parameters of type Vector3D -
Uses of Vector3D in org.jlab.rec.ft.trk
Methods in org.jlab.rec.ft.trk that return Vector3DMethods in org.jlab.rec.ft.trk with parameters of type Vector3DModifier and TypeMethodDescriptionvoid
Sets the cross unit direction vectorvoid
FTTRKCross.set_DirErr
(Vector3D dirErr) Sets the cross unit direction vector -
Uses of Vector3D in org.jlab.rec.rich
Fields in org.jlab.rec.rich declared as Vector3DMethods in org.jlab.rec.rich that return Vector3DModifier and TypeMethodDescriptionRICHRayTrace.Reflection
(Vector3D vector1, Vector3D normal) RICHUtil.toVector3D
(Vector3d vin) RICHUtil.toVector3D
(Point3D pin) RICHRayTrace.Transmission2
(Vector3D vector1, Vector3D normal, double n_1, double n_2) Methods in org.jlab.rec.rich with parameters of type Vector3DModifier and TypeMethodDescriptionRICHEventBuilder.Outer_Intersection
(Point3D first, Point3D second, Vector3D direction) RICHRayTrace.RayTrace
(RICHParticle photon, Vector3D vlab) RICHRayTrace.RayTrace
(RICHParticle photon, Vector3D vlab, double naero) RICHRayTrace.Reflection
(Vector3D vector1, Vector3D normal) void
Set the rotation QuaternionRICHUtil.toVector3d
(Vector3D vin) RICHRayTrace.Transmission2
(Vector3D vector1, Vector3D normal, double n_1, double n_2) Constructors in org.jlab.rec.rich with parameters of type Vector3D -
Uses of Vector3D in org.jlab.service.ltcc
Methods in org.jlab.service.ltcc that return Vector3DModifier and TypeMethodDescriptionstatic Vector3D
LTCCClusterCorrection.calcPosition
(Vector3D clusterPos, double p, int charge, double torus, double solenoid) LTCCCluster.getPosition()
LTCCHit.getPosition()
Methods in org.jlab.service.ltcc with parameters of type Vector3DModifier and TypeMethodDescriptionstatic Vector3D
LTCCClusterCorrection.calcPosition
(Vector3D clusterPos, double p, int charge, double torus, double solenoid)