File: LeptonLeptonRemnant.h
Description:
LeptonLeptonRemnant inherits from the
RemnantHandler and implements the generation of a
single collinear photon remnant when a lepton is extracted from a
lepton.
See
also:
namespace Pythia7
CLASS
LeptonLeptonRemnant:
Base class:
Public members:
LeptonLeptonRemnant();
LeptonLeptonRemnant(const LeptonLeptonRemnant &);
virtual ~LeptonLeptonRemnant();
Standard ctors and dtor
virtual bool canHandle(tcPDPtr particle, const cPDVector & partons) const;
Return true if this remnant handler can handle extracting all
specified partons.
virtual Lorentz5Momentum generate(PartonBin & pb, const double * r,
Energy2 scale,
const LorentzMomentum & p) const;
Generate the momentum of the extracted parton in the particle cms
(but with x still the positive light-cone fraction) as given by
the last argument. If the particle is space-like the positive and
negative light-cone momenta are sqrt(-m2) and -sqrt(-m2)
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 for later use. In particular, if the nDim() random
numbers are not enough to generate with weight one, the resulting
weight should be stored with the remnantWeight() method of the
parton bin.
void persistentOutput(PersistentOStream &) const;
void persistentInput(PersistentIStream &, int);
Standard functions for writing and reading from persistent streams.
static void Init();
Standard Init function used to initialize the interface.
Protected members:
inline virtual IBPtr clone() const;
inline virtual IBPtr fullclone() const;
Standard clone methods
inline virtual void doupdate() throw(UpdateException);
virtual void doinit() throw(InitException);
inline virtual void dofinish();
Standard Interfaced virtual functions.
inline virtual void rebind(const TranslationMap & trans)
throw(RebindException);
Change all pointers to Interfaced objects to corresponding clones.
inline virtual IVector getReferences();
Return pointers to all Interfaced objects refered to by this.
Private members:
PDPtr photon;
Easy access to a proton data object.
static ClassDescription<LeptonLeptonRemnant> initLeptonLeptonRemnant;
LeptonLeptonRemnant & operator=(const LeptonLeptonRemnant &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<LeptonLeptonRemnant,1>
Public members:
typedef RemnantHandler NthBase;
template <>
STRUCT
ClassTraits<LeptonLeptonRemnant>:
Public members:
public ClassTraitsBase<LeptonLeptonRemnant> {
static string className() { return "/Pythia7/LeptonLeptonRemnant"; }
static string library() { return "LeptonLeptonRemnant.so"; }
DEFINED MACROS
PYTHIA7_LeptonLeptonRemnant_H
INCLUDED FILES
Pythia7/PDF/RemnantHandler.h
LeptonLeptonRemnant.icc