public class IReconstructedParticle extends Object implements ReconstructedParticle
| Constructor and Description |
|---|
IReconstructedParticle() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCluster(Cluster cluster)
Add a cluster that has been used to create this particle.
|
void |
addParticle(ReconstructedParticle particle)
Add a particle that has been used to create this particle.
|
void |
addParticleID(ParticleID pid)
Add a ParticleID object.
|
void |
addTrack(Track track)
Add a track that has been used to create this particle.
|
float |
getCharge()
Charge of the reconstructed particle.
|
List |
getClusters()
The clusters that have been used for this particle.
|
float[] |
getCovMatrix()
Covariance matrix of the reconstructed particle's 4vector (10 parameters).
|
Vertex |
getEndVertex()
The vertex where the particle decays
This method actually returns the start vertex from the first daughter particle found
|
double |
getEnergy()
Energy of the reconstructed particle - only float used in files.
|
float |
getGoodnessOfPID()
The overall goodness of the PID on a scale of [0;1].
|
double |
getMass()
Mass of the reconstructed particle, set independently from four vector quantities
- only float used in files.
|
double[] |
getMomentum()
The reconstructed particle's 3-momentum - only float used in files,
|
List |
getParticleIDs()
The particle Id's sorted by their likelihood.
|
ParticleID |
getParticleIDUsed()
The particle Id used for the kinematics of this particle.
|
List |
getParticles()
The reconstructed particles that have been combined to this particle.
|
float[] |
getReferencePoint()
Reference point of the reconstructedParticle parameters.
|
Vertex |
getStartVertex()
The start vertex associated to this particle
|
List |
getTracks()
The tracks that have been used for this particle.
|
int |
getType()
Type of reconstructed particle.
|
boolean |
isCompound()
Convenient method - same as (getParticles().size() > 0 ).
|
void |
setCharge(float charge) |
void |
setClusters(List clusters) |
void |
setCovMatrix(float[] cov) |
void |
setEnergy(float e) |
void |
setGoodnessOfPID(float goodnessOfPID) |
void |
setMass(float f) |
void |
setMomentum(double[] momentum) |
void |
setMomentum(double px,
double py,
double pz) |
void |
setMomentum(float[] fs) |
void |
setParticleIDs(List ids) |
void |
setParticles(List particles) |
void |
setReferencePoint(float[] fs) |
void |
setStartVertex(Vertex vertex) |
void |
setTracks(List tracks) |
void |
setType(int type) |
public float getGoodnessOfPID()
ReconstructedParticlegetGoodnessOfPID in interface ReconstructedParticlepublic void setGoodnessOfPID(float goodnessOfPID)
public void setCharge(float charge)
public float getCharge()
ReconstructedParticlegetCharge in interface ReconstructedParticlepublic void setClusters(List clusters)
public List getClusters()
ReconstructedParticlegetClusters in interface ReconstructedParticlepublic boolean isCompound()
ReconstructedParticleisCompound in interface ReconstructedParticlepublic void setCovMatrix(float[] cov)
public float[] getCovMatrix()
ReconstructedParticlegetCovMatrix in interface ReconstructedParticlepublic void setEnergy(float e)
public double getEnergy()
ReconstructedParticlegetEnergy in interface ReconstructedParticlepublic void setMass(float f)
public double getMass()
ReconstructedParticlegetMass in interface ReconstructedParticlepublic void setMomentum(float[] fs)
public void setMomentum(double[] momentum)
public void setMomentum(double px,
double py,
double pz)
public double[] getMomentum()
ReconstructedParticlegetMomentum in interface ReconstructedParticlepublic ParticleID getParticleIDUsed()
ReconstructedParticlegetParticleIDUsed in interface ReconstructedParticleParticleIDpublic void setParticleIDs(List ids)
public List getParticleIDs()
ReconstructedParticlegetParticleIDs in interface ReconstructedParticleParticleIDpublic void setParticles(List particles)
public List getParticles()
ReconstructedParticlegetParticles in interface ReconstructedParticlepublic void setReferencePoint(float[] fs)
public float[] getReferencePoint()
ReconstructedParticlegetReferencePoint in interface ReconstructedParticlepublic Vertex getStartVertex()
ReconstructedParticlegetStartVertex in interface ReconstructedParticlepublic void setStartVertex(Vertex vertex)
public Vertex getEndVertex()
ReconstructedParticlegetEndVertex in interface ReconstructedParticlepublic void setTracks(List tracks)
public List getTracks()
ReconstructedParticlegetTracks in interface ReconstructedParticlepublic void setType(int type)
public int getType()
ReconstructedParticlegetType in interface ReconstructedParticlepublic void addCluster(Cluster cluster)
ReconstructedParticleaddCluster in interface ReconstructedParticlepublic void addTrack(Track track)
ReconstructedParticleaddTrack in interface ReconstructedParticlepublic void addParticle(ReconstructedParticle particle)
ReconstructedParticleaddParticle in interface ReconstructedParticlepublic void addParticleID(ParticleID pid)
ReconstructedParticleaddParticleID in interface ReconstructedParticleParticleIDJas4pp 1.5 © Java Analysis Studio for Particle Physics