#include <SyncPrimaryGeneratorAction.h>
◆ SyncPrimaryGeneratorAction()
| G4UA::SyncPrimaryGeneratorAction::SyncPrimaryGeneratorAction |
( |
IG4RunTool * | g4RunTool | ) |
|
◆ GeneratePrimaries()
| void G4UA::SyncPrimaryGeneratorAction::GeneratePrimaries |
( |
G4Event * | anEvent | ) |
|
|
overridevirtual |
Definition at line 23 of file SyncPrimaryGeneratorAction.cxx.
24{
25
27
28 G4Random::setTheEngine(inputEventInfo->HepRandomEngine());
29
30 if(inputEventInfo->EventFactory()(*anEvent, std::move(inputEventInfo)).isFailure()) {
31 G4cout << "Failed to prepare G4Event from Athena event" << G4endl;
32 }
33 }
34
35
36
37}
◆ m_g4RunTool
| IG4RunTool* G4UA::SyncPrimaryGeneratorAction::m_g4RunTool {} |
|
private |
The documentation for this class was generated from the following files: