LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Convert MCTruth to G4Event; Geant4 event generator. More...
#include "Geant4/G4VUserPrimaryGeneratorAction.hh"
#include "Geant4/G4ParticleTable.hh"
#include "Geant4/globals.hh"
#include "canvas/Persistency/Common/Ptr.h"
#include "canvas/Persistency/Common/PtrVector.h"
Go to the source code of this file.
Classes | |
class | g4b::ConvertMCTruthToG4 |
Namespaces | |
simb | |
ART objects. | |
g4b | |
basic interface to Geant4 for ART-based software | |
Convert MCTruth to G4Event; Geant4 event generator.
Every Geant4 simulation has to have some event generator object, even if it's the default ParticleGun. This class is the event generator for G4Base. It accepts a set of simb::MCTruth objects associated with one event, converts them to Geant4's G4Event format, and makes that information available to the G4 simulation when it requests it.
Definition in file ConvertMCTruthToG4.h.