Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.1 1999-01-07 16:05:40 gunter Exp $
|
||||
# $Id: GNUmakefile 68059 2013-03-13 14:49:02Z gcosmo $
|
||||
# --------------------------------------------------------------
|
||||
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
||||
# --------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: ExG4DetectorConstruction01Messenger.hh 68059 2013-03-13 14:49:02Z gcosmo $
|
||||
//
|
||||
/// \file ExG4DetectorConstruction01Messenger.hh
|
||||
/// \brief Definition of the ExG4DetectorConstruction01Messenger class
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: ExG4DetectorConstruction02Messenger.hh 68059 2013-03-13 14:49:02Z gcosmo $
|
||||
//
|
||||
/// \file ExG4DetectorConstruction02Messenger.hh
|
||||
/// \brief Definition of the ExG4DetectorConstruction02Messenger class
|
||||
|
||||
@@ -65,10 +65,8 @@ G4VPhysicalVolume* ExG4DetectorConstruction01::Construct()
|
||||
//
|
||||
G4NistManager* nistManager = G4NistManager::Instance();
|
||||
|
||||
G4bool fromIsotopes = false;
|
||||
|
||||
G4Material* material
|
||||
= nistManager->FindOrBuildMaterial(fMaterialName, fromIsotopes);
|
||||
= nistManager->FindOrBuildMaterial(fMaterialName);
|
||||
|
||||
// World
|
||||
//
|
||||
@@ -102,10 +100,9 @@ G4VPhysicalVolume* ExG4DetectorConstruction01::Construct()
|
||||
void ExG4DetectorConstruction01::SetMaterial(const G4String& materialName)
|
||||
{
|
||||
G4NistManager* nistManager = G4NistManager::Instance();
|
||||
G4bool fromIsotopes = false;
|
||||
|
||||
G4Material* newMaterial
|
||||
= nistManager->FindOrBuildMaterial(materialName, fromIsotopes);
|
||||
= nistManager->FindOrBuildMaterial(materialName);
|
||||
|
||||
if ( ! newMaterial ) {
|
||||
G4cerr << "Material " << materialName << " not found." << G4endl;
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: ExG4DetectorConstruction01Messenger.cc 68059 2013-03-13 14:49:02Z gcosmo $
|
||||
//
|
||||
/// \file ExG4DetectorConstruction01Messenger.cc
|
||||
/// \brief Implementation of the ExG4DetectorConstruction01Messenger class
|
||||
|
||||
@@ -70,13 +70,11 @@ G4VPhysicalVolume* ExG4DetectorConstruction02::Construct()
|
||||
//
|
||||
G4NistManager* nistManager = G4NistManager::Instance();
|
||||
|
||||
G4bool fromIsotopes = false;
|
||||
|
||||
G4Material* worldMaterial
|
||||
= nistManager->FindOrBuildMaterial(fWorldMaterialName, fromIsotopes);
|
||||
= nistManager->FindOrBuildMaterial(fWorldMaterialName);
|
||||
|
||||
G4Material* boxMaterial
|
||||
= nistManager->FindOrBuildMaterial(fBoxMaterialName, fromIsotopes);
|
||||
= nistManager->FindOrBuildMaterial(fBoxMaterialName);
|
||||
|
||||
// Geometry parameters
|
||||
//
|
||||
@@ -136,10 +134,9 @@ G4VPhysicalVolume* ExG4DetectorConstruction02::Construct()
|
||||
void ExG4DetectorConstruction02::SetBoxMaterial(const G4String& materialName)
|
||||
{
|
||||
G4NistManager* nistManager = G4NistManager::Instance();
|
||||
G4bool fromIsotopes = false;
|
||||
|
||||
G4Material* newMaterial
|
||||
= nistManager->FindOrBuildMaterial(materialName, fromIsotopes);
|
||||
= nistManager->FindOrBuildMaterial(materialName);
|
||||
|
||||
if ( ! newMaterial ) {
|
||||
G4cerr << "Material " << materialName << " not found." << G4endl;
|
||||
@@ -156,10 +153,9 @@ void ExG4DetectorConstruction02::SetBoxMaterial(const G4String& materialName)
|
||||
void ExG4DetectorConstruction02::SetWorldMaterial(const G4String& materialName)
|
||||
{
|
||||
G4NistManager* nistManager = G4NistManager::Instance();
|
||||
G4bool fromIsotopes = false;
|
||||
|
||||
G4Material* newMaterial
|
||||
= nistManager->FindOrBuildMaterial(materialName, fromIsotopes);
|
||||
= nistManager->FindOrBuildMaterial(materialName);
|
||||
|
||||
if ( ! newMaterial ) {
|
||||
G4cerr << "Material " << materialName << " not found." << G4endl;
|
||||
|
||||
Reference in New Issue
Block a user