public class ILCEvent extends Object implements LCEvent
Constructor and Description |
---|
ILCEvent() |
Modifier and Type | Method and Description |
---|---|
void |
addCollection(LCCollection col,
String name)
Adds a collection with the given name (has to be a valid C/C++ variable name).
|
LCCollection |
getCollection(String name)
Returns the collection for the given name.
|
LCCollection |
getCollectionData(String name) |
String[] |
getCollectionNames()
Returns the names of the collections in the event.
|
String |
getDetectorName()
Returns the name of the detector setup used in the simulation.
|
int |
getEventNumber()
Returns this event's number .
|
LCParameters |
getParameters()
Parameters defined for this event.
|
int |
getRunNumber()
Return the run number off this event.
|
long |
getTimeStamp()
Returns the time stamp of the event.
|
double |
getWeight()
Returns the event weight.
|
void |
removeCollection(String name)
Removes (and deletes) the collection with name (if it exists in the event).
|
void |
setDetectorName(String detectorName) |
void |
setEventNumber(int event) |
void |
setRunNumber(int run) |
void |
setTimeStamp(long timeStamp) |
void |
setWeight(double w) |
public LCCollection getCollection(String name) throws DataNotAvailableException
LCEvent
getCollection
in interface LCEvent
DataNotAvailableException
public LCCollection getCollectionData(String name)
public String[] getCollectionNames()
LCEvent
getCollectionNames
in interface LCEvent
public void setDetectorName(String detectorName)
public String getDetectorName()
LCEvent
getDetectorName
in interface LCEvent
public void setEventNumber(int event)
public int getEventNumber()
LCEvent
getEventNumber
in interface LCEvent
public void setRunNumber(int run)
public int getRunNumber()
LCEvent
getRunNumber
in interface LCEvent
public void setTimeStamp(long timeStamp)
public long getTimeStamp()
LCEvent
getTimeStamp
in interface LCEvent
public double getWeight()
LCEvent
public void setWeight(double w)
public void addCollection(LCCollection col, String name)
LCEvent
addCollection
in interface LCEvent
validateCollectionName
public void removeCollection(String name)
LCEvent
removeCollection
in interface LCEvent
public LCParameters getParameters()
LCEvent
getParameters
in interface LCEvent
Jas4pp 1.5 © Java Analysis Studio for Particle Physics