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

List of all members.

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.
virtual const EVENT::FloatVecgetParameters () const
 Parameters associated with this hypothesis.
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)

Protected Attributes

int _type
int _pdg
float _likelihood
int _algorithmType

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:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1