7 #include "G4RunManagerKernel.hh"
8 #include "G4PVPlacement.hh"
17 std::auto_ptr<DDG4Builder> theBuilder(
new DDG4Builder(cpv, check));
21 G4VPhysicalVolume * pv =
22 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
DDDWorld(const DDCompactView *, G4LogicalVolumeToDDLogicalPartMap &, SensitiveDetectorCatalog &, bool check=false)
SensitiveDetectorCatalog sdCatalog() const
static void check(Principal const &p, std::string const &id)
G4LogicalVolumeToDDLogicalPartMap lvToDDLPMap() const