public interface MCParticle extends LCObject
Modifier and Type | Field and Description |
---|---|
static int |
BITBackscatter |
static int |
BITCreatedInSimulation |
static int |
BITDecayedInCalorimeter |
static int |
BITDecayedInTracker |
static int |
BITEndpoint |
static int |
BITLeftDetector |
static int |
BITOverlay |
static int |
BITStopped |
static int |
BITVertexIsNotEndpointOfParent |
Modifier and Type | Method and Description |
---|---|
float |
getCharge()
Returns the particle's charge.
|
int[] |
getColorFlow()
Returns the color flow as defined by the generator.
|
List |
getDaughters()
Returns the daughters of this particle.
|
double[] |
getEndpoint()
Returns the endpoint of the particle in [mm] if
the endpoint has been set explicetly.
|
double |
getEnergy()
Returns the energy of the particle (at the vertex) in [GeV] computed from
the particle's momentum and mass - only float used in files.
|
int |
getGeneratorStatus()
Returns the status for particles as defined by the generator, typically
0 empty line 1 undecayed particle, stable in the generator 2 particle decayed in the generator 3 documentation line |
double |
getMass()
Returns the mass of the particle in [GeV] - only float used in files.
|
double[] |
getMomentum()
Returns the particle's 3-momentum at the production vertex in [GeV]
- only float used in files.
|
double[] |
getMomentumAtEndpoint()
Returns the particle's 3-momentum at the endpoint in [GeV]
Only float used in files.
|
List |
getParents()
Returns the parents of this particle.
|
int |
getPDG()
Returns the PDG code of the particle.
|
int |
getSimulatorStatus()
Returns the status for particles from the simulation, e.g.
|
float[] |
getSpin()
Returns the spin (helicity) vector of the particle.
|
float |
getTime()
The creation time of the particle in [ns] wrt.
|
double[] |
getVertex()
Returns the production vertex of the particle in [mm].
|
boolean |
hasLeftDetector()
True if the particle left the world volume undecayed.
|
boolean |
isBackscatter()
True if the particle was created by the simulator as a result of an interaction or decay in
non-tracking region, e.g.
|
boolean |
isCreatedInSimulation()
True if the particle has been created by the simulation program (rather than the generator).
|
boolean |
isDecayedInCalorimeter()
True if the particle decayed or interacted (non-continuous interaction, particle terminated)
in non-tracking region.
|
boolean |
isDecayedInTracker()
True if the particle decayed or interacted in a tracking region.
|
boolean |
isOverlay()
True if the particle has been overlayed by the simulation (or digitization) program.
|
boolean |
isStopped()
True if the particle lost all kinetic energy inside the world volume and did not decay
|
boolean |
vertexIsNotEndpointOfParent()
True if the particle was created as a result of a continuous process where the parent
particle continues, i.e.
|
static final int BITEndpoint
static final int BITCreatedInSimulation
static final int BITBackscatter
static final int BITVertexIsNotEndpointOfParent
static final int BITDecayedInTracker
static final int BITDecayedInCalorimeter
static final int BITLeftDetector
static final int BITStopped
static final int BITOverlay
double getEnergy()
float[] getSpin()
int[] getColorFlow()
List getParents()
List getDaughters()
int getPDG()
int getGeneratorStatus()
int getSimulatorStatus()
boolean isCreatedInSimulation()
boolean isBackscatter()
boolean vertexIsNotEndpointOfParent()
boolean isDecayedInTracker()
boolean isDecayedInCalorimeter()
boolean hasLeftDetector()
boolean isStopped()
boolean isOverlay()
double[] getVertex()
float getTime()
double[] getEndpoint()
double[] getMomentum()
double[] getMomentumAtEndpoint()
double getMass()
float getCharge()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics