Celeritas 0.7.0-dev.79+develop.b3dc2e108
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::PGPrimaryGeneratorAction Class Referencefinal

Generate events from a particle gun. More...

#include <PGPrimaryGeneratorAction.hh>

Inheritance diagram for celeritas::PGPrimaryGeneratorAction:
Inheritance graph
[legend]

Public Types

Type aliases
using Input = inp::CorePrimaryGenerator
 

Public Member Functions

 PGPrimaryGeneratorAction (Input const &opts)
 Construct primary action.
 
void GeneratePrimaries (G4Event *event) final
 Generate primaries from a particle gun.
 

Detailed Description

Generate events from a particle gun.

This generates primary particles with energy, position, and direction sampled from distributions specified by the user in PrimaryGeneratorOptions.

See also
PrimaryGenerator

The documentation for this class was generated from the following files: