herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::HPDiagram Struct Reference

The HPDiagram struct contains information about a 2->2 hard-process that has been automatically generated by HardProcessConstructor. More...

#include <HPDiagram.h>

Public Types

enum  Channel { UNDEFINED = -1 , sChannel , tChannel , fourPoint }
 Enumeration for channel type. More...
 

Public Member Functions

 HPDiagram ()
 Standard Constructor.
 
 HPDiagram (IDPair a, IDPair b)
 Constructor taking ids as arguments.
 
bool sameProcess (const HPDiagram &x) const
 Test whether this and x are the same process.
 

Public Attributes

IDPair incoming
 Incoming particle id's.
 
IDPair outgoing
 Outgoing particle id's.
 
BPair ordered
 Particle ordering for t-channel diagrams.
 
PDPtr intermediate
 ParticleData pointer to intermediate, null for 4-point vertices.
 
VBPair vertices
 The two vertices for the diagram.
 
Channel channelType
 Enum of channel type.
 
vector< CFPaircolourFlow
 Store colour flow information.
 
vector< long > ids
 Store the ids in a vector for easy use of comparison operator.
 

Detailed Description

The HPDiagram struct contains information about a 2->2 hard-process that has been automatically generated by HardProcessConstructor.

Definition at line 42 of file HPDiagram.h.

Member Enumeration Documentation

◆ Channel

Enumeration for channel type.

Definition at line 45 of file HPDiagram.h.

Constructor & Destructor Documentation

◆ HPDiagram() [1/2]

Herwig::HPDiagram::HPDiagram ( )
inline

Standard Constructor.

Definition at line 48 of file HPDiagram.h.

◆ HPDiagram() [2/2]

Herwig::HPDiagram::HPDiagram ( IDPair  a,
IDPair  b 
)
inline

Constructor taking ids as arguments.

Definition at line 53 of file HPDiagram.h.

References ids, incoming, and outgoing.

Member Function Documentation

◆ sameProcess()

bool Herwig::HPDiagram::sameProcess ( const HPDiagram x) const
inline

Test whether this and x are the same process.

Parameters
xThe other process to check

Definition at line 90 of file HPDiagram.h.

References incoming, and outgoing.

Member Data Documentation

◆ channelType

Channel Herwig::HPDiagram::channelType

Enum of channel type.

Definition at line 78 of file HPDiagram.h.

Referenced by Herwig::operator<<(), Herwig::operator==(), and Herwig::operator>>().

◆ colourFlow

vector<CFPair> Herwig::HPDiagram::colourFlow

Store colour flow information.

Definition at line 81 of file HPDiagram.h.

Referenced by Herwig::operator<<(), and Herwig::operator>>().

◆ ids

vector<long> Herwig::HPDiagram::ids

Store the ids in a vector for easy use of comparison operator.

Definition at line 84 of file HPDiagram.h.

Referenced by HPDiagram(), Herwig::operator<(), Herwig::operator<<(), and Herwig::operator>>().

◆ incoming

IDPair Herwig::HPDiagram::incoming

Incoming particle id's.

Definition at line 63 of file HPDiagram.h.

Referenced by HPDiagram(), Herwig::operator<<(), Herwig::operator==(), Herwig::operator>>(), and sameProcess().

◆ intermediate

PDPtr Herwig::HPDiagram::intermediate

ParticleData pointer to intermediate, null for 4-point vertices.

Definition at line 72 of file HPDiagram.h.

Referenced by Herwig::operator<<(), Herwig::operator==(), and Herwig::operator>>().

◆ ordered

BPair Herwig::HPDiagram::ordered

Particle ordering for t-channel diagrams.

Definition at line 69 of file HPDiagram.h.

Referenced by Herwig::operator<<(), Herwig::operator==(), and Herwig::operator>>().

◆ outgoing

IDPair Herwig::HPDiagram::outgoing

Outgoing particle id's.

Definition at line 66 of file HPDiagram.h.

Referenced by HPDiagram(), Herwig::operator<<(), Herwig::operator==(), Herwig::operator>>(), and sameProcess().

◆ vertices

VBPair Herwig::HPDiagram::vertices

The two vertices for the diagram.

Definition at line 75 of file HPDiagram.h.

Referenced by Herwig::operator<<(), Herwig::operator==(), and Herwig::operator>>().


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