8#ifndef _SIMCORE_SIMULATOR_H_
9#define _SIMCORE_SIMULATOR_H_
22#include "Framework/Configure/Parameters.h"
24#include "SimCore/ConditionsInterface.h"
25#include "SimCore/DetectorConstruction.h"
27#include "SimCore/SimulatorBase.h"
34class G4CascadeParameters;
109 void setSeeds(std::vector<int> seeds);
Base classes for all user event processing components to extend.
Class providing a Geant4 run manager implementation.
Implements an event buffer system for storing event data.
Class which represents the process under execution.
Class encapsulating parameters for configuring a processor.
Producer that runs Geant4 simulation inside of ldmx-app.
void configure(framework::config::Parameters ¶meters) override
Callback for the processor to configure itself from the given set of parameters.
void beforeNewRun(ldmx::RunHeader &header) override
Given a non-const reference to the new RunHeader, we can add parameters from the simulation here befo...
void setSeeds(std::vector< int > seeds)
Set the seeds to be used by the Geant4 random engine.
void onNewRun(const ldmx::RunHeader &header) override
Before the run starts (but after the conditions are configured) set up the random seeds for this run.
int numEventsBegan_
Number of events started.
virtual void produce(framework::Event &event) override
Run simulation and export results to output event.
int numEventsCompleted_
Number of events completed.
void onProcessEnd() override
Callback called once processing is complete.
virtual ~Simulator()=default
Destructor.
int run_
the run number (for accessing the run header in onFileClose