1#ifndef SIMCORE_DETECTORCONSTRUCTION_H
2#define SIMCORE_DETECTORCONSTRUCTION_H
5#include "G4LogicalVolume.hh"
6#include "G4LogicalVolumeStore.hh"
7#include "G4VUserDetectorConstruction.hh"
10#include "Framework/Configure/Parameters.h"
13#include "SimCore/Geo/Parser.h"
16namespace simcore::geo {
59 void ConstructSDandField();
78 enableLogging(
"DetectorConstruction")
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.
framework::config::Parameters parameters_
The set of parameters used to configure this class.
G4VPhysicalVolume * Construct()
Construct the detector.
std::string getDetectorName()
virtual ~DetectorConstruction()=default
Class destructor.
simcore::geo::Parser * parser_
The parser used to load the detector into memory.
simcore::ConditionsInterface & conditions_interface_
interface to conditions to be passed to SDs
Interface for a parser used to load a geometry into Geant4.
virtual std::string getDetectorName()=0
Get the name of the parsed detector.