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()
Particlepublic double getPY()
Particlepublic double getPZ()
Particlepublic double getEnergy()
Particlepublic double getMass()
Particlepublic double getOriginX()
getOriginX in interface Particlepublic double getOriginY()
getOriginY in interface Particlepublic double getOriginZ()
getOriginZ in interface Particlepublic double getProductionTime()
ParticlegetProductionTime in interface Particlepublic int getGeneratorStatus()
ParticlegetGeneratorStatus in interface Particlepublic Hep3Vector getMomentum()
ParticlegetMomentum in interface Particlepublic Hep3Vector getOrigin()
Particlepublic List getDaughters()
ParticlegetDaughters in interface Particlepublic List getParents()
ParticlegetParents in interface Particlepublic ParticleType getType()
Particlepublic double getCharge()
Particlepublic int getPDGID()
Particlepublic HepLorentzVector asFourVector()
ParticleasFourVector in interface ParticleJas4pp 1.5 © Java Analysis Studio for Particle Physics