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

NoRemnants inherits from RemnantHandler but can only handle particles without sub-structure with the parton density given by a NoPDF object and will never give any remnants. More...

#include <NoRemnants.h>

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

List of all members.

Public Member Functions

Virtual functions mandated by the RemnantHandler base class.
virtual bool canHandle (tcPDPtr, const cPDVector &partons) const
 Return true if this remnant handler can handle extracting all specified partons.
virtual Lorentz5Momentum generate (PartonBinInstance &pb, const double *r, Energy2 scale, const LorentzMomentum &p, bool fixedPartonMomentum=false) const
 Generate Remnants.
virtual Lorentz5Momentum generate (PartonBinInstance &pb, const double *r, Energy2 scale, Energy2 shat, const LorentzMomentum &parent, bool fixedPartonMomentum=false) const
 Generate the momentum of the extracted parton with the parent momentum given by the last argument.
- Public Member Functions inherited from ThePEG::RemnantHandler
bool multiCapable () const
 Return true if this remnant handler is able to handle multiple extractions of partons from the same particle.
 RemnantHandler (bool multi=false)
 Default constructor.
virtual int nDim (const PartonBin &pb, bool doScale) const
 If the generation of remnants is expected to influence the actual cross section of the hard sub process, the degrees of freedom generated by this remnant handler may be included in the general phase space sampling for the subprocess.
virtual void boostRemnants (PartonBinInstance &pb) const
 Boost the generated remnants to the proper momentum given the information in the parton bin, pb.
virtual bool recreateRemnants (PartonBinInstance &pb, tPPtr oldp, tPPtr newp, double newl, Energy2 scale, const LorentzMomentum &p, const PVector &prev=PVector()) const
 Redo the remnant generation for the given particle bin, pb.
virtual bool recreateRemnants (PartonBinInstance &pb, tPPtr oldp, tPPtr newp, double newl, Energy2 scale, Energy2 shat, const LorentzMomentum &p, const PVector &prev=PVector()) const
 Redo the remnant generation for the given particle bin, pb.
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.

Private Member Functions

NoRemnantsoperator= (const NoRemnants &)
 Private and non-existent assignment operator.

Static Private Attributes

static NoPIOClassDescription
< NoRemnants
initNoRemnants
 Describe a concrete class without persistent data.

Additional Inherited Members

- Protected Attributes inherited from ThePEG::RemnantHandler
bool isMultiCapable
 True if this handler can generate remnants also if several partons have been extracted.

Detailed Description

NoRemnants inherits from RemnantHandler but can only handle particles without sub-structure with the parton density given by a NoPDF object and will never give any remnants.

See also:
RemnantHandler
NoPDF

Definition at line 29 of file NoRemnants.h.


Member Function Documentation

virtual bool ThePEG::NoRemnants::canHandle ( tcPDPtr  ,
const cPDVector partons 
) const
inlinevirtual

Return true if this remnant handler can handle extracting all specified partons.

The NoRemnants will return false if any partons are given.

Implements ThePEG::RemnantHandler.

Definition at line 40 of file NoRemnants.h.

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

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

virtual IBPtr ThePEG::NoRemnants::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 Lorentz5Momentum ThePEG::NoRemnants::generate ( PartonBinInstance pb,
const double *  r,
Energy2  scale,
const LorentzMomentum p,
bool  fixedPartonMomentum = false 
) const
virtual

Generate Remnants.

Will not generate remnants and will throw a RemnantHandlerException if the extracted parton is not the incomining particle with x=1.

Implements ThePEG::RemnantHandler.

virtual Lorentz5Momentum ThePEG::NoRemnants::generate ( PartonBinInstance pb,
const double *  r,
Energy2  scale,
Energy2  shat,
const LorentzMomentum parent,
bool  fixedPartonMomentum = false 
) const
virtual

Generate the momentum of the extracted parton with the parent momentum given by the last argument.

If the scale is negative, it means that the doScale in the previous call to nDim() was true, otherwise the given scale should be the virtuality of the extracted parton. shat is the total invariant mass squared of the hard sub-system produced by the extracted parton and the primary parton entering from the other side. Generated quantities which are not returned in the momentum may be saved in the PartonBinInstance, pb, for later use. In particular, if the nDim() random numbers, r, are not enough to generate with weight one, the resulting weight should be stored with the remnantWeight() method of the parton bin.

Implements ThePEG::RemnantHandler.


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