7 #include "G4RunManagerKernel.hh"
8 #include "G4PVPlacement.hh"
17 std::auto_ptr<DDG4Builder> theBuilder(
new DDG4Builder(cpv, check));
22 m_world =
new G4PVPlacement(0,G4ThreeVector(),world,
"DDDWorld",0,
false,0);
31 G4RunManagerKernel * kernel = G4RunManagerKernel::GetRunManagerKernel();
32 if (kernel != 0) kernel->DefineWorldVolume(pv);
33 edm::LogInfo(
"SimG4CoreGeometry") <<
" World volume defined ";
void SetAsWorld(G4VPhysicalVolume *pv)
type of data representation of DDCompactView
G4LogicalVolume * logicalVolume() const
static void check(Principal const &p, std::string const &id, edm::ModuleCallingContext const *mcc)
DDDWorld(const DDCompactView *, G4LogicalVolumeToDDLogicalPartMap &, SensitiveDetectorCatalog &, bool check=false)
SensitiveDetectorCatalog sdCatalog() const
G4LogicalVolumeToDDLogicalPartMap lvToDDLPMap() const