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

SoftRemnantHandler inherits from the RemnantHandler and implements the generation of a single collinear RemnantParticle when anything is extracted from anything else. More...

#include <SoftRemnantHandler.h>

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

List of all members.

Public Member Functions

Virtual functions mandated by the RemnantHandler base class.
virtual bool canHandle (tcPDPtr particle, const cPDVector &partons) const
 Return true if this remnant handler can handle extracting all specified partons form the given particle.
virtual Lorentz5Momentum generate (PartonBinInstance &pb, const double *r, Energy2 scale, const LorentzMomentum &p, bool fixedPartonMomentum=false) const
 Generate momenta.
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.
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.
Functions used by the persistent I/O system.
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.
- 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.

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

void setDecayer (RemDecPtr rd)
 Utility function for the interface.
SoftRemnantHandleroperator= (const SoftRemnantHandler &)
 Private and non-existent assignment operator.

Private Attributes

RemDecPtr remdec
 A pointer to a RemnantDecayer object which is able to decay the produced RemnantParticle objects.

Static Private Attributes

static ClassDescription
< SoftRemnantHandler
initSoftRemnantHandler
 Describe a concrete class with 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

SoftRemnantHandler inherits from the RemnantHandler and implements the generation of a single collinear RemnantParticle when anything is extracted from anything else.

Such a RemnantParticle needs to be decayed by a special RemnantDecayer and the SoftRemnantHandler needs to be assign such a decayer to work properly.

See also:
The interfaces defined for SoftRemnantHandler.

Definition at line 28 of file SoftRemnantHandler.h.


Member Function Documentation

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

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

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

Generate momenta.

Generates the momenta of the extracted parton in the particle cms (but with the parton $x$ still the positive light-cone fraction) as given by the last argument, p. If the particle is space-like the positive and negative light-cone momenta are $\sqrt{-m^2}$ and $-sqrt{-m^2}$ respectively. 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. Generated quantities which are not returned in the momentum may be saved in the PartonBin, 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.

virtual Lorentz5Momentum ThePEG::SoftRemnantHandler::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.

void ThePEG::SoftRemnantHandler::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from ThePEG::RemnantHandler.

void ThePEG::SoftRemnantHandler::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::RemnantHandler.

virtual bool ThePEG::SoftRemnantHandler::recreateRemnants ( PartonBinInstance pb,
tPPtr  oldp,
tPPtr  newp,
double  newl,
Energy2  scale,
const LorentzMomentum p,
const PVector prev = PVector() 
) const
virtual

Redo the remnant generation for the given particle bin, pb.

If oldp is non-null it corresponds to the previously extracted parton which should be replaced by newp. If oldp is null it means newp should be extracted in addition to the previously extracted ones available in prev.

Returns:
false if the generation failed.

Reimplemented from ThePEG::RemnantHandler.

virtual bool ThePEG::SoftRemnantHandler::recreateRemnants ( PartonBinInstance pb,
tPPtr  oldp,
tPPtr  newp,
double  newl,
Energy2  scale,
Energy2  shat,
const LorentzMomentum p,
const PVector prev = PVector() 
) const
virtual

Redo the remnant generation for the given particle bin, pb.

If oldp is non-null it corresponds to the previously extracted parton which should be replaced by newp. If oldp is null it means newp should be extracted in addition to the previously extracted ones available in prev. In either case 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.

Returns:
false if the generation failed.

Reimplemented from ThePEG::RemnantHandler.


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