7 #ifndef EVENT_LCRELATION_H
8 #define EVENT_LCRELATION_H 1
10 #include "EVENT/LCObject.h"
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
virtual LCObject * getTo() const =0
The 'to' object of the given relation.
virtual float getWeight() const =0
The weight of the given relation - only if collection flag bit LCIO::LCREL_WEIGHTED is set...
A single weighted relationship between two LCObjects.
Definition: LCRelation.h:29
LCRelation lcobject_type
Useful typedef for template programming with LCIO.
Definition: LCRelation.h:37
virtual LCObject * getFrom() const =0
The 'from' object of the given relation.
virtual ~LCRelation()
Destructor.
Definition: LCRelation.h:33