class SIOLCRelation extends Object implements LCRelation
Modifier and Type | Field and Description |
---|---|
protected hep.io.sio.SIORef |
from |
protected hep.io.sio.SIORef |
to |
protected float |
weight |
Modifier | Constructor and Description |
---|---|
protected |
SIOLCRelation() |
(package private) |
SIOLCRelation(hep.io.sio.SIOInputStream in,
int flags,
int version)
Constructor for reading objects from file
|
Modifier and Type | Method and Description |
---|---|
Object |
getFrom()
Returns the 'from' object
|
Object |
getTo()
Returns the 'to' object
|
float |
getWeight()
Returns the weight of the relation
|
void |
setWeight(float weight)
Weight should be between zero and one
|
(package private) static void |
write(LCRelation rel,
hep.io.sio.SIOOutputStream out,
int flags)
Writes relations out to LCIO stream
|
protected hep.io.sio.SIORef from
protected hep.io.sio.SIORef to
protected float weight
protected SIOLCRelation()
SIOLCRelation(hep.io.sio.SIOInputStream in, int flags, int version) throws IOException
IOException
public Object getFrom()
getFrom
in interface LCRelation
public Object getTo()
getTo
in interface LCRelation
public float getWeight()
getWeight
in interface LCRelation
public void setWeight(float weight)
static void write(LCRelation rel, hep.io.sio.SIOOutputStream out, int flags) throws IOException
IOException
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.