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()
ReconstructedParticle
getGoodnessOfPID
in interface ReconstructedParticle
public void setGoodnessOfPID(float goodnessOfPID)
public void setCharge(float charge)
public float getCharge()
ReconstructedParticle
getCharge
in interface ReconstructedParticle
public void setClusters(List clusters)
public List getClusters()
ReconstructedParticle
getClusters
in interface ReconstructedParticle
public boolean isCompound()
ReconstructedParticle
isCompound
in interface ReconstructedParticle
public void setCovMatrix(float[] cov)
public float[] getCovMatrix()
ReconstructedParticle
getCovMatrix
in interface ReconstructedParticle
public void setEnergy(float e)
public double getEnergy()
ReconstructedParticle
getEnergy
in interface ReconstructedParticle
public void setMass(float f)
public double getMass()
ReconstructedParticle
getMass
in interface ReconstructedParticle
public void setMomentum(float[] fs)
public void setMomentum(double[] momentum)
public void setMomentum(double px, double py, double pz)
public double[] getMomentum()
ReconstructedParticle
getMomentum
in interface ReconstructedParticle
public ParticleID getParticleIDUsed()
ReconstructedParticle
getParticleIDUsed
in interface ReconstructedParticle
ParticleID
public void setParticleIDs(List ids)
public List getParticleIDs()
ReconstructedParticle
getParticleIDs
in interface ReconstructedParticle
ParticleID
public void setParticles(List particles)
public List getParticles()
ReconstructedParticle
getParticles
in interface ReconstructedParticle
public void setReferencePoint(float[] fs)
public float[] getReferencePoint()
ReconstructedParticle
getReferencePoint
in interface ReconstructedParticle
public Vertex getStartVertex()
ReconstructedParticle
getStartVertex
in interface ReconstructedParticle
public void setStartVertex(Vertex vertex)
public Vertex getEndVertex()
ReconstructedParticle
getEndVertex
in interface ReconstructedParticle
public void setTracks(List tracks)
public List getTracks()
ReconstructedParticle
getTracks
in interface ReconstructedParticle
public void setType(int type)
public int getType()
ReconstructedParticle
getType
in interface ReconstructedParticle
public void addCluster(Cluster cluster)
ReconstructedParticle
addCluster
in interface ReconstructedParticle
public void addTrack(Track track)
ReconstructedParticle
addTrack
in interface ReconstructedParticle
public void addParticle(ReconstructedParticle particle)
ReconstructedParticle
addParticle
in interface ReconstructedParticle
public void addParticleID(ParticleID pid)
ReconstructedParticle
addParticleID
in interface ReconstructedParticle
ParticleID
Jas4pp 1.5 © Java Analysis Studio for Particle Physics