herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
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.
 

Public Member Functions

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

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. More...
 

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.

Constructor & Destructor Documentation

◆ HPDiagram()

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

Constructor taking ids as arguments.

Definition at line 53 of file HPDiagram.h.

References ThePEG::Helicity::incoming, and ThePEG::Helicity::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

◆ 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 Herwig::operator<(), Herwig::operator<<(), and Herwig::operator>>().


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