thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
EventRecord
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
13
#include "
ThePEG/EventRecord/EventConfig.h
"
14
#include "ThePEG/Utilities/ClassDescription.h"
15
16
namespace
ThePEG
{
17
27
class
EventInfoBase
:
public
EventRecordBase
{
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
54
static
NoPIOClassDescription<EventInfoBase>
initEventInfoBase
;
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 */
EventConfig.h
This is the main config header file for the Event classes.
ThePEG::EventInfoBase
EventInfoBase is a base class for information objects.
Definition:
EventInfoBase.h:27
ThePEG::EventInfoBase::rebind
virtual void rebind(const EventTranslationMap &)
Rebind to cloned objects.
Definition:
EventInfoBase.h:37
ThePEG::EventInfoBase::Init
static void Init()
Standard Init function.
Definition:
EventInfoBase.h:42
ThePEG::EventInfoBase::operator=
EventInfoBase & operator=(const EventInfoBase &)=delete
Private and non-existent assignment operator.
ThePEG::EventInfoBase::initEventInfoBase
static NoPIOClassDescription< EventInfoBase > initEventInfoBase
Describe concrete class without persistent data.
Definition:
EventInfoBase.h:54
ThePEG::EventInfoBase::clone
virtual EIPtr clone() const
Standard clone method.
Definition:
EventInfoBase.h:47
ThePEG::NoPIOClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
Definition:
ClassDescription.h:381
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Rebinder
Rebinder is a class associating pairs of pointers to objects.
Definition:
Rebinder.h:27
ThePEG::Pointer::new_ptr
Ptr< T >::pointer new_ptr()
Simple interface to the PtrTraits<Ptr>::create()
Definition:
PtrTraits.h:195
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::Base
Define the base class from which all (polymorphic) classes in ThePEG are derived.
Definition:
ThePEG.h:54
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6