Class TrajectorySummary

java.lang.Object
cnuphys.swim.util.TrajectorySummary
All Implemented Interfaces:
Serializable

public class TrajectorySummary extends Object implements Serializable
See Also:
  • 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, etc
      xo - the x vertex position in meters
      yo - the y vertex position in meters
      zo - the z vertex position in meters
      momentum - initial momentum in GeV/c
      theta - initial polar angle in degrees
      phi - initial azimuthal angle in degrees
      hdata - 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) used
      finalStateVector - 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 meters
      momentum - initial momentum in GeV/c
      theta - initial polar angle in degrees
      phi - initial azimuthal angle in degrees
      hdata - 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) used
      finalStateVector - final state vector from swimmer