10 #include "DDG4/Geant4Converter.h" 11 #include "DDG4/Geant4GeometryInfo.h" 12 #include "DDG4/Geant4Mapping.h" 13 #include "DD4hep/Detector.h" 14 #include "DD4hep/Printout.h" 17 #include "G4PVPlacement.hh" 29 LogVerbatim(
"SimG4CoreApplication") <<
"+++ DDDWorld: initialisation of Geant4 geometry";
30 if (
nullptr != pDD4hep) {
33 dd4hep::sim::Geant4GeometryMaps::VolumeMap lvMap;
37 LogVerbatim(
"SimG4CoreApplication") <<
"DDDWorld: DD4hep worldLV: " << m_world->GetName();
48 LogVerbatim(
"SimG4CoreApplication") <<
"DDDWorld: DDD worldLV: " << world->GetName();
49 m_world =
new G4PVPlacement(
nullptr, G4ThreeVector(), world,
"DDDWorld",
nullptr,
false, 0);
54 LogVerbatim(
"SimG4CoreApplication") <<
"DDDWorld: initialisation of Geant4 geometry is done.";
61 LogVerbatim(
"SimG4CoreApplication") <<
"DDDWorld: initialization of Geant4 geometry";
66 m_world =
new G4PVPlacement(
nullptr, G4ThreeVector(), world,
"DDDWorld",
nullptr,
false, 0);
67 LogVerbatim(
"SimG4CoreApplication") <<
"DDDWorld: initialization of Geant4 geometry is done.";
Log< level::Info, true > LogVerbatim
G4LogicalVolume * BuildGeometry(SensitiveDetectorCatalog &)
const cms::DDDetector * detector() const
Compact representation of the geometrical detector hierarchy.
DDDWorld(const DDCompactView *pDD, const cms::DDCompactView *pDD4hep, SensitiveDetectorCatalog &, int verb, bool cuts, bool pcut)
G4VPhysicalVolume * BuildGeometry(SensitiveDetectorCatalog &)
static void check(T const &p, std::string const &id, SelectedProducts const &iProducts, bool iVerbose)
dd4hep::SpecParRegistry const & specpars() const