1 #ifndef EVENT_LCEVENTIMPL_H
2 #define EVENT_LCEVENTIMPL_H 1
10 #include "EVENT/LCIO.h"
void setTimeStamp(EVENT::long64 ts)
Sets the event time stamp.
void setWeight(double w)
Set the event weight.
virtual EVENT::long64 getTimeStamp() const
Returns the time stamp of the event.
Implementation of the main event class.
virtual const std::string & getDetectorName() const
Returns the name of the detector setup used in the simulation.
lcrtrel::LCRTRelations _runtime
virtual const std::vector< std::string > * getCollectionNames() const
Returns the names of the collections in the event.
virtual double getWeight() const
Returns the event weight.
virtual int getRunNumber() const
Return the run number off this 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 void addCollection(EVENT::LCCollection *col, const std::string &name)
Adds a collection with the given name (has to be a valid C/C++ variable name).
Implementation of Simple interface to store generic named parameters of type int, float and string...
void setEventNumber(int en)
Sets the event number.
virtual int getEventNumber() const
Returns this event's number .
Simple interface to store generic named parameters of type int, float and string. ...
virtual EVENT::LCCollection * getCollection(const std::string &name) const
Returns the collection for the given name.
std::map< std::string, EVENT::LCCollection * > LCCollectionMap
virtual ~LCEventImpl()
Copy contructor, creates a deep copy of the event.
void setRunNumber(int rn)
Sets the run number.
virtual EVENT::LCParameters & parameters()
Parameters defined for this run.
bool validateCollectionName(const char *name)
Tests the validity of a collection name.
The main event interface.
LCCollectionSet _notOwned
The generic collection used in LCIO.
void setDetectorName(const std::string &dn)
Sets the detector name.
virtual EVENT::LCCollection * takeCollection(const std::string &name) const
Returns the collection for the given name and transfers the ownership of the collection to the caller...
virtual void removeCollection(const std::string &name)
Removes (and deletes) the collection with name (if it exists in the event).
virtual const EVENT::LCParameters & getParameters() const
Returns the names of the relations in the event.
std::string _detectorName
Controls access to objects.
virtual lcrtrel::LCRTRelations & runtime()
Get the runtime extensions for this event.
std::set< EVENT::LCCollection * > LCCollectionSet
std::vector< std::string > _colNames
void setAccessMode(int accessMode)