LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Protected Attributes | List of all members
IMPL::ParticleIDImpl Class Reference

Implementation of ParticleID. More...

#include <IMPL/ParticleIDImpl.h>

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

Public Member Functions

 ParticleIDImpl ()
 Default constructor, initializes values to 0.
 
virtual ~ParticleIDImpl ()
 Destructor.
 
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO.
 
virtual int getType () const
 Type - userdefined.
 
virtual int getPDG () const
 The PDG code of this id - UnknownPDG ( 999999 ) if unknown.
 
virtual float getLikelihood () const
 The likelihood of this hypothesis - in a user defined normalization.
 
virtual int getAlgorithmType () const
 Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one collection. More...
 
virtual const EVENT::FloatVecgetParameters () const
 Parameters associated with this hypothesis. More...
 
virtual EVENT::FloatVecparameters ()
 Access to parameters associated with this hypothesis.
 
void setType (int type)
 
void setPDG (int pdg)
 
void setLikelihood (float logL)
 
void setAlgorithmType (int algorithmType)
 
void addParameter (float p)
 
- Public Member Functions inherited from EVENT::ParticleID
virtual ~ParticleID ()
 Destructor.
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual LCObjectclone () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
- Public Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ext_type ext ()
 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,...
 
template<class V >
const V::ext_type ext () const
 
template<class V >
V::rel_type rel ()
 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.
 
- Public Member Functions inherited from IMPL::AccessChecked
virtual int simpleUID () const
 

Protected Attributes

int _type
 
int _pdg
 
float _likelihood
 
int _algorithmType
 
EVENT::FloatVec _parameters
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly
 
int _id
 

Additional Inherited Members

- Public Types inherited from EVENT::ParticleID
typedef ParticleID lcobject_type
 Useful typedef for template programming with LCIO.
 
- Static Public Attributes inherited from EVENT::ParticleID
static const int UnknownPDG = 999999
 Constant to be used if the PDG code is not known or undefined.
 
- Protected Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ptr & ptr () const
 Returns the reference to the pointer to the extension/relation object.
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess () throw ( EVENT::ReadOnlyException )
 
void checkAccess (const char *what) throw ( EVENT::ReadOnlyException )
 

Detailed Description

Implementation of ParticleID.

See Also
ParticleID
Author
gaede
Version
Id:
ParticleIDImpl.h,v 1.11 2008-05-30 13:23:27 gaede Exp

Member Function Documentation

int IMPL::ParticleIDImpl::getAlgorithmType ( ) const
virtual

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

Check/set collection parameters PIDAlgorithmTypeName and PIDAlgorithmTypeID.

Implements EVENT::ParticleID.

const EVENT::FloatVec & IMPL::ParticleIDImpl::getParameters ( ) const
virtual

Parameters associated with this hypothesis.

Check/set collection parameter ParameterNames_PIDAlgorithmTypeName for decoding the indices.

Implements EVENT::ParticleID.


The documentation for this class was generated from the following files: