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

A Matcher class which matches any hadron. More...

#include <StandardMatchers.h>

Inheritance diagram for Herwig::HadronMatcher:

Public Types

typedef HadronMatcher CC
 Typedef the class matching the complex conjugate particles. More...
 

Static Public Member Functions

static bool Check (const ParticleData &pd)
 The main static function to check if a given particle type pd matches. More...
 
static bool Check (long id)
 The main static function to check if a given particle with type id matches. More...
 
static string className ()
 A simplified but unique class name. More...
 

Detailed Description

A Matcher class which matches any hadron.

Definition at line 97 of file StandardMatchers.h.

Member Typedef Documentation

◆ CC

Typedef the class matching the complex conjugate particles.

Definition at line 99 of file StandardMatchers.h.

Member Function Documentation

◆ Check() [1/2]

static bool Herwig::HadronMatcher::Check ( const ParticleData pd)
inlinestatic

The main static function to check if a given particle type pd matches.

Definition at line 102 of file StandardMatchers.h.

References ThePEG::ParticleData::id().

◆ Check() [2/2]

static bool Herwig::HadronMatcher::Check ( long  id)
inlinestatic

The main static function to check if a given particle with type id matches.

Definition at line 112 of file StandardMatchers.h.

References ThePEG::CurrentGenerator::current(), and ThePEG::EventGenerator::getParticleData().

◆ className()

static string Herwig::HadronMatcher::className ( )
inlinestatic

A simplified but unique class name.

Definition at line 123 of file StandardMatchers.h.


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