public class MCFastReconstructedParticle extends Object implements ReconstructedParticle
Modifier and Type | Field and Description |
---|---|
private double |
_charge |
private List<Cluster> |
_clusters |
private double[] |
_covMatrix |
private double |
_goodnessOfPid |
private double |
_mass |
private List<ParticleID> |
_particleIds |
private ParticleID |
_particleIdUsed |
private List<ReconstructedParticle> |
_particles |
private Hep3Vector |
_referencePoint |
private List<Track> |
_tracks |
private double |
e_reco |
private double |
e_track |
private BasicHepLorentzVector |
p_reco |
private BasicHepLorentzVector |
p_track |
private Hep3Vector |
p3_track |
Constructor and Description |
---|
MCFastReconstructedParticle(Cluster c,
ParticleType type,
Particle p) |
MCFastReconstructedParticle(double[] vxd,
double[] mom,
double mass,
double charge,
ParticleType type) |
MCFastReconstructedParticle(Track t,
ParticleType type,
Particle p,
Cluster assoc_c,
double wtcal,
boolean refPoint000) |
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.
|
HepLorentzVector |
asFourVector()
Returns this particles momentum and energy as a four vector
|
double |
getCharge()
Charge of the reconstructed particle.
|
List<Cluster> |
getClusters()
The clusters that have been used for this particle.
|
double[] |
getCovMatrix()
Covariance matrix of the reconstructed particle's 4vector (10 parameters).
|
double |
getEnergy()
Energy of the reconstructed particle
|
double |
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
|
Hep3Vector |
getMomentum()
The magnitude of the reconstructed particle's momentum
|
List<ParticleID> |
getParticleIDs()
The particle Id's sorted by their likelihood.
|
ParticleID |
getParticleIDUsed()
The particle Id used for the kinematics of this particle.
|
List<ReconstructedParticle> |
getParticles()
The reconstructed particles that have been combined to this particle.
|
Hep3Vector |
getReferencePoint()
Reference point of the reconstructedParticle parameters.
|
Vertex |
getStartVertex()
Returns the start vertex, or
null if none is known |
List<Track> |
getTracks()
The tracks that have been used for this particle.
|
int |
getType()
Type of reconstructed particle.
|
String |
toString() |
private double[] _covMatrix
private double _mass
private double _charge
private double e_track
private double e_reco
private Hep3Vector _referencePoint
private Hep3Vector p3_track
private List<ParticleID> _particleIds
private ParticleID _particleIdUsed
private double _goodnessOfPid
private List<ReconstructedParticle> _particles
private BasicHepLorentzVector p_reco
private BasicHepLorentzVector p_track
public MCFastReconstructedParticle(Track t, ParticleType type, Particle p, Cluster assoc_c, double wtcal, boolean refPoint000)
public MCFastReconstructedParticle(Cluster c, ParticleType type, Particle p)
public MCFastReconstructedParticle(double[] vxd, double[] mom, double mass, double charge, ParticleType type)
public int getType()
ReconstructedParticle
getType
in interface ReconstructedParticle
public Hep3Vector getMomentum()
ReconstructedParticle
getMomentum
in interface ReconstructedParticle
public double getEnergy()
ReconstructedParticle
getEnergy
in interface ReconstructedParticle
public double[] getCovMatrix()
ReconstructedParticle
getCovMatrix
in interface ReconstructedParticle
public double getMass()
ReconstructedParticle
getMass
in interface ReconstructedParticle
public double getCharge()
ReconstructedParticle
getCharge
in interface ReconstructedParticle
public Hep3Vector getReferencePoint()
ReconstructedParticle
getReferencePoint
in interface ReconstructedParticle
public List<ParticleID> getParticleIDs()
ReconstructedParticle
getParticleIDs
in interface ReconstructedParticle
ParticleID
public ParticleID getParticleIDUsed()
ReconstructedParticle
getParticleIDUsed
in interface ReconstructedParticle
ParticleID
public double getGoodnessOfPID()
ReconstructedParticle
getGoodnessOfPID
in interface ReconstructedParticle
public List<ReconstructedParticle> getParticles()
ReconstructedParticle
getParticles
in interface ReconstructedParticle
public List<Cluster> getClusters()
ReconstructedParticle
getClusters
in interface ReconstructedParticle
public List<Track> getTracks()
ReconstructedParticle
getTracks
in interface ReconstructedParticle
public void addParticleID(ParticleID pid)
ReconstructedParticle
addParticleID
in interface ReconstructedParticle
ParticleID
public void addParticle(ReconstructedParticle particle)
ReconstructedParticle
addParticle
in interface ReconstructedParticle
public void addCluster(Cluster cluster)
ReconstructedParticle
addCluster
in interface ReconstructedParticle
public void addTrack(Track track)
ReconstructedParticle
addTrack
in interface ReconstructedParticle
public HepLorentzVector asFourVector()
ReconstructedParticle
asFourVector
in interface ReconstructedParticle
public Vertex getStartVertex()
ReconstructedParticle
null
if none is knowngetStartVertex
in interface ReconstructedParticle
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.