actions
Loading...
Searching...
No Matches
gRun.cc
Go to the documentation of this file.
1// geant4
2#include "G4Event.hh"
3
4// gemc
5#include "gRun.h"
6
7
8// Constructor: initializes the thread-local run object and stores shared services.
9GRun::GRun(std::shared_ptr<GOptions> gopt, std::shared_ptr<gdynamicdigitization::dRoutinesMap> digi_map) :
10 GBase(gopt, GRUN_LOGGER),
11 digitization_routines_map(digi_map) {
12 auto desc = "GRun " + std::to_string(G4Threading::G4GetThreadId());
14}
std::shared_ptr< GLogger > log
void debug(debug_type type, Args &&... args) const
GRun(std::shared_ptr< GOptions > gopts, std::shared_ptr< gdynamicdigitization::dRoutinesMap > digi_map)
Constructs the run object for the current thread.
Definition gRun.cc:9
Declares GRun, the per-thread run container.
constexpr const char * GRUN_LOGGER
Definition gRun.h:17
#define FUNCTION_NAME
CONSTRUCTOR