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.
T getParameter(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.
bool validate_
should we take the time to validate
GDMLParser(framework::config::Parameters ¶meters, simcore::ConditionsInterface &ci)
Default constructor.
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
G4VPhysicalVolume * GetWorldVolume() override
Retrieve the G4VPhysicalVolume associated with the most top-level (world) volume.
void read() override
Parse the detector geometry and read it into memory.
std::unique_ptr< G4GDMLParser > parser_
The GDML parser.