public class SIOMCParticle extends Object implements MCParticle
MCParticle
.Modifier and Type | Class and Description |
---|---|
private class |
SIOMCParticle.Status |
MCParticle.SimulatorStatus
Modifier and Type | Field and Description |
---|---|
private float |
charge |
protected int[] |
colorFlow |
private List<MCParticle> |
daughters |
private Hep3Vector |
endPoint |
private int |
generatorStatus |
private float |
mass |
private HepLorentzVector |
p |
private List<MCParticle> |
parents |
private int |
pdg |
private MCParticle.SimulatorStatus |
simStatus |
private int |
simulatorStatus |
protected float[] |
spin |
private List |
temp |
private float |
time |
private Hep3Vector |
vertex |
DOCUMENTATION, FINAL_STATE, INTERMEDIATE
Constructor and Description |
---|
SIOMCParticle(hep.io.sio.SIOInputStream in,
int flags,
int version) |
Modifier and Type | Method and Description |
---|---|
private void |
addDaughter(SIOMCParticle child) |
private void |
addParent(SIOMCParticle parent) |
HepLorentzVector |
asFourVector() |
double |
getCharge() |
int[] |
getColorFlow()
Get the color flow of particle.
|
List<MCParticle> |
getDaughters()
Get the daughters of this particle.
|
Hep3Vector |
getEndPoint()
The endpoint of the simulated track.
|
double |
getEnergy() |
int |
getGeneratorStatus() |
double |
getMass() |
Hep3Vector |
getMomentum() |
Hep3Vector |
getOrigin() |
double |
getOriginX() |
double |
getOriginY() |
double |
getOriginZ() |
List<MCParticle> |
getParents()
Get the parents of this particle.
|
int |
getPDGID() |
double |
getProductionTime() |
double |
getPX() |
double |
getPY() |
double |
getPZ() |
MCParticle.SimulatorStatus |
getSimulatorStatus()
If this event has been simulated by Geant4 this method will return the
simulation status.
|
float[] |
getSpin()
Get the X, Y, and Z spin components of this particle.
|
ParticleType |
getType() |
(package private) void |
resolve(int version) |
void |
setTime(double newTime) |
(package private) static void |
write(MCParticle particle,
hep.io.sio.SIOOutputStream out,
int flags) |
private int pdg
private int generatorStatus
private int simulatorStatus
private Hep3Vector vertex
private Hep3Vector endPoint
private HepLorentzVector p
private float mass
private float charge
private float time
private List<MCParticle> daughters
private List<MCParticle> parents
private MCParticle.SimulatorStatus simStatus
protected float[] spin
protected int[] colorFlow
private List temp
SIOMCParticle(hep.io.sio.SIOInputStream in, int flags, int version) throws IOException
IOException
void resolve(int version)
private void addDaughter(SIOMCParticle child)
private void addParent(SIOMCParticle parent)
public void setTime(double newTime)
public ParticleType getType()
public double getProductionTime()
getProductionTime
in interface Particle
public List<MCParticle> getParents()
MCParticle
getParents
in interface Particle
getParents
in interface MCParticle
public List<MCParticle> getDaughters()
MCParticle
getDaughters
in interface Particle
getDaughters
in interface MCParticle
public int getGeneratorStatus()
getGeneratorStatus
in interface Particle
public Hep3Vector getMomentum()
getMomentum
in interface Particle
public Hep3Vector getOrigin()
public double getOriginX()
getOriginX
in interface Particle
public double getOriginY()
getOriginY
in interface Particle
public double getOriginZ()
getOriginZ
in interface Particle
public Hep3Vector getEndPoint()
MCParticle
getEndPoint
in interface MCParticle
public MCParticle.SimulatorStatus getSimulatorStatus()
MCParticle
getSimulatorStatus
in interface MCParticle
static void write(MCParticle particle, hep.io.sio.SIOOutputStream out, int flags) throws IOException
IOException
public HepLorentzVector asFourVector()
asFourVector
in interface Particle
public float[] getSpin()
MCParticle
getSpin
in interface MCParticle
public int[] getColorFlow()
MCParticle
getColorFlow
in interface MCParticle
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.