ThePEG  1.8.0
EventInfoBase.h
1 // -*- C++ -*-
2 //
3 // EventInfoBase.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2011 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 2 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef ThePEG_EventInfoBase_H
10 #define ThePEG_EventInfoBase_H
11 // This is the declaration of the EventInfoBase class.
12 
13 #include "ThePEG/EventRecord/EventConfig.h"
14 #include "ThePEG/Utilities/ClassDescription.h"
15 
16 namespace ThePEG {
17 
28 
29 public:
30 
37  virtual void rebind(const EventTranslationMap & ) {}
38 
42  static void Init() {}
43 
47  virtual EIPtr clone() const { return new_ptr(*this); }
48 
49 private:
50 
55 
60 
61 };
62 
63 
65 ThePEG_DECLARE_CLASS_TRAITS(EventInfoBase,EventRecordBase);
68 }
69 
70 #endif /* ThePEG_EventInfoBase_H */
static NoPIOClassDescription< EventInfoBase > initEventInfoBase
Describe concrete class without persistent data.
Definition: EventInfoBase.h:54
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits::create()
Definition: PtrTraits.h:195
Define the base class from which all (polymorphic) classes in ThePEG are derived. ...
Definition: ThePEG.h:54
EventInfoBase is a base class for information objects.
Definition: EventInfoBase.h:27
Rebinder is a class associating pairs of pointers to objects.
Definition: Rebinder.h:27
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
virtual void rebind(const EventTranslationMap &)
Rebind to cloned objects.
Definition: EventInfoBase.h:37
EventInfoBase & operator=(const EventInfoBase &)
Private and non-existent assignment operator.
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
virtual EIPtr clone() const
Standard clone method.
Definition: EventInfoBase.h:47
static void Init()
Standard Init function.
Definition: EventInfoBase.h:42