void setAlgorithmType(int algorithmType)
virtual const EVENT::FloatVec & getParameters() const
Parameters associated with this hypothesis.
Implementation of ParticleID.
virtual ~ParticleIDImpl()
Destructor.
virtual float getLikelihood() const =0
The likelihood of this hypothesis - in a user defined normalization.
EVENT::FloatVec _parameters
virtual int id() const
Returns an object id for internal (debugging) use in LCIO.
Persistent interface for LCIO ParticleIDs.
void addParameter(float p)
virtual int getType() const
Type - userdefined.
void setLikelihood(float logL)
virtual int getAlgorithmType() const
Type of the algorithm/module that created this hypothesis - NOTE: must be unique within one collectio...
ParticleIDImpl()
Default constructor, initializes values to 0.
virtual float getLikelihood() const
The likelihood of this hypothesis - in a user defined normalization.
virtual int getPDG() const
The PDG code of this id - UnknownPDG ( 999999 ) if unknown.
virtual EVENT::FloatVec & parameters()
Access to parameters associated with this hypothesis.