7 #ifndef EVENT_LCEVENT_H
8 #define EVENT_LCEVENT_H 1
virtual const LCParameters & getParameters() const =0
Parameters defined for this event.
virtual double getWeight() const =0
Returns the event weight.
virtual LCCollection * takeCollection(const std::string &name) const =0
Returns the collection for the given name and transfers the ownership of the collection to the caller...
virtual int getRunNumber() const =0
Return the run number off this event.
virtual const std::vector< std::string > * getCollectionNames() const =0
Returns the names of the collections in the event.
virtual long64 getTimeStamp() const =0
Returns the time stamp of the event.
Base class that provides run time (user) extensions and relation between objects. ...
long long long64
64 bit signed integer,e.g.to be used for timestamps
virtual LCParameters & parameters()=0
Parameters defined for this event.
virtual lcrtrel::LCRTRelations & runtime()=0
Get the runtime extensions for this event.
virtual LCCollection * getCollection(const std::string &name) const =0
Returns the collection for the given name.
Simple interface to store generic named parameters of type int, float and string. ...
virtual const std::string & getDetectorName() const =0
Returns the name of the detector setup used in the simulation.
virtual void removeCollection(const std::string &name)=0
Removes (and deletes) the collection with name (if it exists in the event).
The main event interface.
The generic collection used in LCIO.
virtual int getEventNumber() const =0
Returns this event's number .
virtual void addCollection(LCCollection *col, const std::string &name)=0
Adds a collection with the given name (has to be a valid C/C++ variable name).
virtual ~LCEvent()
Destructor.