LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ArtG4PrimaryGeneratorAction.hh
Go to the documentation of this file.
1
// ArtG4PrimaryGeneratorAction.hh provides declarations for the built-in
2
// primary generator action for the Art G4 simulation. In its main method,
3
// GeneratePrimaries, it gets the collection of all action objects registered
4
// for the run and calls their GeneratePrimaries method.
5
6
// Authors: Tasha Arvanitis, Adam Lyon
7
// Date: July 2012
8
9
#ifndef artg4tk_geantInit_ArtG4PrimaryGeneratorAction_hh
10
#define artg4tk_geantInit_ArtG4PrimaryGeneratorAction_hh
11
12
#include "Geant4/G4VUserPrimaryGeneratorAction.hh"
13
14
namespace
artg4tk
{
15
16
class
ActionHolderService;
17
18
class
ArtG4PrimaryGeneratorAction
:
public
G4VUserPrimaryGeneratorAction {
19
public
:
20
explicit
ArtG4PrimaryGeneratorAction
(
ActionHolderService
* actionHolder);
21
22
private
:
23
// Create the primary particles for the event. Called after a G4Event has
24
// been created but not fully initialized.
25
void
GeneratePrimaries
(G4Event* anEvent)
override
;
26
27
ActionHolderService
*
actionHolder_
;
28
};
29
30
}
31
#endif
/* artg4tk_geantInit_ArtG4PrimaryGeneratorAction_hh */
artg4tk::ArtG4PrimaryGeneratorAction::actionHolder_
ActionHolderService * actionHolder_
Definition:
ArtG4PrimaryGeneratorAction.hh:27
artg4tk::ActionHolderService
Definition:
ActionHolder_service.hh:46
artg4tk::ArtG4PrimaryGeneratorAction::GeneratePrimaries
void GeneratePrimaries(G4Event *anEvent) override
Definition:
ArtG4PrimaryGeneratorAction.cc:9
artg4tk
Definition:
ActionBase.hh:12
artg4tk::ArtG4PrimaryGeneratorAction
Definition:
ArtG4PrimaryGeneratorAction.hh:18
artg4tk::ArtG4PrimaryGeneratorAction::ArtG4PrimaryGeneratorAction
ArtG4PrimaryGeneratorAction(ActionHolderService *actionHolder)
Definition:
ArtG4PrimaryGeneratorAction.cc:4
artg4tk
v12_00_03
source
artg4tk
geantInit
ArtG4PrimaryGeneratorAction.hh
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11