ThePEG::RemnantHandler Class Reference

RemnantHandler is an abstract base class for implementing classes used to generate remnants when partons are extracted from particles. More...

#include <RemnantHandler.h>

Inheritance diagram for ThePEG::RemnantHandler:

ThePEG::HandlerBase ThePEG::HandlerBaseT< T > ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted ThePEG::LeptonLeptonRemnant ThePEG::NoRemnants ThePEG::SoftRemnantHandler

List of all members.

Public Member Functions

bool multiCapable () const
 Return true if this remnant handler is able to handle multiple extractions of partons from the same particle.
Standard constructors and destructors.
 RemnantHandler (bool multi=false)
 Default constructor.
Virtual functions to be overridden by sub-classes.
virtual bool canHandle (tcPDPtr particle, const cPDVector &partons) const =0
 Return true if this remnant handler can handle extracting all specified partons from the given particle.
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 Lorentz5Momentum generate (PartonBinInstance &pb, const double *r, Energy2 scale, const LorentzMomentum &parent) const =0
 Generate the momentum of the extracted parton with the parent momentum given by the last argument.
virtual Lorentz5Momentum generate (PartonBinInstance &pb, const double *r, Energy2 scale, Energy2 shat, const LorentzMomentum &parent) const =0
 Generate the momentum of the extracted parton with the parent momentum given by the last argument.
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.
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.

Static Public Member Functions

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

Protected Attributes

bool isMultiCapable
 True if this handler can generate remnants also if several partons have been extracted.

Private Member Functions

RemnantHandleroperator= (const RemnantHandler &)
 Private and non-existent assignment operator.

Static Private Attributes

static
AbstractClassDescription
< RemnantHandler
initRemnantHandler
 The static object used to initialize the description of this class.


Detailed Description

RemnantHandler is an abstract base class for implementing classes used to generate remnants when partons are extracted from particles.

See also:
The interfaces defined for RemnantHandler.

PartonExtractor

PDFBase

Definition at line 31 of file RemnantHandler.h.


Constructor & Destructor Documentation

ThePEG::RemnantHandler::RemnantHandler ( bool  multi = false  ) 

Default constructor.

If multi is true the derived class can be used to extract more than one parton.


Member Function Documentation

virtual int ThePEG::RemnantHandler::nDim ( const PartonBin pb,
bool  doScale 
) const [virtual]

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.

In this case this function should be overridden to return the number of degrees of freedom used in the generation. If doScale is false, it means that the actual virtuality of the extracted parton will be obtained from another source.

Reimplemented in ThePEG::LeptonLeptonRemnant.

virtual Lorentz5Momentum ThePEG::RemnantHandler::generate ( PartonBinInstance pb,
const double *  r,
Energy2  scale,
const LorentzMomentum parent 
) const [pure 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. 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.

Implemented in ThePEG::LeptonLeptonRemnant, ThePEG::NoRemnants, and ThePEG::SoftRemnantHandler.

virtual Lorentz5Momentum ThePEG::RemnantHandler::generate ( PartonBinInstance pb,
const double *  r,
Energy2  scale,
Energy2  shat,
const LorentzMomentum parent 
) const [pure 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.

Implemented in ThePEG::LeptonLeptonRemnant, ThePEG::NoRemnants, and ThePEG::SoftRemnantHandler.

virtual bool ThePEG::RemnantHandler::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 in ThePEG::LeptonLeptonRemnant, and ThePEG::SoftRemnantHandler.

virtual bool ThePEG::RemnantHandler::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 in ThePEG::LeptonLeptonRemnant, and ThePEG::SoftRemnantHandler.

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

Function used to write out object persistently.

Parameters:
os the persistent output stream written to.

Reimplemented from ThePEG::Interfaced.

Reimplemented in ThePEG::LeptonLeptonRemnant, and ThePEG::SoftRemnantHandler.

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

Function used to read in object persistently.

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

Reimplemented from ThePEG::Interfaced.

Reimplemented in ThePEG::LeptonLeptonRemnant, and ThePEG::SoftRemnantHandler.


Member Data Documentation

The static object used to initialize the description of this class.

Indicates that this is an abstract class with persistent data.

Definition at line 180 of file RemnantHandler.h.


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

Generated on Thu Apr 29 12:43:15 2010 for ThePEG by  doxygen 1.5.5