Package cnuphys.swim.util
Class TrajectorySummary
java.lang.Object
cnuphys.swim.util.TrajectorySummary
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTrajectorySummary
(int charge, double momentum, double theta, double phi, double[] hdata, double[] finalStateVector) Create a summary with vertex at originTrajectorySummary
(int charge, double xo, double yo, double zo, double momentum, double theta, double phi, double[] hdata, double[] finalStateVector) Create a summary -
Method Summary
-
Field Details
-
charge
public int charge -
xo
public double xo -
yo
public double yo -
zo
public double zo -
momentum
public double momentum -
theta
public double theta -
phi
public double phi -
hdata
public double[] hdata -
finalStateVector
public double[] finalStateVector
-
-
Constructor Details
-
TrajectorySummary
public TrajectorySummary(int charge, double xo, double yo, double zo, double momentum, double theta, double phi, double[] hdata, double[] finalStateVector) Create a summary- Parameters:
charge
- the charge: -1 for electron, 1 for proton, etcxo
- the x vertex position in metersyo
- the y vertex position in meterszo
- the z vertex position in metersmomentum
- initial momentum in GeV/ctheta
- initial polar angle in degreesphi
- initial azimuthal angle in degreeshdata
- if not null, should be double[3]. Upon return, hdata[0] is the min stepsize used (m), hdata[1] is the average stepsize used (m), and hdata[2] is the max stepsize (m) usedfinalStateVector
- final state vector from swimmer
-
TrajectorySummary
public TrajectorySummary(int charge, double momentum, double theta, double phi, double[] hdata, double[] finalStateVector) Create a summary with vertex at origin- Parameters:
charge
- the charge: -1 for electron, 1 for proton, etc the z vertex position in metersmomentum
- initial momentum in GeV/ctheta
- initial polar angle in degreesphi
- initial azimuthal angle in degreeshdata
- if not null, should be double[3]. Upon return, hdata[0] is the min stepsize used (m), hdata[1] is the average stepsize used (m), and hdata[2] is the max stepsize (m) usedfinalStateVector
- final state vector from swimmer
-