cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
python.Config.PDG_cfi Namespace Reference

Functions

 registerParticle (int pdgid, str name, float mass=0., float width=0., int charge=0, int colour=1, bool fermion=False)
 Define a new particle type into the PDG library.
 

Variables

 PDG
 Named list of PDG identifiers.
 

Function Documentation

◆ registerParticle()

registerParticle ( int  pdgid,
str  name,
float  mass = 0.,
float  width = 0.,
int  charge = 0,
int  colour = 1,
bool  fermion = False 
)
Parameters
pdgidInteger-type PDG identifier
nameComputer-safe (and preferably human-readable) particle name
massParticle on-shell mass (in GeV/c^2)
widthDecay width (in GeV)
chargeParticle electric charge (in e)
colourColour charge
fermionIs the particle following the fermion statistics?

Definition at line 37 of file PDG_cfi.py.

Variable Documentation

◆ PDG

PDG
Initial value:
1= Parameters(
2 down = Parameters(pdgid = 1),
3 up = Parameters(pdgid = 2),
4 strange = Parameters(pdgid = 3),
5 charm = Parameters(pdgid = 4),
6 bottom = Parameters(pdgid = 5),
7 top = Parameters(pdgid = 6),
8 electron = Parameters(pdgid = 11),
9 positron = Parameters(pdgid = 11),
10 muon = Parameters(pdgid = 13),
11 tau = Parameters(pdgid = 15),
12 gluon = Parameters(pdgid = 21),
13 photon = Parameters(pdgid = 22),
14 Z = Parameters(pdgid = 23),
15 W = Parameters(pdgid = 24),
16 proton = Parameters(pdgid = 2212),
17 neutron = Parameters(pdgid = 2112),
18)
Note
Minimal information required is the pdgid (unsigned int) attribute

Definition at line 10 of file PDG_cfi.py.