IMPL::ReconstructedParticleImpl Class Reference

Implementation of ReconstructedParticle. More...

#include <IMPL/ReconstructedParticleImpl.h>

Inheritance diagram for IMPL::ReconstructedParticleImpl:
EVENT::ReconstructedParticle IMPL::AccessChecked EVENT::LCObject lcrtrel::LCRTRelations IOIMPL::ReconstructedParticleIOImpl

List of all members.

Public Member Functions

 ReconstructedParticleImpl ()
 Default constructor, initializes values to 0.
 ReconstructedParticleImpl (const ReconstructedParticleImpl &)
 default copy constructor - use with care
ReconstructedParticleImploperator= (const ReconstructedParticleImpl &)
 default assignment operator - use with care
virtual ~ReconstructedParticleImpl ()
 Destructor.
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO.
virtual int getType () const
 Type of reconstructed particle.
virtual bool isCompound () const
 Convenient method - same as (getParticles().size() > 0 ).
virtual const double * getMomentum () const
 The magnitude of the reconstructed particle's momentum,.
virtual double getEnergy () const
 Energy of the reconstructed particle.
virtual const EVENT::FloatVecgetCovMatrix () const
 Covariance matrix of the reconstructed particle's 4vector (10 parameters).
virtual double getMass () const
 Mass of the reconstructed particle, set independently from four vector quantities.
virtual float getCharge () const
 Charge of the reconstructed particle.
virtual const float * getReferencePoint () const
 Reference point of the reconstructedParticle parameters.
virtual const
EVENT::ParticleIDVec
getParticleIDs () const
 The particle Id's sorted by their likelihood.
virtual EVENT::ParticleIDgetParticleIDUsed () const
 The particle Id used for the kinematics of this particle.
virtual float getGoodnessOfPID () const
 The overall goodness of the PID on a scale of [0;1].
virtual const
EVENT::ReconstructedParticleVec
getParticles () const
 The reconstructed particles that have been combined to this particle.
virtual const EVENT::ClusterVecgetClusters () const
 The clusters that have been used for this particle.
virtual const EVENT::TrackVecgetTracks () const
 The tracks that have been used for this particle.
virtual EVENT::VertexgetStartVertex () const
 The start vertex associated to this particle.
virtual EVENT::VertexgetEndVertex () const
 The vertex where the particle decays This method actually returns the start vertex from the first daughter particle found.
void setType (int type)
void setMomentum (const float *momentum)
void setMomentum (const double *momentum)
void setEnergy (float energy)
void setCovMatrix (const float *cov)
void setCovMatrix (const EVENT::FloatVec &)
void setMass (float mass)
void setCharge (float charge)
void setReferencePoint (const float *reference)
void addParticleID (EVENT::ParticleID *pid)
 Set the type of reconstructed particle, one of:
ReconstructedParticle::SINGLE,
ReconstructedParticle::V0,
ReconstructedParticle::COMPOUND,
ReconstructedParticle::JET
.
void setParticleIDUsed (EVENT::ParticleID *pid)
void setGoodnessOfPID (float goodness)
void addParticle (EVENT::ReconstructedParticle *particle)
void addCluster (EVENT::Cluster *cluster)
 Add a cluster that has been used to create this particle.
void addTrack (EVENT::Track *track)
 Add a track that has been used to create this particle.
void setStartVertex (EVENT::Vertex *sv)

Protected Attributes

double _momentum [3] = {0.,0.,0.}
float _reference [3] = {0.,0.,0.}

Detailed Description

Implementation of ReconstructedParticle.

See also:
ReconstructedParticle
Author:
gaede
Version:
Mar 30, 2003

Member Function Documentation

void IMPL::ReconstructedParticleImpl::addParticleID ( EVENT::ParticleID pid  )  [virtual]

Set the type of reconstructed particle, one of:
ReconstructedParticle::SINGLE,
ReconstructedParticle::V0,
ReconstructedParticle::COMPOUND,
ReconstructedParticle::JET
.

Set primary flag. Set particle momentum (px,py,pz).Set energy. Set the values of the covariance matrix of the particles four vector (px,py,pz,E). Set the values of the covariance matrix of the particles four vector (px,py,pz,E).Set mass - independently from four vector. Set the charge. Set the reference point, i.e. the point where the four vector is defined.Add a ParticleID object.

See also:
ParticleID

Implements EVENT::ReconstructedParticle.

Referenced by SIO::SIOReconstructedParticleHandler::read().

const EVENT::ParticleIDVec & IMPL::ReconstructedParticleImpl::getParticleIDs (  )  const [virtual]

The particle Id's sorted by their likelihood.

See also:
ParticleID

Implements EVENT::ReconstructedParticle.

Referenced by UTIL::PIDHandler::setParticleIDUsed().

EVENT::ParticleID * IMPL::ReconstructedParticleImpl::getParticleIDUsed (  )  const [virtual]

The particle Id used for the kinematics of this particle.

See also:
ParticleID

Implements EVENT::ReconstructedParticle.

int IMPL::ReconstructedParticleImpl::getType (  )  const [virtual]

Type of reconstructed particle.

Check/set collection parameterrs ReconstructedParticleTypeNames and ReconstructedParticleTypeValues.

Implements EVENT::ReconstructedParticle.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1