thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
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
16namespace ThePEG {
17
28
29public:
30
37 virtual void rebind(const EventTranslationMap & ) {}
38
42 static void Init() {}
43
47 virtual EIPtr clone() const { return new_ptr(*this); }
48
49private:
50
55
60
61};
62
63
65ThePEG_DECLARE_CLASS_TRAITS(EventInfoBase,EventRecordBase);
68}
69
70#endif /* ThePEG_EventInfoBase_H */
This is the main config header file for the Event classes.
EventInfoBase is a base class for information objects.
Definition: EventInfoBase.h:27
virtual void rebind(const EventTranslationMap &)
Rebind to cloned objects.
Definition: EventInfoBase.h:37
static void Init()
Standard Init function.
Definition: EventInfoBase.h:42
EventInfoBase & operator=(const EventInfoBase &)=delete
Private and non-existent assignment operator.
static NoPIOClassDescription< EventInfoBase > initEventInfoBase
Describe concrete class without persistent data.
Definition: EventInfoBase.h:54
virtual EIPtr clone() const
Standard clone method.
Definition: EventInfoBase.h:47
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
Rebinder is a class associating pairs of pointers to objects.
Definition: Rebinder.h:27
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits<Ptr>::create()
Definition: PtrTraits.h:195
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
Define the base class from which all (polymorphic) classes in ThePEG are derived.
Definition: ThePEG.h:54