thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
EventInfoBase.h
1 // -*- C++ -*-
2 //
3 // EventInfoBase.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2019 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 3 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 
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 
59  EventInfoBase & operator=(const EventInfoBase &) = delete;
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<Ptr>::create()
Definition: PtrTraits.h:195
EventInfoBase & operator=(const EventInfoBase &)=delete
Private and non-existent assignment operator.
Define the base class from which all (polymorphic) classes in ThePEG are derived. ...
Definition: ThePEG.h:54
This is the main config header file for the Event classes.
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
virtual EIPtr clone() const
Standard clone method.
Definition: EventInfoBase.h:47
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
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
static void Init()
Standard Init function.
Definition: EventInfoBase.h:42