00001
00002
00003
00004
00005
00006
00007 #ifndef EVENT_LCEVENT_H
00008 #define EVENT_LCEVENT_H 1
00009
00010 #include <string>
00011 #include <vector>
00012
00013 #include "EVENT/LCParameters.h"
00014 #include "Exceptions.h"
00015 #include "LCIOTypes.h"
00016
00017 namespace EVENT {
00018
00019 class LCCollection;
00020
00030 class LCEvent {
00031
00032 public:
00034 virtual ~LCEvent() { ; }
00035
00038 virtual int getRunNumber() const = 0;
00039
00042 virtual int getEventNumber() const = 0;
00043
00046 virtual const std::string & getDetectorName() const = 0;
00047
00052 virtual long64 getTimeStamp() const = 0;
00053
00056 virtual double getWeight() const = 0;
00057
00060 virtual const std::vector<std::string> * getCollectionNames() const = 0;
00061
00066 virtual LCCollection * getCollection(const std::string & name) const = 0;
00067
00076 virtual LCCollection * takeCollection(const std::string & name) const = 0;
00077
00085 virtual void addCollection(LCCollection * col, const std::string & name) = 0;
00086
00092 virtual void removeCollection(const std::string & name) = 0;
00093
00096 virtual const LCParameters & getParameters() const = 0;
00097
00100 virtual LCParameters & parameters() = 0;
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123 };
00124 }
00125 #endif