public class ILCRelation extends Object implements LCRelation
| Constructor and Description |
|---|
ILCRelation(LCObject from,
LCObject to) |
ILCRelation(LCObject from,
LCObject to,
float weight) |
| Modifier and Type | Method and Description |
|---|---|
LCObject |
getFrom()
The 'from' object of the given relation.
|
LCObject |
getTo()
The 'to' object of the given relation.
|
float |
getWeight()
The weight of the given relation - only if collection flag bit LCIO::LCREL_WEIGHTED is set.
|
void |
setWeight(float weight) |
public LCObject getFrom()
LCRelationgetFrom in interface LCRelationpublic LCObject getTo()
LCRelationgetTo in interface LCRelationpublic float getWeight()
LCRelationgetWeight in interface LCRelationpublic void setWeight(float weight)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics