cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.3
A generic central exclusive processes event generator
Loading...
Searching...
No Matches

A class-in-the-middle PDG identifier for printout operations. More...

#include <CepGen/Physics/PDG.h>

Public Member Functions

 Id (pdgid_t pdgid)
 Construct an object from a PDG identifier.
 
 operator pdgid_t () const
 Recasting operator to get back the pdgid_t number.
 

Friends

std::ostream & operator<< (std::ostream &, const Id &)
 Human-readable PDG name.
 

Detailed Description

Definition at line 55 of file PDG.h.

Constructor & Destructor Documentation

◆ Id()

Id ( pdgid_t  pdgid)

Definition at line 57 of file PDG.h.

Member Function Documentation

◆ operator pdgid_t()

operator pdgid_t ( ) const

Definition at line 58 of file PDG.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Id pdg 
)
friend

Definition at line 27 of file PDG.cpp.