ThePEG
1.8.0
|
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>
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. | |
![]() | |
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. | |
SoftRemnantHandler & | operator= (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 | |
![]() | |
bool | isMultiCapable |
True if this handler can generate remnants also if several partons have been extracted. |
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.
Definition at line 28 of file SoftRemnantHandler.h.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
virtual |
Generate momenta.
Generates the momenta of the extracted parton in the particle cms (but with the parton 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
and
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 |
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.
is | the persistent input stream read from. |
version | the 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.
os | the persistent output stream written to. |
Reimplemented from ThePEG::RemnantHandler.
|
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.
Reimplemented from ThePEG::RemnantHandler.
|
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.
Reimplemented from ThePEG::RemnantHandler.