Pythia7::LundFlavourHandler Class Reference

LundFlavourHandler is an helper class to administrate flavour generation procedure that requires extra handling that simple calls to the LundFlavourGenerator. More...

#include <LundFlavourHandler.h>

List of all members.

Public Member Functions

virtual PDPtr generateHadron (tcPDPtr inPD, cPDPtr &newPD)
 Handle the generation of new flavour according to the simple popcorn algorithm using the Flavour Generator of the LundFragHandler.
void FlGen (const LFlGenPtr &)
 Set the flavour generator used by the fragmentation handler.
LFlGenPtr FlGen () const
 Get the flavour generator used by the fragmentation handler.
void initialize ()
 Initialise the number of popcorn meson and the curtain quark Id.
int & PopN ()
 Return the number of remaining popcorn mesons to be produced in the current popcorn generation started in the direction of fragmentation fixed by the LundFragHandler.
long & curtainQId ()
 Return the curtain quark Id, given by the flavour generator at the beginning of the popcorn generation started in the direction of fragmentation fixed by the LundFragHandler.
Standard constructors and destructors.
 LundFlavourHandler (const LFlGenPtr &)
 Standard constructor given a reference to a LunfFlavourGenerator object.
virtual ~LundFlavourHandler ()
 Destructor.

Private Attributes

LFlGenPtr theFlGen
 Pointer to the flavour generator.
pair< int, int > thePopN
 number of popcorn meson in between the Baryon and the antiBaryon.
pair< long, long > theCurtainQId
 the curtain quark Id in the popcorn generation.


Detailed Description

LundFlavourHandler is an helper class to administrate flavour generation procedure that requires extra handling that simple calls to the LundFlavourGenerator.

Particularly, the LundFlavourHandler is responsible for handling the popcorn procedure for Baryon production in the Lund fragmentation scheme. It uses the LundFlavourGenerator of the LundFragHandler for flavour generation.

The LundFragHandler invokes the flavour generation through the generateHadron() and delegates to the LundFlavourHandler the responsibility for handling the popcorn meson production.

The LundFlavourHandler is not intended to be interfaced. It should be created given the pointer to the interfaced LundFlavourGenerator used in the LundFragHandler.

The generateHadron() is made virtual to provide users with the possibility to implement separate strategies for popcorn meson production.

See also:
LundFragHandler

LundFlavourGenerator

Definition at line 40 of file LundFlavourHandler.h.


Member Data Documentation

pair<int, int> Pythia7::LundFlavourHandler::thePopN [private]

number of popcorn meson in between the Baryon and the antiBaryon.

for the generations started from one or another side of the string.

Definition at line 104 of file LundFlavourHandler.h.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:45:34 2010 for Pythia7 by  doxygen 1.5.5