ThePEG  1.8.0
Static Public Member Functions | Private Member Functions | Static Private Attributes
ThePEG::NoPDF Class Reference

NoPDF inherits from PDFBase and represents particles without sub-structure. More...

#include <NoPDF.h>

Inheritance diagram for ThePEG::NoPDF:
Inheritance graph
[legend]

List of all members.

Public Member Functions

Virtual functions mandated by the PDFBase base class.
virtual bool canHandleParticle (tcPDPtr particle) const
 Return true because we can handle any particle.
virtual bool canHandle (tcPDPtr particle) const
 Return true if canHandleParticle() and if the corresponding method for remnantHandler() returns true.
virtual bool hasPoleIn1 (tcPDPtr particle, tcPDPtr parton) const
 Return true if this PDF has a pole at $x=1$ for the given particle and parton.
virtual cPDVector partons (tcPDPtr p) const
 Simply return the particle.
virtual double xfl (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 The delta function.
- Public Member Functions inherited from ThePEG::PDFBase
tcRemHPtr remnantHandler () const
 Pointer to the remnant handler to handle remnant when extracting partons according to these densities.
 PDFBase ()
 Default constructor.
 PDFBase (const PDFBase &)
 Copy-constructor.
virtual ~PDFBase ()
 Destructor.
virtual double xfx (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 The density.
virtual double xfvl (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 The valence density.
virtual double xfvx (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 The valence density.
virtual double xfsl (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double l, Energy2 particleScale=ZERO) const
 The sea density.
virtual double xfsx (tcPDPtr particle, tcPDPtr parton, Energy2 partonScale, double x, double eps=0.0, Energy2 particleScale=ZERO) const
 The sea density.
virtual double flattenL (tcPDPtr particle, tcPDPtr parton, const PDFCuts &cut, double z, double &jacobian) const
 Generate a momentum fraction.
virtual double flattenScale (tcPDPtr particle, tcPDPtr parton, const PDFCuts &cut, double l, double z, double &jacobian) const
 Generate scale (as a fraction of the maximum scale).
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.

Static Public Member Functions

static void Init ()
 Standard Init function used to initialize the interface.

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
- Protected Member Functions inherited from ThePEG::PDFBase
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.

Private Member Functions

NoPDFoperator= (const NoPDF &)
 Private and non-existent assignment operator.

Static Private Attributes

static NoPIOClassDescription
< NoPDF
initNoPDF
 Describe a concrete class without persistent data.

Additional Inherited Members

- Protected Types inherited from ThePEG::PDFBase
enum  RangeException { rangeFreeze, rangeZero, rangeThrow }
 Indicate how to deal with x and Q2 which are out of range. More...
- Protected Attributes inherited from ThePEG::PDFBase
RemHPtr theRemnantHandler
 A remnant handler which can generate remnants for the parton extracted withfor this PDF.
RangeException rangeException
 Indicate to subclasses how to deal with x and Q2 which are out of range.

Detailed Description

NoPDF inherits from PDFBase and represents particles without sub-structure.

The only parton which can be extracted is the incoming particle itself with a momentum distribution which is a delta-function at $x=1$ ( $l=0$).

See also:
PDFBase
NoRemnants

Definition at line 29 of file NoPDF.h.


Member Function Documentation

virtual IBPtr ThePEG::NoPDF::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual IBPtr ThePEG::NoPDF::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

virtual bool ThePEG::NoPDF::hasPoleIn1 ( tcPDPtr  particle,
tcPDPtr  parton 
) const
virtual

Return true if this PDF has a pole at $x=1$ for the given particle and parton.

This default version of the function returns true if particle and parton is the same.

Reimplemented from ThePEG::PDFBase.


The documentation for this class was generated from the following file: