BLUserCode.hh File Reference

#include <vector>
#include "globals.hh"
#include "G4ThreeVector.hh"
#include "G4Track.hh"

Go to the source code of this file.

Classes

class  BLUserCode
 class BLUserCode is a base class for a user-defined classes. More...
class  BLUserTrackFilter
 class BLUserTrackFilter -- used by BLCMDusertrackfilter. More...

Variables

const int ELECTRON = 11
 Particle IDs for stable particles.
const int MUON = 13
const int PION = 211
const int KAON = 321
const int KAON0 = 311
const int NEUTRON = 2112
const int PROTON = 2212
const int NU_E = 12
const int NU_MU = 14
const int NU_TAU = 16
const int GAMMA = 22


Variable Documentation

const int ELECTRON = 11

Particle IDs for stable particles.

Use negative for anti-particle. ELECTRON and MUON are negative particles; PION, KAON, and PROTON are positive particles; KAON0, NEUTRON, and NU_* are neutrals. There are many other PDGid-s, listed in the Geant4 and G4beamline documentation; these are just the most common ones.

const int MUON = 13

const int PION = 211

const int KAON = 321

const int KAON0 = 311

const int NEUTRON = 2112

const int PROTON = 2212

const int NU_E = 12

const int NU_MU = 14

const int NU_TAU = 16

const int GAMMA = 22

g4beamline