File: ColourBase.h
Description:
ColourBase is the base class to be used to supply a
Particle with information about its colour
state. This base class supplies information about the
ColourLines to which the particle is
connected. This should be sufficient for most uses. If any other
info is required for a particle, it may be supplied by an object of
a sub-class of ColourBase, the additional information
would then have to be extracted by dynamically casting to the
sub-class.
See
also:
namespace Pythia7
CLASS
ColourBase:
Base class:
Public members:
Friends
Public members:
inline ColourBase();
inline ColourBase(const ColourBase &);
virtual ~ColourBase();
Standard ctors and dtor.
inline tColinePtr antiColourLine() const;
inline tColinePtr colourLine() const;
Return the colour lines to which this particle is connected.
Private members:
inline void antiColourLine(tColinePtr);
inline void colourLine(tColinePtr);
Set the colour lines to which this particle is connected.
Public members:
virtual void rebind(const EventTranslationMap & trans);
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.
inline virtual EIPtr clone() const;
Standard clone method.
Private members:
ColinePtr theAntiColourLine;
ColinePtr theColourLine;
The colour lines to which this particle is connected.
static ClassDescription<ColourBase> initColourBase;
Describe concrete class with persistent data.
ColourBase & operator=(const ColourBase &);
Private and non-existent assignment operator.
DEFINED MACROS
INCLUDED FILES
Pythia7/EventRecord/EventInfoBase.h
Pythia7/EventRecord/ColourLine.h