Package org.jlab.rec.vtx
Class Particle
java.lang.Object
org.jlab.rec.vtx.Particle
- All Implemented Interfaces:
- Cloneable
- Author:
- veronique
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected Objectclone()intintgetIndex()intgetPid()doublegetPx()doublegetPy()doublegetPz()doublegetVx()doublegetVy()doublegetVz()voidsetCharge(int _charge) voidsetIndex(int _index) voidsetPid(int _pid) voidsetPx(double _px) voidsetPy(double _py) voidsetPz(double _pz) voidsetVx(double _vx) voidsetVy(double _vy) voidsetVz(double _vz) toString()
- 
Constructor Details- 
Particlepublic Particle(int pid, double x, double y, double z, double px, double py, double pz, int q) 
- 
Particlepublic Particle(int index, int pid, double x, double y, double z, double px, double py, double pz, int q) 
 
- 
- 
Method Details- 
clone- Overrides:
- clonein class- Object
- Throws:
- CloneNotSupportedException
 
- 
getIndexpublic int getIndex()- Returns:
- the _index
 
- 
setIndexpublic void setIndex(int _index) - Parameters:
- _index- the _index to set
 
- 
getPidpublic int getPid()- Returns:
- the _pid
 
- 
setPidpublic void setPid(int _pid) - Parameters:
- _pid- the _pid to set
 
- 
getChargepublic int getCharge()- Returns:
- the _charge
 
- 
setChargepublic void setCharge(int _charge) - Parameters:
- _charge- the _charge to set
 
- 
getVxpublic double getVx()- Returns:
- the _vx
 
- 
setVxpublic void setVx(double _vx) - Parameters:
- _vx- the _vx to set
 
- 
getVypublic double getVy()- Returns:
- the _vy
 
- 
setVypublic void setVy(double _vy) - Parameters:
- _vy- the _vy to set
 
- 
getVzpublic double getVz()- Returns:
- the _vz
 
- 
setVzpublic void setVz(double _vz) - Parameters:
- _vz- the _vz to set
 
- 
getPxpublic double getPx()- Returns:
- the _px
 
- 
setPxpublic void setPx(double _px) - Parameters:
- _px- the _px to set
 
- 
getPypublic double getPy()- Returns:
- the _py
 
- 
setPypublic void setPy(double _py) - Parameters:
- _py- the _py to set
 
- 
getPzpublic double getPz()- Returns:
- the _pz
 
- 
setPzpublic void setPz(double _pz) - Parameters:
- _pz- the _pz to set
 
- 
toString
 
-