Pythia7::Oriented Class Reference

The Oriented class mainly implements a static member theSide that describes, in the fragmentation procedure, from which side of the string a step is taken. More...

#include <Oriented.h>

Inheritance diagram for Pythia7::Oriented:

Pythia7::LundFragHandler Pythia7::OrientedIndex

List of all members.

Public Types

enum  Side { left = -1, right = 1 }
 Enumeration of the directions. More...

Static Public Member Functions

static int Dir ()
 The current direction.
static int OppDir ()
 The opposite of the current direction.

Static Protected Member Functions

static void pickSide (double rnd)
 Pick the rightward (leftward) direction with probability rnd (1-rnd).

Static Private Attributes

static Side theSide
 The current direction.


Detailed Description

The Oriented class mainly implements a static member theSide that describes, in the fragmentation procedure, from which side of the string a step is taken.

The method to pick at random a side is protected and only the LundFragHandler can change it. All other classes can access to the current side in a fragmentation step by the static Dir() method.

In the future this class should be replaced by the standard ThePEG::Direction class.

Definition at line 23 of file Oriented.h.


Member Enumeration Documentation

Enumeration of the directions.

Enumerator:
left  Leftward direction.

right  Rightward direction.

Definition at line 28 of file Oriented.h.


Member Data Documentation

Side Pythia7::Oriented::theSide [static, private]

The current direction.

Definition at line 53 of file Oriented.h.


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

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