1#include "SimCore/Geo/GDMLParser.h"
10 parser_ = std::make_unique<G4GDMLParser>();
13 std::make_unique<simcore::geo::AuxInfoReader>(
parser_.get(), parameters);
17 return parser_->GetWorldVolume();
22 info_->readGlobalAuxInfo();
23 info_->assignAuxInfoToVolumes();
Class encapsulating parameters for configuring a processor.
const T & get(const std::string &name) const
Retrieve the parameter of the given name.
Handle to the conditions system, provided at construction to classes which require it.
Parse GDML files, build the geometry in memory and load it into Geant4.
bool validate_
should we take the time to validate
GDMLParser(framework::config::Parameters ¶meters, simcore::ConditionsInterface &ci)
Default constructor.
G4VPhysicalVolume * getWorldVolume() override
Retrieve the G4VPhysicalVolume associated with the most top-level (world) volume.
std::unique_ptr< simcore::geo::AuxInfoReader > info_
The auxiliary info reader.
std::string detector_name_
The name of the parsed detector.
std::string detector_
path to the detector GDML
void read() override
Parse the detector geometry and read it into memory.
std::unique_ptr< G4GDMLParser > parser_
The GDML parser.
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...