#include <Oriented.h>
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. |
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.
Side Pythia7::Oriented::theSide [static, private] |