9#ifndef SIMCORE_LHEPRIMARYGENERATOR_H
10#define SIMCORE_LHEPRIMARYGENERATOR_H
13#include "Framework/Configure/Parameters.h"
14#include "Framework/Exception/Exception.h"
21#include "G4IonTable.hh"
22#include "G4PhysicalConstants.hh"
23#include "G4RunManager.hh"
24#include "G4SystemOfUnits.hh"
80 enableLogging(
"LHEPrimaryGenerator")
Class for reading LHE event data.
Header file for PrimaryGenerator.
Class that provides extra information for Geant4 primary particles.
Class encapsulating parameters for configuring a processor.
Interface that defines a simulation primary generator.
Generates a Geant4 event from an LHEEvent.
LHEPrimaryGenerator(const std::string &name, const framework::config::Parameters ¶meters)
Class constructor.
std::vector< double > vertex_
The vertex offset to apply to the LHE event vertex.
void RecordConfig(const std::string &id, ldmx::RunHeader &rh) override
Record configuration information.
lhe::LHEReader reader_
The LHE reader with the event data.
void GeneratePrimaryVertex(G4Event *anEvent) override
Generate vertices in the Geant4 event.
std::string file_path_
The file path to the LHE file.
virtual ~LHEPrimaryGenerator()=default
Class destructor.
Reads LHE event data into an LHEEvent object.
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...