00001 #ifndef Event_DIGIEVENT_H 00002 #define Event_DIGIEVENT_H 00003 #include "GaudiKernel/Kernel.h" 00004 #include "GaudiKernel/DataObject.h" 00005 #include "EventModel/EventModel.h" 00006 00007 using namespace EventModel; 00008 extern const CLID& CLID_DigiEvent; 00009 00010 00021 class DigiEvent : public DataObject { 00022 00023 public: 00024 00025 DigiEvent() 00026 : DataObject(), m_fromMc(true) { } 00027 00028 virtual ~DigiEvent() { } 00029 00030 void initialize(bool fromMc) { m_fromMc = fromMc; }; 00031 00033 virtual const CLID& clID() const { return DigiEvent::classID(); } 00034 static const CLID& classID() { return CLID_DigiEvent; } 00035 00037 bool fromMc () const { 00038 return m_fromMc; 00039 } 00040 00041 00042 private: 00044 bool m_fromMc; 00045 }; 00046 00047 #endif 00048 00049