Class Surface
java.lang.Object
org.jlab.clas.tracking.kalmanfilter.Surface
- All Implemented Interfaces:
Comparable<Surface>
- Author:
- ziegler, Tongtong Cao
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSurface
(int sector, double x, double y, double z, double x_err, double y_err) Surface
(Cylindrical3D cylinder3d, Strip strp, double accuracy) Surface
(Cylindrical3D cylinder3d, Arc3D refArc, Point3D endPoint1, Point3D endPoint2, double accuracy) Surface
(Cylindrical3D cylinder3d, Point3D refrPoint, double accuracy) Surface
(Cylindrical3D cylinder3d, Point3D endPoint1, Point3D endPoint2, double accuracy) Surface
(Plane3D plane3d, Point3D endPoint1, Point3D endPoint2, Point3D c1, Point3D c2, double accuracy) Surface
(Point3D endPoint1, Point3D endPoint2, Cylindrical3D volume, double accuracy) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMaterial
(String name, double thickness, double density, double ZoverA, double X0, double IeV, Units unit) void
int
double
double
getEloss
(double p, double mass) double
double
getElossScale
(Point3D pos, Vector3D mom, double mass, int dir) double
getError()
int
getIndex()
int
getLayer()
double
int
getNMeas()
double
int
int
double
getThetaMS
(double p, double mass, double cosEntranceAngle) double
double
double
getTrackLength
(Point3D pos, Vector3D dir) double
getTrackLength
(Point3D pos, Vector3D dir, int materialIndex) double
void
setError
(double error) void
setIndex
(int index) void
setLayer
(int layer) void
setNMeas
(int n) void
setSector
(int sector) void
setSuperLayer
(int superlayer) void
setTransformation
(Transformation3D transform) toGlobal()
toLocal()
toString()
-
Field Details
-
type
-
plane
-
measPoint
-
measPoint_err
-
lineEndPoint1
-
lineEndPoint2
-
finitePlaneCorner1
-
finitePlaneCorner2
-
cylinder
-
lineVolume
-
arc
-
strip
-
swimAccuracy
public double swimAccuracy -
passive
public boolean passive -
hemisphere
public double hemisphere -
unc
public double[] unc -
doca
public double[] doca -
wireLine
-
region
public int region -
superlayer
public int superlayer -
nMeas
public int nMeas
-
-
Constructor Details
-
Surface
public Surface(int sector, double x, double y, double z, double x_err, double y_err) -
Surface
-
Surface
-
Surface
-
Surface
-
Surface
-
Surface
-
Surface
-
Surface
public Surface(Cylindrical3D cylinder3d, Arc3D refArc, Point3D endPoint1, Point3D endPoint2, double accuracy) -
Surface
-
Surface
-
-
Method Details
-
setNMeas
public void setNMeas(int n) -
getNMeas
public int getNMeas() -
toString
-
getError
public double getError()- Returns:
- the error
-
setError
public void setError(double error) - Parameters:
error
- the error to set
-
getIndex
public int getIndex() -
setIndex
public void setIndex(int index) -
getLayer
public int getLayer()- Returns:
- the layer
-
setLayer
public void setLayer(int layer) - Parameters:
layer
- the layer to set
-
getSuperLayer
public int getSuperLayer()- Returns:
- the superlayer
-
setSuperLayer
public void setSuperLayer(int superlayer) - Parameters:
superlayer
- the superlayer to set
-
getSector
public int getSector()- Returns:
- the sector
-
setSector
public void setSector(int sector) - Parameters:
sector
- the sector to set
-
getMaterials
-
addMaterial
-
addMaterial
-
getRadius
public double getRadius() -
getLength
public double getLength() -
getThickness
public double getThickness() -
getToverX0
public double getToverX0() -
getZoverA
public double getZoverA() -
getTrackLength
-
getTrackLength
-
getEloss
public double getEloss(double p, double mass) -
getEloss
-
getElossScale
-
getDx
-
getThetaMS
public double getThetaMS(double p, double mass, double cosEntranceAngle) -
toGlobal
-
toLocal
-
setTransformation
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Surface>
-