Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

EVENT::ParticleID Class Reference

#include <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

Public Member Functions

virtual ~ParticleID ()
 Destructor.
virtual int getType () const =0
virtual int getPDG () const =0
virtual float getLikelihood () const =0
virtual int getAlgorithmType () const =0
virtual const FloatVecgetParameters () const =0
virtual int id () const =0
virtual LCObjectclone () const
template<class V>
V::ext_type ext ()
template<class V>
V::rel_type rel ()

Static Public Attributes

const int UnknownPDG = 999999

Protected Member Functions

template<class V>
V::ptr & ptr ()

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.10 2006/08/03 16:53:35 gaede Exp
See also:
ReconstructedParticle.getParticleIDs()

Cluster.getParticleIDs()

Definition at line 28 of file ParticleID.h.


Member Typedef Documentation

typedef ParticleID EVENT::ParticleID::lcobject_type
 

Useful typedef for template programming with LCIO

Definition at line 36 of file ParticleID.h.


Constructor & Destructor Documentation

virtual EVENT::ParticleID::~ParticleID  )  [inline, virtual]
 

Destructor.

Definition at line 32 of file ParticleID.h.


Member Function Documentation

virtual LCObject* EVENT::LCObject::clone  )  const [inline, virtual, inherited]
 

Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method.

Reimplemented in IMPL::SimCalorimeterHitImpl.

Definition at line 52 of file LCObject.h.

template<class V>
V::ext_type lcrtrel::LCRTRelations::ext  )  [inline, inherited]
 

Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,...

Definition at line 430 of file LCRTRelations.h.

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

Type of the algorithm/module that created this hypothesis. Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.

Implemented in IMPL::ParticleIDImpl.

Referenced by SIO::SIOReconstructedParticleHandler::write(), and SIO::SIOClusterHandler::write().

virtual float EVENT::ParticleID::getLikelihood  )  const [pure virtual]
 

The likelihood of this hypothesis - in a user defined normalization.

Implemented in IMPL::ParticleIDImpl.

Referenced by IMPL::PIDSort::operator()(), SIO::SIOReconstructedParticleHandler::write(), and SIO::SIOClusterHandler::write().

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

Parameters associated with this hypothesis. Check/set collection paramter PIDParameterNames for decoding the indices.

Implemented in IMPL::ParticleIDImpl.

Referenced by SIO::SIOReconstructedParticleHandler::write(), and SIO::SIOClusterHandler::write().

virtual int EVENT::ParticleID::getPDG  )  const [pure virtual]
 

The PDG code of this id - UnknownPDG ( 999999 ) if unknown.

Implemented in IMPL::ParticleIDImpl.

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

virtual int EVENT::ParticleID::getType  )  const [pure virtual]
 

Type - userdefined.

Implemented in IMPL::ParticleIDImpl.

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

virtual int EVENT::LCObject::id  )  const [pure virtual, inherited]
 

Returns an object id for internal (debugging) use in LCIO.

Implemented in tpc_tracking::CustomLCIOObject, EVENT::LCFloatVec, EVENT::LCGenericObject, EVENT::LCIntVec, EVENT::LCStrVec, IMPL::CalorimeterHitImpl, IMPL::ClusterImpl, IMPL::LCGenericObjectImpl, IMPL::LCRelationImpl, IMPL::LCRunHeaderImpl, IMPL::MCParticleImpl, IMPL::ParticleIDImpl, IMPL::RawCalorimeterHitImpl, IMPL::ReconstructedParticleImpl, IMPL::SimCalorimeterHitImpl, IMPL::SimTrackerHitImpl, IMPL::TPCHitImpl, IMPL::TrackerDataImpl, IMPL::TrackerHitImpl, IMPL::TrackerPulseImpl, IMPL::TrackerRawDataImpl, IMPL::TrackImpl, IMPL::VertexImpl, and tpc_tracking::CustomLCIOObject.

Referenced by UTIL::operator<<(), UTIL::LCTOOLS::printCalorimeterHits(), UTIL::LCTOOLS::printClusters(), UTIL::LCTOOLS::printMCParticles(), UTIL::LCTOOLS::printRawCalorimeterHits(), UTIL::LCTOOLS::printReconstructedParticles(), UTIL::LCTOOLS::printRelation(), UTIL::LCTOOLS::printSimCalorimeterHits(), UTIL::LCTOOLS::printTPCHits(), UTIL::LCTOOLS::printTrackerData(), UTIL::LCTOOLS::printTrackerHits(), UTIL::LCTOOLS::printTrackerPulse(), UTIL::LCTOOLS::printTrackerRawData(), and UTIL::LCTOOLS::printTracks().

template<class V>
V::ptr& lcrtrel::LCRTRelations::ptr  )  [inline, protected, inherited]
 

Returns the reference to the pointer to the extension/relation object

Definition at line 508 of file LCRTRelations.h.

template<class V>
V::rel_type lcrtrel::LCRTRelations::rel  )  [inline, inherited]
 

Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation.

Definition at line 444 of file LCRTRelations.h.


Member Data Documentation

const int EVENT::ParticleID::UnknownPDG = 999999 [static]
 

Constant to be used if the PDG code is not known or undefined.

Definition at line 50 of file ParticleID.h.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 06:32:24 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1