File: CascadeHandler.h
Description:
The CascadeHandler is the base class of all handlers
implementing perturbative partonic cascade models. It is derived
from the more general StepHandler class, and does
not introduce more functioanality as it stands.
See
also:
namespace Pythia7
CLASS
CascadeHandler:
Base class:
StepHandler,
public
LastXCombInfo<>
Public members:
inline CascadeHandler();
inline CascadeHandler(const CascadeHandler &);
virtual ~CascadeHandler();
Standard ctors and dtor
virtual void handle(PartialCollisionHandler & ch, const tPVector & tagged,
const Hint & hint)
PYTHIA7_THROW_SPEC((Veto, Stop, Exception));
The default version stores important information and calls cascade().
virtual void cascade() = 0;
The main function to be overwritten by sub-classes.
inline const tPVector & tagged() const;
Return the vector of tagged particles which should be
showered. It the vector is empty, the patons from the current
sub-process is supposed to be showered.
inline const Hint & hint() const;
Return the int provided in the current call to handle().
inline const PDF & firstPDF() const;
inline const PDF & secondPDF() const;
inline const pair<PDF,PDF> & pdfs() const;
Return references to the currently used PDF's.
inline tPartCollHdlPtr collisionHandler() const;
Return a pointer to the current collision handler.
static void Init();
Standard Init function used to initialize the interface.
Protected members:
inline virtual void doupdate() throw(UpdateException);
inline 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:
const tPVector * theTagged;
const Hint * theHint;
Store the arguments given to handle().
pair<PDF,PDF> thePDFs;
The pdfs used to extract the incoming partons.
tPartCollHdlPtr theCollisionHandler;
The current collision handler.
static AbstractNoPIOClassDescription<CascadeHandler> initCascadeHandler;
CascadeHandler & operator=(const CascadeHandler &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<CascadeHandler,1>
Public members:
typedef StepHandler NthBase;
template <>
STRUCT
ClassTraits<CascadeHandler>:
Public members:
static string className() { return "/Pythia7/CascadeHandler"; }
DEFINED MACROS
INCLUDED FILES
StepHandler.h
Pythia7/Handlers/LastXCombInfo.h
Pythia7/PDF/PDF.h
CascadeHandler.icc