DOCUMENTATION, FINAL_STATE, INTERMEDIATE
Constructor and Description |
---|
BasicParticle(Hep3Vector origin,
HepLorentzVector p,
ParticleType ptype,
int status,
double time)
Create a new BasicParticle
|
Modifier and Type | Method and Description |
---|---|
void |
addDaughter(Particle child)
Adds a child to this particle.
|
HepLorentzVector |
asFourVector()
Return this particles momentum and energy as a 4-vector
|
double |
getCharge()
Returns the particle's charge
|
List |
getDaughters()
Returns a list of the decay products of this particle
|
double |
getEnergy()
Energy
|
int |
getGeneratorStatus()
Status code, one of FINALSTATE, INTERMEDIATE or DOCUMENTATION
|
double |
getMass()
Mass
|
Hep3Vector |
getMomentum()
Momentum
|
Hep3Vector |
getOrigin()
Point of origin
|
double |
getOriginX() |
double |
getOriginY() |
double |
getOriginZ() |
List |
getParents()
Returns a list of the parent(s) of this particle
|
int |
getPDGID()
Convenience method for getting particles PDGID
|
double |
getProductionTime()
Production time
|
double |
getPX()
X component of momentum
|
double |
getPY()
Y component of momentum
|
double |
getPZ()
Z component of momentum
|
ParticleType |
getType()
Particle Type
|
void |
setMass(double mass)
Overrides the mass obtained from the particle type.
|
public BasicParticle(Hep3Vector origin, HepLorentzVector p, ParticleType ptype, int status, double time)
origin
- The origin of this particlep
- The momentum and energy of this particleptype
- The type of this particlestatus
- The status of this particletime
- The production time of this particlepublic void addDaughter(Particle child)
child
- The child particlepublic void setMass(double mass)
public double getPX()
Particle
public double getPY()
Particle
public double getPZ()
Particle
public double getEnergy()
Particle
public double getMass()
Particle
public double getOriginX()
getOriginX
in interface Particle
public double getOriginY()
getOriginY
in interface Particle
public double getOriginZ()
getOriginZ
in interface Particle
public double getProductionTime()
Particle
getProductionTime
in interface Particle
public int getGeneratorStatus()
Particle
getGeneratorStatus
in interface Particle
public Hep3Vector getMomentum()
Particle
getMomentum
in interface Particle
public Hep3Vector getOrigin()
Particle
public List getDaughters()
Particle
getDaughters
in interface Particle
public List getParents()
Particle
getParents
in interface Particle
public ParticleType getType()
Particle
public double getCharge()
Particle
public int getPDGID()
Particle
public HepLorentzVector asFourVector()
Particle
asFourVector
in interface Particle
Jas4pp 1.5 © Java Analysis Studio for Particle Physics