Herwig 7.3.0
|
The crossing of a physical process to a colour flow basis. More...
#include <ColourFlows.h>
Public Member Functions | |
ColourFlowCrossing () | |
Default constructor. | |
template<class ParticleData > | |
ColourFlowCrossing (const std::vector< ParticleData > &proc, bool signs=true) | |
Construct for the given process. | |
const std::size_t & | nFlows () const |
Return the number of colour flows. | |
std::size_t | colourLeg (const std::size_t &i) const |
Return the external leg for the given colour. | |
std::size_t | antiColourLeg (const std::size_t &i) const |
Return the external leg for the given anti-colour. | |
std::size_t | colourCrossingSign (const std::size_t &i) const |
Return the crossing sign for the given colour. | |
double | antiColourCrossingSign (const std::size_t &i) const |
Return the crossing sign for the given anti-colour. | |
bool | coloured (const std::size_t &i) const |
Return true, if the external line carries colour. | |
std::size_t | colourLine (const std::size_t &i) const |
Return the colour line for the given external leg. | |
bool | antiColoured (const std::size_t &i) const |
Return true, if the external line carries anti-colour. | |
std::size_t | antiColourLine (const std::size_t &i) const |
Return the anti-colour line for the given external leg. | |
Private Member Functions | |
void | addColourCrossing (const std::size_t &leg, std::size_t &count, double sign) |
Add colour leg mapping. | |
void | addAntiColourCrossing (const std::size_t &leg, std::size_t &count, double sign) |
Add anti-colour leg mapping. | |
Private Attributes | |
std::size_t | theNFlows |
The number of colour flows. | |
std::map< std::size_t, std::size_t > | theColourMap |
Map colour legs to external legs. | |
std::map< std::size_t, std::size_t > | theAntiColourMap |
Map anti-colour legs to external legs. | |
std::map< std::size_t, std::size_t > | theReverseColourMap |
Map external legs to colour legs. | |
std::map< std::size_t, std::size_t > | theReverseAntiColourMap |
Map external legs to anti-colour legs. | |
std::map< std::size_t, double > | theColourCrossingSigns |
Map colour legs to crossing signs. | |
std::map< std::size_t, double > | theAntiColourCrossingSigns |
Map anti-colour legs to crossing signs. | |
The crossing of a physical process to a colour flow basis.
Definition at line 245 of file ColourFlows.h.
|
inline |
Default constructor.
Definition at line 278 of file ColourFlows.h.
|
inlineexplicit |
Construct for the given process.
Definition at line 285 of file ColourFlows.h.
References addAntiColourCrossing(), addColourCrossing(), and theNFlows.
|
inlineprivate |
Add anti-colour leg mapping.
Definition at line 264 of file ColourFlows.h.
References theAntiColourCrossingSigns, theAntiColourMap, and theReverseAntiColourMap.
Referenced by ColourFlowCrossing().
|
inlineprivate |
Add colour leg mapping.
Definition at line 252 of file ColourFlows.h.
References theColourCrossingSigns, theColourMap, and theReverseColourMap.
Referenced by ColourFlowCrossing().
|
inline |
Return the crossing sign for the given anti-colour.
Definition at line 353 of file ColourFlows.h.
References theAntiColourCrossingSigns.
|
inline |
Return true, if the external line carries anti-colour.
Definition at line 380 of file ColourFlows.h.
References theReverseAntiColourMap.
|
inline |
Return the external leg for the given anti-colour.
Definition at line 333 of file ColourFlows.h.
References theAntiColourMap.
|
inline |
Return the anti-colour line for the given external leg.
Definition at line 387 of file ColourFlows.h.
References theReverseAntiColourMap.
|
inline |
Return the crossing sign for the given colour.
Definition at line 343 of file ColourFlows.h.
References theColourCrossingSigns.
|
inline |
Return true, if the external line carries colour.
Definition at line 363 of file ColourFlows.h.
References theReverseColourMap.
|
inline |
Return the external leg for the given colour.
Definition at line 323 of file ColourFlows.h.
References theColourMap.
|
inline |
Return the colour line for the given external leg.
Definition at line 370 of file ColourFlows.h.
References theReverseColourMap.
|
inline |
Return the number of colour flows.
Definition at line 318 of file ColourFlows.h.
References theNFlows.
|
private |
Map anti-colour legs to crossing signs.
Definition at line 429 of file ColourFlows.h.
Referenced by addAntiColourCrossing(), and antiColourCrossingSign().
|
private |
Map anti-colour legs to external legs.
Definition at line 409 of file ColourFlows.h.
Referenced by addAntiColourCrossing(), and antiColourLeg().
|
private |
Map colour legs to crossing signs.
Definition at line 424 of file ColourFlows.h.
Referenced by addColourCrossing(), and colourCrossingSign().
|
private |
Map colour legs to external legs.
Definition at line 404 of file ColourFlows.h.
Referenced by addColourCrossing(), and colourLeg().
|
private |
The number of colour flows.
Definition at line 399 of file ColourFlows.h.
Referenced by ColourFlowCrossing(), and nFlows().
|
private |
Map external legs to anti-colour legs.
Definition at line 419 of file ColourFlows.h.
Referenced by addAntiColourCrossing(), antiColoured(), and antiColourLine().
|
private |
Map external legs to colour legs.
Definition at line 414 of file ColourFlows.h.
Referenced by addColourCrossing(), coloured(), and colourLine().