7#ifndef SIMCORE_RUNMANAGER_H
8#define SIMCORE_RUNMANAGER_H
18#include "G4PhysListFactory.hh"
19#include "G4RunManager.hh"
24#include "Framework/Configure/Parameters.h"
25#include "Framework/Logger.h"
30class DetectorConstruction;
31class UserActionManager;
33class ConditionsInterface;
110 enableLogging(
"RunManager")
Class encapsulating parameters for configuring a processor.
Handle to the conditions system, provided at construction to classes which require it.
Implements the Geant4 detector construction.
Extension of Geant4 run manager.
std::string parallel_world_path_
Path to GDML description of parallel world.
bool use_root_seed_
Should we use random seed from root file?
framework::config::Parameters parameters_
The set of parameters used to configure the RunManager.
void TerminateOneEvent()
Called at the end of each event.
virtual ~RunManager()=default
Class destructor.
void setupPhysics()
Initialize physics.
void setUseRootSeed(bool useIt=true)
Tell RunManager to use the seed from the root file.
bool is_pw_enabled_
Flag indicating whether a parallel world should be registered.
bool useRootSeed()
Should we use the seed from the root file?
void Initialize()
Perform application initialization.
DetectorConstruction * getDetectorConstruction()
Get the user detector construction cast to a specific type.
G4PhysListFactory physics_list_factory_
Factory class for instantiating the physics list.
RunManager(framework::config::Parameters ¶meters, ConditionsInterface &)
Class constructor.
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...