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()
LCRelation
getFrom
in interface LCRelation
public LCObject getTo()
LCRelation
getTo
in interface LCRelation
public float getWeight()
LCRelation
getWeight
in interface LCRelation
public void setWeight(float weight)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics