ThePEG 2.3.0
|
This class is used to store colour information of RemnantParticle objects and other particle classes with complicated colour structures. More...
#include <MultiColour.h>
Public Member Functions | |
virtual vector< tcColinePtr > | antiColourLines () const |
Return the anti-colour lines to which this particle is connected. | |
virtual vector< tcColinePtr > | colourLines () const |
Return the colour lines to which this particle is connected. | |
virtual void | colourLine (tColinePtr line, bool anti=false) |
Add the given (anti-) colour line to the particle. | |
virtual void | colourLine (tColinePtr line, int index, bool anti=false) |
Add the given (anti-) colour line to the particle. | |
virtual void | antiColourLine (tColinePtr line) |
Add the given anti-colour line to the particle. | |
virtual void | antiColourLine (tColinePtr line, int index) |
Add the given anti-colour line to the particle. | |
virtual void | removeColourLine (tcColinePtr line, bool anti=false) |
Remove the given (anti-) colour line from the particle. | |
virtual void | removeAntiColourLine (tcColinePtr line) |
Remove the given anti-colour line from the particle. | |
virtual bool | hasColourLine (tcColinePtr line, bool anti=false) const |
Return true if the particle is connected to the given (anti-) colour line. | |
tColinePtr | colourLine () const |
Return the colour line to which this particle is connected. | |
virtual void | colourLine (tColinePtr l, bool anti=false) |
Set the (anti-) colour line to which this particle is connected. | |
tColinePtr | antiColourLine () const |
Return the anti-colour line to which this particle is connected. | |
virtual void | antiColourLine (tColinePtr line) |
Set the anti-colour line to which this particle is connected. | |
Public Member Functions inherited from ThePEG::ColourBase | |
tColinePtr | antiColourLine () const |
Return the anti-colour line to which this particle is connected. | |
tColinePtr | colourLine () const |
Return the colour line to which this particle is connected. | |
virtual vector< tcColinePtr > | antiColourLines () const |
Return the anti-colour lines to which this particle is connected. | |
virtual vector< tcColinePtr > | colourLines () const |
Return the colour lines to which this particle is connected. | |
virtual bool | hasColourLine (tcColinePtr line, bool anti=false) const |
Return true if the particle is connected to the given (anti-) colour line. | |
bool | hasAntiColourLine (tcColinePtr line) const |
Return true if the particle is connected to the given anti-colour line. | |
virtual void | rebind (const EventTranslationMap &trans) |
Rebind to cloned objects. | |
void | persistentOutput (PersistentOStream &) const |
Standard function for writing to a persistent stream. | |
void | persistentInput (PersistentIStream &, int) |
Standard functions for reading from a persistent stream. | |
virtual EIPtr | clone () const |
Standard clone method. | |
virtual void | rebind (const EventTranslationMap &) |
Rebind to cloned objects. | |
virtual EIPtr | clone () const |
Standard clone method. | |
Public Member Functions inherited from ThePEG::Base | |
virtual | ~Base () |
The virtual destructor. | |
void | debug () const |
Print out debugging information for this object on std::cerr. | |
virtual void | debugme () const |
Print out debugging information for this object on std::cerr. | |
Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
CounterType | referenceCount () const |
Return the reference count. | |
Functions used by the persistent I/O system. | |
list< cColinePtr > | theColourLines |
The set of colour lines to which a particle is attached. | |
list< cColinePtr > | theAntiColourLines |
The set of anti-colour lines to which a particle is attached. | |
static ClassDescription< MultiColour > | initMultiColour |
The static object used to initialize the description of this class. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
virtual EIPtr | clone () const |
Standard clone method. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
MultiColour & | operator= (const MultiColour &)=delete |
The assignment operator is private and must never be called. | |
Additional Inherited Members | |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
The integer type used for counting. | |
Static Public Member Functions inherited from ThePEG::ColourBase | |
static void | Init () |
Standard Init function. | |
Static Public Member Functions inherited from ThePEG::EventInfoBase | |
static void | Init () |
Standard Init function. | |
Static Public Member Functions inherited from ThePEG::Base | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Public Attributes inherited from ThePEG::Pointer::ReferenceCounted | |
const unsigned long | uniqueId |
The unique ID. | |
virtual void | antiColourLine (tColinePtr line) |
Set the anti-colour line to which this particle is connected. | |
virtual void | colourLine (tColinePtr l, bool anti=false) |
Set the (anti-) colour line to which this particle is connected. | |
virtual void | removeAntiColourLine (tcColinePtr line) |
Remove the anti-colour line to which this particle is connected. | |
virtual void | removeColourLine (tcColinePtr line, bool anti=false) |
Remove the (anti-) colour line to which this particle is connected. | |
Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
ReferenceCounted () | |
Default constructor. | |
ReferenceCounted (const ReferenceCounted &) | |
Copy-constructor. | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Assignment. | |
This class is used to store colour information of RemnantParticle objects and other particle classes with complicated colour structures.
Rather than just having a
Definition at line 24 of file MultiColour.h.
|
inline |
Return the anti-colour line to which this particle is connected.
Definition at line 44 of file ColourBase.h.
|
inlinevirtual |
Set the anti-colour line to which this particle is connected.
Reimplemented from ThePEG::ColourBase.
Definition at line 82 of file ColourBase.h.
|
virtual |
Add the given anti-colour line to the particle.
If the base class has no anti-colour line, it will also be set.
Reimplemented from ThePEG::ColourBase.
|
virtual |
Add the given anti-colour line to the particle.
If the base class has no anti-colour line, it will also be set.
|
virtual |
Return the anti-colour lines to which this particle is connected.
Reimplemented from ThePEG::ColourBase.
|
inlinevirtual |
Standard clone method.
Reimplemented from ThePEG::ColourBase.
Definition at line 116 of file MultiColour.h.
References ThePEG::Pointer::new_ptr().
|
inline |
Return the colour line to which this particle is connected.
Definition at line 49 of file ColourBase.h.
|
inlinevirtual |
Set the (anti-) colour line to which this particle is connected.
Reimplemented from ThePEG::ColourBase.
Definition at line 89 of file ColourBase.h.
|
virtual |
Add the given (anti-) colour line to the particle.
If the base class has no (anti-) colour line, it will also be set.
Reimplemented from ThePEG::ColourBase.
|
virtual |
Add the given (anti-) colour line to the particle.
If the base class has no (anti-) colour line, it will also be set.
|
virtual |
Return the colour lines to which this particle is connected.
Reimplemented from ThePEG::ColourBase.
|
virtual |
Return true if the particle is connected to the given (anti-) colour line.
Reimplemented from ThePEG::ColourBase.
|
static |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void ThePEG::MultiColour::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void ThePEG::MultiColour::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
virtual |
Remove the given anti-colour line from the particle.
If the line is the antiColourLine() of the base class, it will be removed there as well.
Reimplemented from ThePEG::ColourBase.
|
virtual |
Remove the given (anti-) colour line from the particle.
If the line is the colourLine() of the base class, it will be removed there as well.
Reimplemented from ThePEG::ColourBase.
|
staticprivate |
The static object used to initialize the description of this class.
Indicates that this is a concrete class with persistent data.
Definition at line 136 of file MultiColour.h.
|
private |
The set of anti-colour lines to which a particle is attached.
Definition at line 128 of file MultiColour.h.
|
private |
The set of colour lines to which a particle is attached.
Definition at line 123 of file MultiColour.h.