Implementation of ParticleID. More...
#include <IMPL/ParticleIDImpl.h>
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::FloatVec & | getParameters () const |
| Parameters associated with this hypothesis. | |
| virtual EVENT::FloatVec & | parameters () |
| 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 |
Implementation of ParticleID.
| 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.
1.6.1