Class Particle

java.lang.Object
org.jlab.rec.vtx.Particle
All Implemented Interfaces:
Cloneable

public class Particle extends Object implements Cloneable
Author:
veronique
  • Constructor Details Link icon

    • Particle Link icon

      public Particle(int pid, double x, double y, double z, double px, double py, double pz, int q)
    • Particle Link icon

      public Particle(int index, int pid, double x, double y, double z, double px, double py, double pz, int q)
  • Method Details Link icon

    • clone Link icon

      protected Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • getIndex Link icon

      public int getIndex()
      Returns:
      the _index
    • setIndex Link icon

      public void setIndex(int _index)
      Parameters:
      _index - the _index to set
    • getPid Link icon

      public int getPid()
      Returns:
      the _pid
    • setPid Link icon

      public void setPid(int _pid)
      Parameters:
      _pid - the _pid to set
    • getCharge Link icon

      public int getCharge()
      Returns:
      the _charge
    • setCharge Link icon

      public void setCharge(int _charge)
      Parameters:
      _charge - the _charge to set
    • getVx Link icon

      public double getVx()
      Returns:
      the _vx
    • setVx Link icon

      public void setVx(double _vx)
      Parameters:
      _vx - the _vx to set
    • getVy Link icon

      public double getVy()
      Returns:
      the _vy
    • setVy Link icon

      public void setVy(double _vy)
      Parameters:
      _vy - the _vy to set
    • getVz Link icon

      public double getVz()
      Returns:
      the _vz
    • setVz Link icon

      public void setVz(double _vz)
      Parameters:
      _vz - the _vz to set
    • getPx Link icon

      public double getPx()
      Returns:
      the _px
    • setPx Link icon

      public void setPx(double _px)
      Parameters:
      _px - the _px to set
    • getPy Link icon

      public double getPy()
      Returns:
      the _py
    • setPy Link icon

      public void setPy(double _py)
      Parameters:
      _py - the _py to set
    • getPz Link icon

      public double getPz()
      Returns:
      the _pz
    • setPz Link icon

      public void setPz(double _pz)
      Parameters:
      _pz - the _pz to set
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object