00001 // -*- C++ -*- 00002 // 00003 // EventInfoBase.h is a part of ThePEG - Toolkit for HEP Event Generation 00004 // Copyright (C) 1999-2007 Leif Lonnblad 00005 // 00006 // ThePEG is licenced under version 2 of the GPL, see COPYING for details. 00007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 00008 // 00009 #ifndef ThePEG_EventInfoBase_H 00010 #define ThePEG_EventInfoBase_H 00011 // This is the declaration of the EventInfoBase class. 00012 00013 #include "ThePEG/EventRecord/EventConfig.h" 00014 #include "ThePEG/Utilities/ClassDescription.h" 00015 00016 namespace ThePEG { 00017 00027 class EventInfoBase: public EventRecordBase { 00028 00029 public: 00030 00037 virtual void rebind(const EventTranslationMap & ) {} 00038 00042 static void Init() {} 00043 00047 virtual EIPtr clone() const { return new_ptr(*this); } 00048 00049 private: 00050 00054 static NoPIOClassDescription<EventInfoBase> initEventInfoBase; 00055 00059 EventInfoBase & operator=(const EventInfoBase &); 00060 00061 }; 00062 00063 00065 ThePEG_DECLARE_CLASS_TRAITS(EventInfoBase,EventRecordBase); 00068 } 00069 00070 #endif /* ThePEG_EventInfoBase_H */