G4DarkBreM
v2.1.0
Geant4 Dark Bremmstrahlung from MadGraph
|
the primary generator, a simple particle gun restricted to electrons or muons along the z axis More...
Public Member Functions | |
LeptonBeam (double e, bool muons) | |
Configure the beam to be of the input energy and lepton. More... | |
void | GeneratePrimaries (G4Event *event) final override |
Start an event by providing primaries. More... | |
Private Attributes | |
G4ParticleGun | gun_ |
the gun we use for the beam | |
the primary generator, a simple particle gun restricted to electrons or muons along the z axis
|
inline |
Configure the beam to be of the input energy and lepton.
Shoot along the z axis, the energy is in GeV and we shoot from the origin.
|
inlinefinaloverride |
Start an event by providing primaries.
We also construct the OutgoingKinematics structure for this event