Introduction to GEANT4
From UCL HEP PBT Wiki
m |
|||
| Line 113: | Line 113: | ||
G4LogicalVolume* pBoxLog = new G4LogicalVolume( pBoxSolid, water, “WaterBox”); | G4LogicalVolume* pBoxLog = new G4LogicalVolume( pBoxSolid, water, “WaterBox”); | ||
| - | G4VPhysicalVolume* aBoxPhys = new G4PVPlacement( pRotation, G4ThreeVector(posX, posY, posZ), pBoxLog, “WaterBox”, pWorldLog, false, copyNo); ... } | + | G4VPhysicalVolume* aBoxPhys = new G4PVPlacement( pRotation, G4ThreeVector(posX, posY, posZ), pBoxLog, |
| + | |||
| + | “WaterBox”, pWorldLog, false, copyNo); ... } | ||
</pre> | </pre> | ||