7#ifndef SIMCORE_RUNMANAGER_H
8#define SIMCORE_RUNMANAGER_H
20#include "G4PhysListFactory.hh"
21#include "G4RunManager.hh"
26#include "Framework/Configure/Parameters.h"
27#include "SimCore/KaonPhysics.h"
32class DetectorConstruction;
33class UserActionManager;
35class ConditionsInterface;
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.
bool useRootSeed_
Should we use random seed from root file?
std::string parallelWorldPath_
Path to GDML description of parallel world.
framework::config::Parameters parameters_
The set of parameters used to configure the RunManager.
bool isPWEnabled_
Flag indicating whether a parallel world should be registered.
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 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 physicsListFactory_
Factory class for instantiating the physics list.