Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -225,7 +225,7 @@ G4VPhysicalVolume* G4HumanPhantomConstruction::ConstructWorld()
G4VisAttributes* WorldVisAtt = new G4VisAttributes(G4Colour(0.94,0.5,0.5));
WorldVisAtt->SetForceSolid(false);
logicWorld->SetVisAttributes(G4VisAttributes::Invisible);
logicWorld->SetVisAttributes(G4VisAttributes::GetInvisible());
return motherVolume;
}
@@ -282,7 +282,7 @@ void G4HumanPhantomConstruction::SetPhantomModel(G4String newModel)
void G4HumanPhantomConstruction::ConstructSDandField()
{
G4HumanPhantomSD* SD = new G4HumanPhantomSD("SD", "HumanPhantomCollection");
G4SDManager::GetSDMpointer()->AddNewDetector(SD);
if (model != "ORNLMale" && model != "ORNLFemale" && model!= "ORNLHead")
{
SetSensitiveDetector("logicalHead",SD);