9#ifndef DETECTORCONSTRUCTION_H
10#define DETECTORCONSTRUCTION_H
12#include <framework/logging/Logger.h>
13#include <geometry/GeometryManager.h>
14#include "G4VUserDetectorConstruction.hh"
34 if (!topVolume) B2FATAL(
"No Geometry defined, please create the geometry"
35 " before doing simulation, normally by using the Geometry module.");
Class responsible to connect to geometry to simulation.
G4VPhysicalVolume * Construct()
Return pointer to top volume.
G4VPhysicalVolume * getTopVolume()
Return a pointer to the top volume.
static GeometryManager & getInstance()
Return a reference to the instance.
Abstract base class for different kinds of events.