2 #ifndef IMPL_RECONSTRUCTEDPARTICLEIMPL_H
3 #define IMPL_RECONSTRUCTEDPARTICLEIMPL_H 1
10 #define NCOVARIANCE 10
66 virtual double getMass()
const ;
The Vertex class for LCIO.
void addParticleID(EVENT::ParticleID *pid)
Set the type of reconstructed particle, one of: ReconstructedParticle::SINGLE, ReconstructedParticl...
virtual EVENT::ParticleID * getParticleIDUsed() const
The particle Id used for the kinematics of this particle.
EVENT::ClusterVec _clusters
void setGoodnessOfPID(float goodness)
void setStartVertex(EVENT::Vertex *sv)
void setEnergy(float energy)
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
virtual const float * getReferencePoint() const
Reference point of the reconstructedParticle parameters.
void addParticle(EVENT::ReconstructedParticle *particle)
Add a particle that has been used to create this particle.
ReconstructedParticleImpl & operator=(const ReconstructedParticleImpl &)=default
default assignment operator - use with care
virtual int getType() const
Type of reconstructed particle.
virtual const double * getMomentum() const
The magnitude of the reconstructed particle's momentum,.
void setCovMatrix(const float *cov)
virtual double getMass() const
Mass of the reconstructed particle, set independently from four vector quantities.
virtual double getEnergy() const
Energy of the reconstructed particle.
EVENT::ReconstructedParticleVec _particles
virtual EVENT::Vertex * getStartVertex() const
The start vertex associated to this particle.
void setReferencePoint(const float *reference)
virtual const EVENT::TrackVec & getTracks() const
The tracks that have been used for this particle.
virtual const EVENT::ReconstructedParticleVec & getParticles() const
The reconstructed particles that have been combined to this particle.
virtual EVENT::Vertex * getEndVertex() const
The vertex where the particle decays This method actually returns the start vertex from the first dau...
virtual const EVENT::FloatVec & getCovMatrix() const
Covariance matrix of the reconstructed particle's 4vector (10 parameters).
void setCharge(float charge)
The LCIO reconstructedParticle.
ReconstructedParticleImpl()
Default constructor, initializes values to 0.
Persistent interface for LCIO ParticleIDs.
EVENT::ParticleIDVec _pid
void addTrack(EVENT::Track *track)
Add a track that has been used to create this particle.
virtual float getGoodnessOfPID() const
The overall goodness of the PID on a scale of [0;1].
void addCluster(EVENT::Cluster *cluster)
Add a cluster that has been used to create this particle.
virtual const EVENT::ClusterVec & getClusters() const
The clusters that have been used for this particle.
virtual int simpleUID() const
virtual const EVENT::ParticleIDVec & getParticleIDs() const
The particle Id's sorted by their likelihood.
virtual float getCharge() const
Charge of the reconstructed particle.
void setMomentum(const float *momentum)
void setParticleIDUsed(EVENT::ParticleID *pid)
Controls access to objects.
EVENT::ParticleID * _pidUsed
virtual ~ReconstructedParticleImpl()
Destructor.
virtual bool isCompound() const
Convenient method - same as (getParticles().size() > 0 ).
Implementation of ReconstructedParticle.