ThePEG  1.8.0
Public Types | Static Public Member Functions
ThePEG::PDT Class Reference

PDT is a helper class implementing enumerations for charge, colour and spin to be used by the ParticleData class. More...

#include <PDT.h>

List of all members.

Public Types

enum  Spin {
  SpinNA = -1, SpinUnknown = 0, SpinUndefined = 0, Spin0 = 1,
  Spin1Half = 2, Spin1 = 3, Spin3Half = 4, Spin2 = 5,
  Spin5Half = 6, Spin3 = 7, Spin7Half = 8, Spin4 = 9
}
 Definition of enumerated values used for spin information. More...
enum  Charge {
  ChargeUnknown = -999999, ChargeUndefined = -999999, Charged = 999990, Positive = 900000,
  Negative = -900000, ChargeNeutral = 0, Charge0 = 0, Plus1Third = 1,
  Plus2Third = 2, Plus1 = 3, Minus1Third = -1, Minus2Third = -2,
  Minus1 = -3, Plus4Third = 4, Plus5Third = 5, Plus2 = 6,
  Minus4Third = -4, Minus5Third = -5, Minus2 = -6, Plus7Third = 7,
  Plus8Third = 8, Plus3 = 9, Minus7Third = -7, Minus8Third = -8,
  Minus3 = -9, Plus4 = 12, Plus5 = 15, Plus6 = 18,
  Plus7 = 21, Plus8 = 24, Minus4 = -12, Minus5 = -15,
  Minus6 = -18, Minus7 = -21, Minus8 = -24
}
 Definition of enumerated values used for charge information. More...
enum  Colour {
  ColourUnknown = -1, ColourUndefined = -1, ColourNeutral = 0, Colour0 = 0,
  Coloured = 1, Colour3 = 3, Colour3bar = -3, Colour6 = 6,
  Colour6bar = -6, Colour8 = 8
}
 *Definition of enumerated values used for colour information. More...

Static Public Member Functions

static bool charged (Charge c)
 True if the argument corresponds to a non-zero charge.
static bool positive (Charge c)
 True if the argument corresponds to a positive charge.
static bool negative (Charge c)
 True if the argument corresponds to a negative charge.
static bool coloured (Colour c)
 True if the argument corresponds to a non-zero colour charge.
static Colour antiColour (Colour c)
 Return the anti-colour of the specified colour.
static vector< long > flavourContent (long id)
 Return the flavour content of the given particle.
static vector< long > flavourContent (tcPDPtr)
 Return the flavour content of the given particle.
static vector< long > flavourContent (tcPPtr)
 Return the flavour content of the given particle.
static vector< long > flavourContent (const ParticleData &)
 Return the flavour content of the given particle.
static vector< long > flavourContent (const Particle &)
 Return the flavour content of the given particle.

Detailed Description

PDT is a helper class implementing enumerations for charge, colour and spin to be used by the ParticleData class.

In addition, some static utility functions are provided.

See also:
ParticleData

Definition at line 24 of file PDT.h.


Member Enumeration Documentation

Definition of enumerated values used for charge information.

The integer values are given in units of e/3.

Enumerator:
ChargeUnknown 

Unknown charge.

ChargeUndefined 

Undefined charge.

Charged 

Is charged.

Positive 

Is positively charged.

Negative 

Is negatively charged.

ChargeNeutral 

Uncharged.

Charge0 

Uncharged.

Plus1Third 

e/3.

Plus2Third 

2e/3.

Plus1 

e.

Minus1Third 

-e/3.

Minus2Third 

-2e/3.

Minus1 

-e.

Plus4Third 

4e/3.

Plus5Third 

5e/3.

Plus2 

2e.

Minus4Third 

-4e/3.

Minus5Third 

-5e/3.

Minus2 

-3e.

Plus7Third 

7e/3.

Plus8Third 

8e/3.

Plus3 

3e.

Minus7Third 

-7e/3.

Minus8Third 

-8e/3.

Minus3 

-3e.

Plus4 

4e.

Plus5 

5e.

Plus6 

6e.

Plus7 

7e.

Plus8 

8e.

Minus4 

-4e.

Minus5 

-5e.

Minus6 

-6e.

Minus7 

-7e.

Minus8 

-8e.

Definition at line 51 of file PDT.h.

*Definition of enumerated values used for colour information.

Enumerator:
ColourUnknown 

Unknown colour.

ColourUndefined 

Undefined colour.

ColourNeutral 

Colour-singlet.

Colour0 

Colour-singlet.

Coloured 

Coloured.

Colour3 

Colour-triplet.

Colour3bar 

Colour-anti-triplet.

Colour6 

Colour-sextet.

Colour6bar 

Colour-anti-sextet.

Colour8 

Colour-octet.

Definition at line 92 of file PDT.h.

Definition of enumerated values used for spin information.

THe integer values are given according to 2s+1.

Enumerator:
SpinNA 

Spin is not applicable.

SpinUnknown 

Unknown spin.

SpinUndefined 

Undefined spin.

Spin0 

Spin zero.

Spin1Half 

Spin 1/2.

Spin1 

Spin 1.

Spin3Half 

Spin 3/2.

Spin2 

Spin 2.

Spin5Half 

Spin 5/2.

Spin3 

Spin 4.

Spin7Half 

Spin 7/2.

Spin4 

Spin 5.

Definition at line 32 of file PDT.h.


Member Function Documentation

static vector<long> ThePEG::PDT::flavourContent ( long  id)
static

Return the flavour content of the given particle.

The flavours will be given in decreasing mass with flavour before anti-flavour.

static vector<long> ThePEG::PDT::flavourContent ( tcPDPtr  )
static

Return the flavour content of the given particle.

The flavours will be given in decreasing mass with flavour before anti-flavour.

static vector<long> ThePEG::PDT::flavourContent ( tcPPtr  )
static

Return the flavour content of the given particle.

The flavours will be given in decreasing mass with flavour before anti-flavour.

static vector<long> ThePEG::PDT::flavourContent ( const ParticleData )
static

Return the flavour content of the given particle.

The flavours will be given in decreasing mass with flavour before anti-flavour.

static vector<long> ThePEG::PDT::flavourContent ( const Particle )
static

Return the flavour content of the given particle.

The flavours will be given in decreasing mass with flavour before anti-flavour.


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