Package cnuphys.lund

Class TrajectoryRowData

java.lang.Object
cnuphys.lund.TrajectoryRowData

public class TrajectoryRowData extends Object
  • Field Details

    • trackId

      protected int trackId
    • lundId

      protected LundId lundId
    • xo

      protected double xo
    • yo

      protected double yo
    • zo

      protected double zo
    • p

      protected double p
    • theta

      protected double theta
    • phi

      protected double phi
    • status

      protected int status
    • source

      protected String source
  • Constructor Details

    • TrajectoryRowData

      public TrajectoryRowData(int trackId, LundId lundId, double xo, double yo, double zo, double p, double theta, double phi, int status, String source)
      Create a data row for display in the table.
      Parameters:
      lundId - the full lundId object
      xo - the vertex x (cm)
      yo - the vertex y (cm)
      zo - the vertex z (cm)
      p - the initial momentum (MeV/c)
      theta - the initial polar angle (degrees)
      phi - the initial azimuthal angle (degrees)
  • Method Details

    • getTrackId

      public int getTrackId()
      Get the track id
      Returns:
      the track id
    • getCharge

      public int getCharge()
      Get the charge in units of e.
      Returns:
      the charge. -99 on failure.
    • getSource

      public String getSource()
      Get the source, probably a bank name
      Returns:
      the source
    • getStatus

      public int getStatus()
      Get the status
      Returns:
      the status
    • getMass

      public double getMass()
      The mass in MeV
      Returns:
      the mass in MeV
    • getName

      public String getName()
      Get the name of the particle
      Returns:
      the name of the particle
    • getTotalEnergy

      public double getTotalEnergy()
      The total energy in MeV
      Returns:
      the total energy in MeV
    • getTheta

      public double getTheta()
      Get the polar angle
      Returns:
      the polar angle in degrees.
    • getPhi

      public double getPhi()
      Get the azimuthal angle
      Returns:
      the azimuthal angle in degrees.
    • getXo

      public double getXo()
      Get the vertex x coordinate
      Returns:
      the vertex x coordinate in cm
    • getYo

      public double getYo()
      Get the vertex y coordinate
      Returns:
      the vertex y coordinate in cm
    • getZo

      public double getZo()
      Get the vertex z coordinate
      Returns:
      the vertex z coordinate in cm
    • getId

      public int getId()
      Get the lund (pdg) is for the particle
      Returns:
      the lund (pdg) is for the particle
    • getLundId

      public LundId getLundId()
      Get the lund id
      Returns:
      the lund id
    • getMomentum

      public double getMomentum()
      Get the momentum in MeV
      Returns:
      the momentum in MeV
    • getKineticEnergy

      public double getKineticEnergy()
      Get the kinetic energy in MeV
      Returns:
      the kinetic energy in MeV