herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
Herwig::TBDiagram Struct Reference

The TBDiagram struct contains information about a $1\to3$ decay that has been automatically generated by ThreeBodyDecayConstructor. More...

#include <TBDiagram.h>

Public Types

enum  Channel {
  UNDEFINED = -1, channel23 =0, channel13 =1, channel12 =2,
  fourPoint =3
}
 Enumeration for channel type.
 

Public Member Functions

 TBDiagram ()
 Standard Constructor.
 
 TBDiagram (long a, long b, IDPair c)
 Constructor taking ids as arguments. More...
 
bool sameDecay (const TBDiagram &x) const
 Test whether this and x are the same decay. More...
 
 TBDiagram (const NBDiagram &diagram)
 Constructor from NBDiagram.
 

Public Attributes

long incoming
 Incoming particle id's.
 
long outgoing
 Outgoing particle from first vertex.
 
IDPair outgoingPair
 Outgoing particle id's fropm resonance.
 
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 at $N_c=3$ information.
 
vector< CFPairlargeNcColourFlow
 Store colour flow at $N_c=\infty$ information.
 
vector< long > ids
 Store the ids in a vector for easy use of comparison operator. More...
 

Detailed Description

The TBDiagram struct contains information about a $1\to3$ decay that has been automatically generated by ThreeBodyDecayConstructor.

Definition at line 44 of file TBDiagram.h.

Constructor & Destructor Documentation

◆ TBDiagram()

Herwig::TBDiagram::TBDiagram ( long  a,
long  b,
IDPair  c 
)
inline

Constructor taking ids as arguments.

Definition at line 56 of file TBDiagram.h.

References ThePEG::Helicity::incoming, and ThePEG::Helicity::outgoing.

Member Function Documentation

◆ sameDecay()

bool Herwig::TBDiagram::sameDecay ( const TBDiagram x) const
inline

Test whether this and x are the same decay.

Parameters
xThe other process to check

Definition at line 96 of file TBDiagram.h.

References ids.

Member Data Documentation

◆ ids

vector<long> Herwig::TBDiagram::ids

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

Definition at line 90 of file TBDiagram.h.

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


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