EVENT::ParticleID Class Reference

Persistent interface for LCIO ParticleIDs. More...

#include <pre-generated/EVENT/ParticleID.h>

Inheritance diagram for EVENT::ParticleID:
EVENT::LCObject lcrtrel::LCRTRelations IMPL::ParticleIDImpl IOIMPL::ParticleIDIOImpl

List of all members.

Public Types

typedef ParticleID lcobject_type
 Useful typedef for template programming with LCIO.

Public Member Functions

virtual ~ParticleID ()
 Destructor.
virtual int getType () const =0
 Type - userdefined.
virtual int getPDG () const =0
 The PDG code of this id - UnknownPDG ( 999999 ) if unknown.
virtual float getLikelihood () const =0
 The likelihood of this hypothesis - in a user defined normalization.
virtual int getAlgorithmType () const =0
 Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one collection.
virtual const FloatVecgetParameters () const =0
 Parameters associated with this hypothesis.

Static Public Attributes

static const int UnknownPDG = 999999
 Constant to be used if the PDG code is not known or undefined.

Detailed Description

Persistent interface for LCIO ParticleIDs.

Used by ReconstructedParticle and Cluster for different hypotheses on the particle type.

Author:
gaede
Version:
Id
ParticleID.aid,v 1.11 2008-05-30 13:23:27 gaede Exp
See also:
ReconstructedParticle.getParticleIDs()
Cluster.getParticleIDs()

Member Function Documentation

virtual int EVENT::ParticleID::getAlgorithmType (  )  const [pure virtual]

Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one collection.

Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.

Implemented in IMPL::ParticleIDImpl.

Referenced by UTIL::LCTOOLS::printClusters(), UTIL::LCTOOLS::printReconstructedParticles(), SIO::SIOReconstructedParticleHandler::write(), and SIO::SIOClusterHandler::write().

virtual const FloatVec& EVENT::ParticleID::getParameters (  )  const [pure virtual]

Parameters associated with this hypothesis.

Check/set collection parameters ParameterNames_PIDAlgorithmTypeName for decoding the indices.

Implemented in IMPL::ParticleIDImpl.

Referenced by UTIL::LCTOOLS::printClusters(), UTIL::LCTOOLS::printReconstructedParticles(), SIO::SIOReconstructedParticleHandler::write(), and SIO::SIOClusterHandler::write().


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

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1