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

    • Particle

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

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

    • clone

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

      public int getIndex()
      Returns:
      the _index
    • setIndex

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

      public int getPid()
      Returns:
      the _pid
    • setPid

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

      public int getCharge()
      Returns:
      the _charge
    • setCharge

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

      public double getVx()
      Returns:
      the _vx
    • setVx

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

      public double getVy()
      Returns:
      the _vy
    • setVy

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

      public double getVz()
      Returns:
      the _vz
    • setVz

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

      public double getPx()
      Returns:
      the _px
    • setPx

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

      public double getPy()
      Returns:
      the _py
    • setPy

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

      public double getPz()
      Returns:
      the _pz
    • setPz

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

      public String toString()
      Overrides:
      toString in class Object