ThePEG
1.8.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PDF
NoPDF.h
1
// -*- C++ -*-
2
//
3
// NoPDF.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_NoPDF_H
10
#define ThePEG_NoPDF_H
11
// This is the declaration of the NoPDF class.
12
13
#include "ThePEG/PDF/PDFBase.h"
14
// #include "NoPDF.fh"
15
// #include "NoPDF.xh"
16
17
namespace
ThePEG {
18
29
class
NoPDF
:
public
PDFBase
{
30
31
public
:
32
38
virtual
bool
canHandleParticle
(
tcPDPtr
particle)
const
;
39
44
virtual
bool
canHandle
(
tcPDPtr
particle)
const
;
45
51
virtual
bool
hasPoleIn1
(
tcPDPtr
particle,
tcPDPtr
parton)
const
;
52
56
virtual
cPDVector
partons
(
tcPDPtr
p)
const
;
57
61
virtual
double
xfl
(
tcPDPtr
particle,
tcPDPtr
parton, Energy2 partonScale,
62
double
l, Energy2 particleScale =
ZERO
)
const
;
64
65
public
:
66
70
static
void
Init
();
71
72
protected
:
73
80
virtual
IBPtr
clone
()
const
;
81
86
virtual
IBPtr
fullclone
()
const
;
88
89
private
:
90
94
static
NoPIOClassDescription<NoPDF>
initNoPDF
;
95
99
NoPDF
&
operator=
(
const
NoPDF
&);
100
101
};
102
107
template
<>
108
struct
BaseClassTrait
<
NoPDF
,1>:
public
ClassTraitsType
{
110
typedef
PDFBase
NthBase
;
111
};
112
115
template
<>
116
struct
ClassTraits<NoPDF>:
public
ClassTraitsBase<NoPDF> {
118
static
string
className
() {
return
"ThePEG::NoPDF"
; }
119
};
120
123
}
124
125
#endif
/* ThePEG_NoPDF_H */
Generated on Sat Jun 16 2012 16:51:04 for ThePEG by
1.8.1.1