|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A simple event structure. Designed to be used as a base class for experiment specific event descriptions.
Method Summary | |
Object |
get(String key)
Get an object from the event |
int |
getEventNumber()
|
int |
getRunNumber()
|
Map |
getTags()
An arbitrary set of tags that can be associated with the event. |
long |
getTimeStamp()
Get the current timestamp. |
Set |
keys()
|
void |
put(String key,
Object component)
Puts an arbitrary object into the event |
Method Detail |
public int getEventNumber()
public int getRunNumber()
public long getTimeStamp()
public void put(String key, Object component)
key
- The key for this objectcomponent
- The object to addpublic Object get(String key) throws IllegalArgumentException
key
- The key for the object
IllegalArgumentException
- if the specified object does not exist in the event.public Map getTags()
public Set keys()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |