|
G4DarkBreM v2.2.2
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. | |
| void | GeneratePrimaries (G4Event *event) final override |
| Start an event by providing primaries. | |
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