00001 #ifndef EVENTINFO_EVENTINCIDENT_H 00002 # define EVENTINFO_EVENTINCIDENT_H 1 00003 00004 00005 //<<<<<< INCLUDES >>>>>> 00006 #include <string> 00007 #ifndef GAUDIKERNEL_INCIDENT_H 00008 # include "GaudiKernel/Incident.h" 00009 #endif 00010 00011 //<<<<<< FORWARD DECLS >>>>>> 00012 00013 class EventInfo; 00014 00015 //<<<<<< CLASS DECLARATIONS >>>>>> 00016 00023 class EventIncident : public Incident { 00024 public: 00025 00027 00028 00029 00030 00031 00032 EventIncident(const EventInfo& event, 00033 const std::string& source, 00034 const std::string& type=std::string("BeginEvent")); 00035 EventIncident(const EventIncident& e); 00036 virtual ~EventIncident(); 00038 00040 00041 00042 const EventInfo& eventInfo () const; 00044 00045 private: 00046 const EventInfo& m_eventInfo; 00047 }; 00048 00049 00050 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00051 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00052 inline const EventInfo& 00053 EventIncident::eventInfo () const 00054 { 00055 return m_eventInfo; 00056 } 00057 #endif // EVENTINFO_EVENTINCIDENT_H 00058 00059