public class ParticleF extends Object implements Comparable<ParticleF>, Serializable
hephysics.jets.KTjet
algorithm.
"F" means float calculations The class has a minimum dynamic computation to minimize CPU. Use
LParticle
for (slower) dynamic calculations.
To use double precision calculations, use hephysics.jets.ParticleD
class.Constructor and Description |
---|
ParticleF()
Initialize pseudoparticle.
|
ParticleF(float px,
float py,
float pz,
float energy)
Initialize fast particle from 4-momenta.
|
ParticleF(LParticle p)
Initialize pseudoparticle.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ParticleF a)
Add to this particle and recalculate all characteristics.
|
int |
compareTo(ParticleF o)
Comparator.
|
void |
doc()
Show online documentation.
|
float |
eta()
Same as getEta().
|
float |
getEt() |
float |
getEt2() |
float |
getEta() |
LParticle |
getLParticle() |
float |
getPhi() |
int |
hashCode()
Get a hash code
|
float |
perp()
Same as getEt().
|
void |
setEt2(float et2) |
void |
setEta(float eta) |
void |
setPhi(float phi) |
void |
setPxPyPzE(float px,
float py,
float pz,
float energy)
Initialize from 4-momenta.
|
String |
toString()
Convert a particle to a string.
|
public ParticleF(LParticle p)
p
- initialisation particle.public ParticleF()
public ParticleF(float px, float py, float pz, float energy)
px
- py
- pz
- energy
- public void setPxPyPzE(float px, float py, float pz, float energy)
px
- py
- pz
- energy
- public float getEta()
public float getPhi()
public float getEt2()
public float getEt()
public float perp()
public float eta()
public void setEta(float eta)
public void setEt2(float et2)
public void setPhi(float phi)
public LParticle getLParticle()
public int compareTo(ParticleF o)
compareTo
in interface Comparable<ParticleF>
o
- public void doc()
public String toString()
public void add(ParticleF a)
a
- Jas4pp 1.5 © Java Analysis Studio for Particle Physics