thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Handlers
ZGenerator.h
1
// -*- C++ -*-
2
//
3
// ZGenerator.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_ZGenerator_H
10
#define ThePEG_ZGenerator_H
11
// This is the declaration of the ZGenerator class.
12
13
#include "
ThePEG/Config/ThePEG.h
"
14
#include "ThePEG/Handlers/HandlerBase.h"
15
16
namespace
ThePEG
{
17
32
class
ZGenerator
:
public
HandlerBase
{
33
34
public
:
35
46
virtual
double
generate
(
cPDPtr
q1,
cPDPtr
q2,
Energy2
mT2 )
const
=0;
48
52
static
void
Init
();
53
54
55
private
:
56
60
static
AbstractClassDescription<ZGenerator>
initZGenerator
;
61
62
};
63
64
71
template
<>
72
struct
BaseClassTrait
<
ZGenerator
,1>:
public
ClassTraitsType
{
74
typedef
HandlerBase
NthBase
;
75
};
76
81
template
<>
82
struct
ClassTraits<ZGenerator>:
public
ClassTraitsBase<ZGenerator> {
84
static
string
className
() {
return
"ThePEG::ZGenerator"
; }
85
};
86
89
}
90
91
#endif
/* ThePEG_ZGenerator_H */
ThePEG.h
This is the main config header file for ThePEG.
ThePEG::AbstractClassDescription
A concreate implementation of ClassDescriptionBase describing an abstract class with persistent data.
Definition:
ClassDescription.h:282
ThePEG::HandlerBase
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
Definition:
HandlerBase.h:151
ThePEG::Pointer::ConstRCPtr
ConstRCPtr is a reference counted (smart) const pointer.
Definition:
RCPtr.h:320
ThePEG::Qty< 0, 2, 0 >
ThePEG::ZGenerator
ZGenerator is the base class for all classes implementing models to generate the momentum fraction,...
Definition:
ZGenerator.h:32
ThePEG::ZGenerator::Init
static void Init()
Standard Init function used to initialize the interface.
ThePEG::ZGenerator::generate
virtual double generate(cPDPtr q1, cPDPtr q2, Energy2 mT2) const =0
Return the momentum fraction.
ThePEG::ZGenerator::initZGenerator
static AbstractClassDescription< ZGenerator > initZGenerator
Describe an abstract class without persistent data.
Definition:
ZGenerator.h:60
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::BaseClassTrait
BaseClassTraits describes the base classes of the templated class.
Definition:
ClassTraits.h:156
ThePEG::BaseClassTrait::NthBase
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition:
ClassTraits.h:161
ThePEG::ClassTraitsBase::className
static string className()
Return the name of class T.
Definition:
ClassTraits.h:66
ThePEG::ClassTraitsType
ClassTraitsType is an empty, non-polymorphic, base class.
Definition:
ClassTraits.h:30
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6