public class TrackState extends Object implements GenericObject
Constructor and Description |
---|
TrackState(double x,
double y,
double z,
double px,
double py,
double pz)
Double constructor.
|
TrackState(float x,
float y,
float z,
float px,
float py,
float pz)
Float constructor.
|
TrackState(Hep3Vector pos,
Hep3Vector p)
Constructor using Hep3Vectors
|
Modifier and Type | Method and Description |
---|---|
double |
getDoubleVal(int index)
Returns the double value for the given index.
|
float |
getFloatVal(int index)
Returns the float value for the given index.
|
int |
getIntVal(int index)
Returns the integer value for the given index.
|
int |
getNDouble()
Number of double values stored in this object.
|
int |
getNFloat()
Number of float values stored in this object.
|
int |
getNInt()
Number of integer values stored in this object.
|
boolean |
isFixedSize()
True if objects of the implementation class have a fixed size, i.e
getNInt, getNFloat and getNDouble will return values that are constant during
the lifetime of the object.
|
String |
toString() |
public TrackState(float x, float y, float z, float px, float py, float pz)
x
- y
- z
- px
- py
- pz
- public TrackState(double x, double y, double z, double px, double py, double pz)
x
- y
- z
- px
- py
- pz
- public TrackState(Hep3Vector pos, Hep3Vector p)
pos
- position of the track statep
- momentum at the positionpublic double getDoubleVal(int index)
GenericObject
getDoubleVal
in interface GenericObject
public float getFloatVal(int index)
GenericObject
getFloatVal
in interface GenericObject
public int getIntVal(int index)
GenericObject
getIntVal
in interface GenericObject
public int getNDouble()
GenericObject
getNDouble
in interface GenericObject
public int getNFloat()
GenericObject
getNFloat
in interface GenericObject
public int getNInt()
GenericObject
getNInt
in interface GenericObject
public boolean isFixedSize()
GenericObject
isFixedSize
in interface GenericObject
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.