1#ifndef SIMCORE_DETECTORCONSTRUCTION_H
2#define SIMCORE_DETECTORCONSTRUCTION_H
5#include "G4VUserDetectorConstruction.hh"
8#include "Framework/Configure/Parameters.h"
11#include "SimCore/Geo/Parser.h"
14namespace simcore::geo {
57 void ConstructSDandField();
67 std::shared_ptr<simcore::geo::Parser>
parser_;
76 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.
DetectorConstruction(std::shared_ptr< simcore::geo::Parser > parser, framework::config::Parameters ¶meters, ConditionsInterface &ci)
Constructor.
G4VPhysicalVolume * Construct()
Construct the detector.
std::string getDetectorName()
std::shared_ptr< simcore::geo::Parser > parser_
The parser used to load the detector into memory.
virtual ~DetectorConstruction()=default
Class destructor.
simcore::ConditionsInterface & conditions_interface_
interface to conditions to be passed to SDs
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...