herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
CVolver::ColourFlowCrossing Class Reference

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.
 

Detailed Description

The crossing of a physical process to a colour flow basis.

Definition at line 245 of file ColourFlows.h.


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