6 using namespace EVENT ;
11 ReconstructedParticleImpl::ReconstructedParticleImpl() :
33 for( ParticleIDVec::iterator iter =
_pid.
begin() ; iter !=
_pid.
end() ; iter++){
80 checkAccess(
"ReconstructedParticleImpl::setStartVertex" );
107 checkAccess(
"ReconstructedParticleImpl::setMomentum" );
114 checkAccess(
"ReconstructedParticleImpl::setMomentum" );
121 checkAccess(
"ReconstructedParticleImpl::setEnergy" );
126 checkAccess(
"ReconstructedParticleImpl::setCovMatrix" );
136 checkAccess(
"ReconstructedParticleImpl::setMass" );
141 checkAccess(
"ReconstructedParticleImpl::setCharge" );
146 checkAccess(
"ReconstructedParticleImpl::setReferencePoint" );
153 checkAccess(
"ReconstructedParticleImpl::setParticleIDUsed" );
158 checkAccess(
"ReconstructedParticleImpl::setGoodnessOfPID") ;
171 checkAccess(
"ReconstructedParticleImpl::addParticle" );
177 checkAccess(
"ReconstructedParticleImpl::addCluster" );
183 checkAccess(
"ReconstructedParticleImpl::addTrack" );
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)
Helper class to sort ParticleIDs wrt.
void setEnergy(float energy)
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.
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.
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].
virtual Vertex * getStartVertex() const =0
The start vertex associated to this particle.
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 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)
EVENT::ParticleID * _pidUsed
virtual ~ReconstructedParticleImpl()
Destructor.