3 #include "G4ParticleTable.hh"
4 #include "CLHEP/Units/PhysicalConstants.h"
7 : G4ParticleDefinition(
8 aName,
mass, 0.0,
CLHEP::eplus * eCharge, 0, 0, 0, 0, 0, 0,
"boson", 0, 0, pdgEncoding,
true, -1.0, nullptr) {
9 magCharge = CLHEP::eplus * G4double(mCharge) * 0.5 / CLHEP::fine_structure_const;
12 <<
" Qel= " << GetPDGCharge() / CLHEP::eplus <<
" Qmag= " <<
magCharge / CLHEP::eplus
13 <<
" PDG encoding = " << pdgEncoding;