9 #ifndef ThePEG_SoftRemnantHandler_H
10 #define ThePEG_SoftRemnantHandler_H
13 #include "ThePEG/PDF/RemnantHandler.h"
14 #include "ThePEG/PDT/RemnantDecayer.fh"
58 bool fixedPartonMomentum =
false)
const;
75 Energy2 scale, Energy2 shat,
77 bool fixedPartonMomentum =
false)
const;
88 double newl, Energy2 scale,
104 double newl, Energy2 scale,
191 struct ClassTraits<SoftRemnantHandler>:
192 public ClassTraitsBase<SoftRemnantHandler> {
194 static string className() {
return "ThePEG::SoftRemnantHandler"; }
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual bool canHandle(tcPDPtr particle, const cPDVector &partons) const
Return true if this remnant handler can handle extracting all specified partons form the given partic...
ClassTraitsType is an empty, non-polymorphic, base class.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
static ClassDescription< SoftRemnantHandler > initSoftRemnantHandler
Describe a concrete class with persistent data.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
SoftRemnantHandler inherits from the RemnantHandler and implements the generation of a single colline...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
RemDecPtr remdec
A pointer to a RemnantDecayer object which is able to decay the produced RemnantParticle objects...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
RemnantHandler is an abstract base class for implementing classes used to generate remnants when part...
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.
This is the main namespace within which all identifiers in ThePEG are declared.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
void setDecayer(RemDecPtr rd)
Utility function for the interface.
virtual IBPtr clone() const
Make a simple clone of this object.
RCPtr is a reference counted (smart) pointer.
vector< cPDPtr > cPDVector
A vector of pointers to const ParticleData objects.
SoftRemnantHandler & operator=(const SoftRemnantHandler &)
Private and non-existent assignment operator.
PartonBinInstance is used to store information about the generation of a given parton extraction for ...
virtual Lorentz5Momentum generate(PartonBinInstance &pb, const double *r, Energy2 scale, const LorentzMomentum &p, bool fixedPartonMomentum=false) const
Generate momenta.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
vector< PPtr > PVector
A vector of pointers to Particle objects.
BaseClassTraits describes the base classes of the templated class.
static void Init()
Standard Init function used to initialize the interface.