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
LCEventgetCollection in interface LCEventDataNotAvailableExceptionpublic LCCollection getCollectionData(String name)
public String[] getCollectionNames()
LCEventgetCollectionNames in interface LCEventpublic void setDetectorName(String detectorName)
public String getDetectorName()
LCEventgetDetectorName in interface LCEventpublic void setEventNumber(int event)
public int getEventNumber()
LCEventgetEventNumber in interface LCEventpublic void setRunNumber(int run)
public int getRunNumber()
LCEventgetRunNumber in interface LCEventpublic void setTimeStamp(long timeStamp)
public long getTimeStamp()
LCEventgetTimeStamp in interface LCEventpublic double getWeight()
LCEventpublic void setWeight(double w)
public void addCollection(LCCollection col, String name)
LCEventaddCollection in interface LCEventvalidateCollectionNamepublic void removeCollection(String name)
LCEventremoveCollection in interface LCEventpublic LCParameters getParameters()
LCEventgetParameters in interface LCEventJas4pp 1.5 © Java Analysis Studio for Particle Physics