herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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.
 
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.
 
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.
 
int extracted
 The array index of the extracted particle.
 
int sign
 -1 if the particle is an anti-particle.
 
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 237 of file HwRemDecayer.h.

Member Function Documentation

◆ extract()

void Herwig::HwRemDecayer::HadronContent::extract ( int  id)
inline

manually extract the valence flavour id.

Definition at line 242 of file HwRemDecayer.h.

References extracted, flav, ThePEG::ParticleID::gamma, hadron, ThePEG::ParticleID::pomeron, pomeronStructure, ThePEG::ParticleID::reggeon, and sign.

◆ 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 274 of file HwRemDecayer.h.

References ThePEG::ParticleID::g, and isValenceQuark().

◆ 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 289 of file HwRemDecayer.h.

References ThePEG::ParticleID::g, and isValenceQuarkData().

◆ isValenceQuark() [1/2]

bool Herwig::HwRemDecayer::HadronContent::isValenceQuark ( int  id) const
inline

Method to determine whether parton is a valence quark.

Definition at line 304 of file HwRemDecayer.h.

References ThePEG::find(), flav, and sign.

◆ isValenceQuark() [2/2]

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

Method to determine whether parton is a valence quark.

Definition at line 281 of file HwRemDecayer.h.

References isValenceQuark().

Referenced by isSeaQuark(), and isValenceQuark().

◆ isValenceQuarkData()

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

Method to determine whether parton is a valence quark.

Definition at line 296 of file HwRemDecayer.h.

References ThePEG::find(), flav, and sign.

Referenced by isSeaQuarkData().

Member Data Documentation

◆ extracted

int Herwig::HwRemDecayer::HadronContent::extracted

The array index of the extracted particle.

Definition at line 312 of file HwRemDecayer.h.

Referenced by extract().

◆ flav

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

The valence flavours of the corresponding baryon.

Definition at line 309 of file HwRemDecayer.h.

Referenced by extract(), isValenceQuark(), and isValenceQuarkData().

◆ hadron

tcPDPtr Herwig::HwRemDecayer::HadronContent::hadron

The ParticleData objects of the hadron.

Definition at line 318 of file HwRemDecayer.h.

Referenced by extract().

◆ pomeronStructure

unsigned int Herwig::HwRemDecayer::HadronContent::pomeronStructure

Pomeron treatment.

Definition at line 321 of file HwRemDecayer.h.

Referenced by extract().

◆ sign

int Herwig::HwRemDecayer::HadronContent::sign

-1 if the particle is an anti-particle.

+1 otherwise.

Definition at line 315 of file HwRemDecayer.h.

Referenced by extract(), isValenceQuark(), and isValenceQuarkData().


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