Package org.jlab.rec.vtx
Class Particle
java.lang.Object
org.jlab.rec.vtx.Particle
- All Implemented Interfaces:
Cloneable
- Author:
- veronique
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
clone()
int
int
getIndex()
int
getPid()
double
getPx()
double
getPy()
double
getPz()
double
getVx()
double
getVy()
double
getVz()
void
setCharge
(int _charge) void
setIndex
(int _index) void
setPid
(int _pid) void
setPx
(double _px) void
setPy
(double _py) void
setPz
(double _pz) void
setVx
(double _vx) void
setVy
(double _vy) void
setVz
(double _vz) toString()
-
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
- Overrides:
clone
in classObject
- 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
-