herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::HwRemDecayer::HadronContent Struct Reference

Simple struct to store info about baryon quark and di-quark constituents. More...

#include <HwRemDecayer.h>

Public Member Functions

void extract (int id)
 manually extract the valence flavour id.
 
long RemID () const
 Return a proper particle ID assuming that id has been removed from the hadron.
 
bool isSeaQuark (tcPPtr parton) const
 Method to determine whether parton is a quark from the sea. More...
 
bool isValenceQuark (tcPPtr parton) const
 Method to determine whether parton is a valence quark.
 
bool isSeaQuarkData (tcPDPtr partonData) const
 Method to determine whether parton is a quark from the sea. More...
 
bool isValenceQuarkData (tcPDPtr partonData) const
 Method to determine whether parton is a valence quark.
 
bool isValenceQuark (int id) const
 Method to determine whether parton is a valence quark.
 

Public Attributes

vector< int > flav
 The valence flavours of the corresponding baryon. More...
 
int extracted
 The array index of the extracted particle. More...
 
int sign
 -1 if the particle is an anti-particle. More...
 
tcPDPtr hadron
 The ParticleData objects of the hadron.
 
unsigned int pomeronStructure
 Pomeron treatment.
 

Detailed Description

Simple struct to store info about baryon quark and di-quark constituents.

Definition at line 236 of file HwRemDecayer.h.

Member Function Documentation

◆ isSeaQuark()

bool Herwig::HwRemDecayer::HadronContent::isSeaQuark ( tcPPtr  parton) const
inline

Method to determine whether parton is a quark from the sea.

Returns
TRUE if parton is neither a valence quark nor a gluon.

Definition at line 273 of file HwRemDecayer.h.

◆ isSeaQuarkData()

bool Herwig::HwRemDecayer::HadronContent::isSeaQuarkData ( tcPDPtr  partonData) const
inline

Method to determine whether parton is a quark from the sea.

Returns
TRUE if parton is neither a valence quark nor a gluon.

Definition at line 288 of file HwRemDecayer.h.

Member Data Documentation

◆ extracted

int Herwig::HwRemDecayer::HadronContent::extracted

The array index of the extracted particle.

Definition at line 311 of file HwRemDecayer.h.

◆ flav

vector<int> Herwig::HwRemDecayer::HadronContent::flav

The valence flavours of the corresponding baryon.

Definition at line 308 of file HwRemDecayer.h.

◆ sign

int Herwig::HwRemDecayer::HadronContent::sign

-1 if the particle is an anti-particle.

+1 otherwise.

Definition at line 314 of file HwRemDecayer.h.


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