#include <NoRemnants.h>
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) const |
Generate Remnants. | |
virtual Lorentz5Momentum | generate (PartonBinInstance &pb, const double *r, Energy2 scale, Energy2 shat, const LorentzMomentum &parent) const |
Generate the momentum of the extracted parton with the parent momentum given by the last argument. | |
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 | |
NoRemnants & | operator= (const NoRemnants &) |
Private and non-existent assignment operator. | |
Static Private Attributes | |
static NoPIOClassDescription < NoRemnants > | initNoRemnants |
Describe a concrete class without persistent data. |
Definition at line 29 of file NoRemnants.h.
virtual bool ThePEG::NoRemnants::canHandle | ( | tcPDPtr | , | |
const cPDVector & | partons | |||
) | const [inline, virtual] |
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 Lorentz5Momentum ThePEG::NoRemnants::generate | ( | PartonBinInstance & | pb, | |
const double * | r, | |||
Energy2 | scale, | |||
const LorentzMomentum & | p | |||
) | 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 | |||
) | 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.
virtual IBPtr ThePEG::NoRemnants::clone | ( | ) | const [protected, virtual] |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
virtual IBPtr ThePEG::NoRemnants::fullclone | ( | ) | const [protected, virtual] |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.