Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
$Id: History 88764 2015-03-09 12:28:01Z gcosmo $
$Id: History 97053 2016-05-23 12:03:28Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -18,6 +18,12 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
May 23, 2016, G. Cosmo tag human_phantom-V10-02-01
- More compilation warnings in gcc-6.1 fixed...
May 19, 2016, G. Cosmo tag human_phantom-V10-02-00
- Fixed compilation warning on gcc-6.1 in G4CustomFemalBuilder.
Mar 7, 2015, A. Dotti tag human_phantom-V10-01-01
- Fixing compilaiton warning from previous tag on clang35
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Geant4 version Name: geant4-10-03-beta-01 (30-June-2016)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -37,16 +37,18 @@ Registering model factories...
You have successfully registered the following model factories.
Registered model factories:
generic
drawByCharge
drawByParticleID
drawByOriginVolume
drawByAttribute
drawByCharge
drawByOriginVolume
drawByParticleID
drawByTouchedVolume
Registered filter factories:
chargeFilter
particleFilter
originVolumeFilter
attributeFilter
chargeFilter
originVolumeFilter
particleFilter
touchedVolumeFilter
You have successfully registered the following user vis actions.
Run Duration User Vis Actions: none
@@ -80,19 +82,19 @@ MotherVolume: physicalWorld
sensitivity : 0
Construct Head with mother physicalWorld
Checking overlaps for volume physicalHead ... OK!
Volume of Head = 4651.91 cm^3
Volume of Head = 4657.41 cm^3
Material of Head = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of Head = 4590.97 g
Mass of Head = 4596.39 g
MotherVolume: physicalHead
sensitivity : 0
Construct Skull with mother volume physicalHead
Checking overlaps for volume physicalSkull ... OK!
Skull created !!!!!!
Volume of Skull = 843.246 cm^3
Volume of Skull = 847.905 cm^3
Material of Skull = skeleton
Density of Material = 1.4862 g/cm^3
Mass of Skull = 1253.23 g
Mass of Skull = 1260.16 g
Construct Brain with mother physicalHead
Checking overlaps for volume physicalBrain ... OK!
Volume of Brain = 1470.27 cm^3
@@ -104,10 +106,10 @@ sensitivity : 0
Construct Trunk with mother volume physicalWorld
Checking overlaps for volume physicalTrunk ... OK!
Trunk created !!!!!!
Volume of Trunk = 43960.6 cm^3
Volume of Trunk = 43976.3 cm^3
Material of Trunk = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of Trunk = 43384.7 g
Mass of Trunk = 43400.2 g
MotherVolume: physicalWorld
sensitivity : 0
Construct LeftLeg with mother volume physicalWorld
@@ -131,7 +133,7 @@ sensitivity : 0
Construct LeftArmBone with mother physicalTrunk
Checking overlaps for volume physicalLeftArmBone ... OK!
LeftArmBone created !!!!!!
Volume of LeftArmBone = 819.271 cm^3
Volume of LeftArmBone = 819.272 cm^3
Material of LeftArmBone = skeleton
Density of Material = 1.4862 g/cm^3
Mass of LeftArmBone = 1217.6 g
@@ -167,28 +169,28 @@ sensitivity : 0
Construct UpperSpine with mother volume physicalHead
Checking overlaps for volume physicalUpperSpine ... OK!
UpperSpine created !!!!!!
Volume of UpperSpine = 126.456 cm^3
Volume of UpperSpine = 126.458 cm^3
Material of UpperSpine = skeleton
Density of Material = 1.4862 g/cm^3
Mass of UpperSpine = 187.938 g
Mass of UpperSpine = 187.942 g
MotherVolume: physicalTrunk
sensitivity : 0
Construct LeftScapula with mother volume physicalTrunk
Checking overlaps for volume physicalLeftScapula ... OK!
LeftScapula created !!!!!!
Volume of LeftScapula = 101.683 cm^3
Volume of LeftScapula = 100.812 cm^3
Material of LeftScapula = skeleton
Density of Material = 1.4862 g/cm^3
Mass of LeftScapula = 151.121 g
Mass of LeftScapula = 149.826 g
MotherVolume: physicalTrunk
sensitivity : 0
Construct RightScapula with mother volume physicalTrunk
Checking overlaps for volume physicalRightScapula ... OK!
RightScapula created !!!!!!
Volume of RightScapula = 100.468 cm^3
Volume of RightScapula = 103.388 cm^3
Material of RightScapula = skeleton
Density of Material = 1.4862 g/cm^3
Mass of RightScapula = 149.315 g
Mass of RightScapula = 153.656 g
Construct LeftAdrenal with mother physicalTrunk
Checking overlaps for volume physicalLeftAdrenal ... OK!
Left LeftAdrenal created !!!!!!
@@ -231,10 +233,10 @@ Mass of RightClavicle = 20.3099 g
Construct SmallIntestine with mother volume physicalTrunk
Checking overlaps for volume physicalSmallIntestine ... OK!
SmallIntestine created !!!!!!
Volume of SmallIntestine = 1020.98 cm^3
Volume of SmallIntestine = 1019.35 cm^3
Material of SmallIntestine = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of SmallIntestine = 1007.61 g
Mass of SmallIntestine = 1006 g
Construct RibCage with mother volume physicalTrunk
Checking overlaps for volume physicalRibCage ... OK!
Checking overlaps for volume physicalRib ... OK!
@@ -250,26 +252,26 @@ Checking overlaps for volume physicalRib ... OK!
Checking overlaps for volume physicalRib ... OK!
Checking overlaps for volume physicalRib ... OK!
RibCage created !!!!!!
Volume of RibCage = 693.291 cm^3
Volume of RibCage = 693.348 cm^3
Material of RibCage = skeleton
Density of Material = 1.4862 g/cm^3
Mass of RibCage = 1030.37 g
Mass of RibCage = 1030.45 g
MotherVolume: physicalTrunk
sensitivity : 0
Construct MiddleLowerSpine with mother volume physicalTrunk
Checking overlaps for volume physicalMiddleLowerSpine ... OK!
MiddleLowerSpine created !!!!!!
Volume of MiddleLowerSpine = 753.8 cm^3
Volume of MiddleLowerSpine = 753.626 cm^3
Material of MiddleLowerSpine = skeleton
Density of Material = 1.4862 g/cm^3
Mass of MiddleLowerSpine = 1120.3 g
Mass of MiddleLowerSpine = 1120.04 g
Construct Pelvis with mother volume physicalTrunk
Checking overlaps for volume physicalPelvis ... OK!
Pelvis created !!!!!!
Volume of Pelvis = 603.174 cm^3
Volume of Pelvis = 608.584 cm^3
Material of Pelvis = skeleton
Density of Material = 1.4862 g/cm^3
Mass of Pelvis = 896.437 g
Mass of Pelvis = 904.478 g
Construct Stomach with mother volume physicalTrunk
Checking overlaps for volume physicalStomach ... OK!
Stomach created !!!!!!
@@ -280,17 +282,17 @@ Mass of Stomach = 396.856 g
Construct UpperLargeIntestine with mother volume physicalTrunk
Checking overlaps for volume physicalUpperLargeIntestine ... OK!
UpperLargeIntestine created !!!!!!
Volume of UpperLargeIntestine = 435.511 cm^3
Volume of UpperLargeIntestine = 433.802 cm^3
Material of UpperLargeIntestine = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of UpperLargeIntestine = 429.805 g
Mass of UpperLargeIntestine = 428.119 g
Construct LowerLargeIntestine with mother volume physicalTrunk
Checking overlaps for volume physicalLowerLargeIntestine ... OK!
LowerLargeIntestine created !!!!!!
Volume of LowerLargeIntestine = 344.779 cm^3
Volume of LowerLargeIntestine = 344.258 cm^3
Material of LowerLargeIntestine = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of LowerLargeIntestine = 340.262 g
Mass of LowerLargeIntestine = 339.748 g
Construct Spleen with mother volume physicalTrunk
Checking overlaps for volume physicalSpleen ... OK!
Spleen created !!!!!!
@@ -301,40 +303,40 @@ Mass of Spleen = 173.625 g
Construct Pancreas with mother volume physicalTrunk
Checking overlaps for volume physicalPancreas ... OK!
Pancreas created !!!!!!
Volume of Pancreas = 61.0002 cm^3
Volume of Pancreas = 60.9478 cm^3
Material of Pancreas = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of Pancreas = 60.2011 g
Mass of Pancreas = 60.1494 g
Construct LeftKidney with mother volume physicalTrunk
Checking overlaps for volume physicalLeftKidney ... OK!
Left LeftKidney created !!!!!!
Volume of LeftKidney = 144.107 cm^3
Volume of LeftKidney = 143.922 cm^3
Material of LeftKidney = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of LeftKidney = 142.219 g
Mass of LeftKidney = 142.037 g
Construct RightKidney with mother volume physicalTrunk
Checking overlaps for volume physicalRightKidney ... OK!
RightKidney created !!!!!!
Volume of RightKidney = 143.9 cm^3
Volume of RightKidney = 144.181 cm^3
Material of RightKidney = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of RightKidney = 142.015 g
Mass of RightKidney = 142.293 g
Construct UrinaryBladder with mother volume physicalTrunk
Checking overlaps for volume physicalUrinaryBladder ... OK!
UrinaryBladder created !!!!!!
Volume of UrinaryBladder = 45.5462 cm^3
Volume of UrinaryBladder = 45.7506 cm^3
Material of UrinaryBladder = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of UrinaryBladder = 44.9496 g
Mass of UrinaryBladder = 45.1513 g
MotherVolume: physicalWorld
sensitivity : 0
Construct MaleGenitalia with mother volume physicalWorld
Checking overlaps for volume physicalMaleGenitalia ... OK!
MaleGenitalia created !!!!!!
Volume of MaleGenitalia = 229.385 cm^3
Volume of MaleGenitalia = 229.499 cm^3
Material of MaleGenitalia = soft_tissue
Density of Material = 0.9869 g/cm^3
Mass of MaleGenitalia = 226.38 g
Mass of MaleGenitalia = 226.493 g
MotherVolume: physicalWorld
sensitivity : 0
Construct LeftTeste with mother volume physicalMaleGenitalia
@@ -381,7 +383,8 @@ Mass of RightTeste = 18.5406 g
/run/beamOn 100
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
DefaultRegionForTheWorld 1 0 0
### === Ignore cuts flag: 0
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 10 TeV in 154 bins
@@ -429,6 +432,13 @@ eBrem: for e- SubType= 3
eBremSB : Emin= 0 eV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 10 TeV AngularGen2BS
ePairProd: for e- SubType= 4
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
Sampling table 21x1001 from 0.1 GeV to 10 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for e-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from 100 MeV to 10 TeV, 20 bins per decade, spline: 1
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
@@ -457,6 +467,13 @@ eBrem: for e+ SubType= 3
eBremSB : Emin= 0 eV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 10 TeV AngularGen2BS
ePairProd: for e+ SubType= 4
dE/dx and range tables from 100 eV to 10 TeV in 220 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
Sampling table 21x1001 from 0.1 GeV to 10 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 10 TeV
annihil: for e+, integral: 1 SubType= 5 BuildTable= 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 eV Emax= 10 TeV
@@ -802,31 +819,31 @@ Index : 2 used in the geometry : Yes
### Run 0 start.
Number of events = 100
Energy Total in Run:logicalBrain, ID: 0, Energy Deposition (MeV): 0
Energy Total in Run:logicalHead, ID: 1, Energy Deposition (MeV): 5.79233
Energy Total in Run:logicalHead, ID: 1, Energy Deposition (MeV): 2.16829
Energy Total in Run:logicalHeart, ID: 2, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftAdrenal, ID: 3, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftArmBone, ID: 4, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftBreast, ID: 5, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftClavicle, ID: 6, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftKidney, ID: 7, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftLeg, ID: 8, Energy Deposition (MeV): 6.4932
Energy Total in Run:logicalLeftLeg, ID: 8, Energy Deposition (MeV): 11.3888
Energy Total in Run:logicalLeftLegBone, ID: 9, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftLung, ID: 10, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftOvary, ID: 11, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftScapula, ID: 12, Energy Deposition (MeV): 0
Energy Total in Run:logicalLeftTeste, ID: 13, Energy Deposition (MeV): 0
Energy Total in Run:logicalLowerLargeIntestine, ID: 14, Energy Deposition (MeV): 0
Energy Total in Run:logicalMaleGenitalia, ID: 15, Energy Deposition (MeV): 3.84814
Energy Total in Run:logicalMaleGenitalia, ID: 15, Energy Deposition (MeV): 0
Energy Total in Run:logicalMiddleLowerSpine, ID: 16, Energy Deposition (MeV): 0
Energy Total in Run:logicalPancreas, ID: 17, Energy Deposition (MeV): 0
Energy Total in Run:logicalPelvis, ID: 18, Energy Deposition (MeV): 0
Energy Total in Run:logicalRibCage, ID: 19, Energy Deposition (MeV): 1.12601
Energy Total in Run:logicalRibCage, ID: 19, Energy Deposition (MeV): 0.286366
Energy Total in Run:logicalRightAdrenal, ID: 20, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightArmBone, ID: 21, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightBreast, ID: 22, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightClavicle, ID: 23, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightKidney, ID: 24, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightLeg, ID: 25, Energy Deposition (MeV): 8.04831
Energy Total in Run:logicalRightLeg, ID: 25, Energy Deposition (MeV): 10.3309
Energy Total in Run:logicalRightLegBone, ID: 26, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightLung, ID: 27, Energy Deposition (MeV): 0
Energy Total in Run:logicalRightOvary, ID: 28, Energy Deposition (MeV): 0
@@ -838,11 +855,11 @@ Energy Total in Run:logicalSpleen, ID: 33, Energy Deposition (MeV): 0
Energy Total in Run:logicalStomach, ID: 34, Energy Deposition (MeV): 0
Energy Total in Run:logicalThymus, ID: 35, Energy Deposition (MeV): 0
Energy Total in Run:logicalThyroid, ID: 36, Energy Deposition (MeV): 0
Energy Total in Run:logicalTrunk, ID: 37, Energy Deposition (MeV): 35.6123
Energy Total in Run:logicalTrunk, ID: 37, Energy Deposition (MeV): 27.8108
Energy Total in Run:logicalUpperLargeIntestine, ID: 38, Energy Deposition (MeV): 0
Energy Total in Run:logicalUpperSpine, ID: 39, Energy Deposition (MeV): 0
Energy Total in Run:logicalUrinaryBladder, ID: 40, Energy Deposition (MeV): 0
Energy Total in Run:logicalUterus, ID: 41, Energy Deposition (MeV): 0
Total Energy deposit in the body is: 60.9203 MeV
Total Energy deposit in the body is: 51.9853 MeV
Graphics systems deleted.
Visualization Manager deleting...
@@ -54,7 +54,6 @@ void G4CustomFemaleBuilder::BuildUterus(const G4String& colourName, G4bool solid
{
if (trunkVolume == 0)
G4Exception("G4CustomFemaleBuilder::BuildUterus()", "human_phantom0001", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Uterus",trunkVolume, colourName, solidVis, sensitivity); }
@@ -62,8 +61,8 @@ if (trunkVolume == 0)
void G4CustomFemaleBuilder::BuildLeftOvary(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
{
if (trunkVolume == 0)
G4Exception("G4CustomFemaleBuilder::BuildLeftOvary()", "human_phantom0002", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4CustomFemaleBuilder::BuildLeftOvary()", "human_phantom0002", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("LeftOvary",trunkVolume, colourName,
solidVis, sensitivity);
@@ -52,16 +52,17 @@ G4FemaleBuilder::~G4FemaleBuilder()
void G4FemaleBuilder::BuildUterus(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
{
if (trunkVolume == 0)
G4Exception("G4FemaleBuilder::BuildUterus()", "human_phantom0006", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4FemaleBuilder::BuildUterus()", "human_phantom0006", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Uterus",trunkVolume, colourName, solidVis, sensitivity); }
body -> CreateOrgan("Uterus",trunkVolume, colourName, solidVis, sensitivity);
}
void G4FemaleBuilder::BuildLeftOvary(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
{
if (trunkVolume == 0)
G4Exception("G4FemaleBuilder::BuildLeftOvary()", "human_phantom0007", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4FemaleBuilder::BuildLeftOvary()", "human_phantom0007", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("LeftOvary",trunkVolume, colourName,
solidVis, sensitivity);
@@ -70,8 +71,8 @@ if (trunkVolume == 0)
void G4FemaleBuilder::BuildRightOvary(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
{
if (trunkVolume == 0)
G4Exception("G4FemaleBuilder::BuildRightOvary()", "human_phantom0008", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4FemaleBuilder::BuildRightOvary()", "human_phantom0008", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("RightOvary",trunkVolume, colourName,
solidVis, sensitivity);
@@ -87,7 +88,6 @@ void G4FemaleBuilder::BuildLeftBreast(const G4String& colourName,
solidVis, sensitivity);
}
void G4FemaleBuilder::BuildRightBreast(const G4String& colourName,
G4bool solidVis,
G4bool sensitivity)
@@ -96,6 +96,5 @@ void G4FemaleBuilder::BuildRightBreast(const G4String& colourName,
G4Exception("G4FemaleBuilder::BuildRightBreast()", "human_phantom0010", FatalException, "The world volume is missing !!!!!");
body -> CreateOrgan("RightBreast",motherVolume, colourName,
solidVis, sensitivity);
solidVis, sensitivity);
}
@@ -214,39 +214,38 @@ void G4PhantomBuilder::BuildPelvis(const G4String& colourName, G4bool solidVis,
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildPelvis()", "human_phantom0029", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan( "Pelvis",trunkVolume,
colourName, solidVis, sensitivity);
body -> CreateOrgan( "Pelvis",trunkVolume, colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildBrain(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (headVolume == 0)
G4Exception("G4PhantomBuilder::BuildBrain()", "human_phantom0030", FatalException, "The head volume is missing !!!!!");
if (headVolume == 0)
G4Exception("G4PhantomBuilder::BuildBrain()", "human_phantom0030", FatalException, "The head volume is missing !!!!!");
body -> CreateOrgan("Brain",headVolume, colourName, solidVis, sensitivity);
body -> CreateOrgan("Brain",headVolume, colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildHeart(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildHeart()", "human_phantom0031", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Heart", trunkVolume,colourName, solidVis, sensitivity);
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildHeart()", "human_phantom0031", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Heart", trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildLeftLung(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLeftLung()", "human_phantom0032", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLeftLung()", "human_phantom0032", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("LeftLung",trunkVolume,colourName,solidVis, sensitivity);
body -> CreateOrgan("LeftLung",trunkVolume,colourName,solidVis, sensitivity);
}
void G4PhantomBuilder::BuildRightLung(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRightLung()", "human_phantom0033", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRightLung()", "human_phantom0033", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("RightLung",trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("RightLung",trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildStomach(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
@@ -254,31 +253,31 @@ void G4PhantomBuilder::BuildStomach(const G4String& colourName, G4bool solidVis,
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildStomach()", "human_phantom0034", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Stomach",trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("Stomach",trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildRibCage(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRibCage()", "human_phantom0035", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRibCage()", "human_phantom0035", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("RibCage",trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("RibCage",trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildSpleen(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildSpleen()", "human_phantom0036", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildSpleen()", "human_phantom0036", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Spleen", trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("Spleen", trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildUpperLargeIntestine(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildUpperLargeIntestine()", "human_phantom0037", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildUpperLargeIntestine()", "human_phantom0037", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("UpperLargeIntestine",trunkVolume, colourName, solidVis, sensitivity);
body -> CreateOrgan("UpperLargeIntestine",trunkVolume, colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildLowerLargeIntestine(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
@@ -286,7 +285,7 @@ void G4PhantomBuilder::BuildLowerLargeIntestine(const G4String& colourName, G4bo
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLowerLargeIntestine()", "human_phantom0038", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("LowerLargeIntestine", trunkVolume, colourName,solidVis, sensitivity);
body -> CreateOrgan("LowerLargeIntestine", trunkVolume, colourName,solidVis, sensitivity);
}
void G4PhantomBuilder::BuildSmallIntestine(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
@@ -299,17 +298,17 @@ void G4PhantomBuilder::BuildSmallIntestine(const G4String& colourName, G4bool so
void G4PhantomBuilder::BuildLeftKidney(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLeftKidney()", "human_phantom0040", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLeftKidney()", "human_phantom0040", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("LeftKidney", trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("LeftKidney", trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildRightKidney(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRightKidney()", "human_phantom0041", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRightKidney()", "human_phantom0041", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("RightKidney",trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("RightKidney",trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildLeftAdrenal(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
@@ -317,7 +316,7 @@ void G4PhantomBuilder::BuildLeftAdrenal(const G4String& colourName, G4bool solid
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLeftAdrenal()", "human_phantom0042", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("LeftAdrenal", trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("LeftAdrenal", trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildRightAdrenal(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
@@ -325,7 +324,7 @@ void G4PhantomBuilder::BuildRightAdrenal(const G4String& colourName, G4bool soli
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildRightAdrenal()", "human_phantom0043", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("RightAdrenal", trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("RightAdrenal", trunkVolume,colourName, solidVis, sensitivity);
}
@@ -334,14 +333,14 @@ void G4PhantomBuilder::BuildLiver(const G4String& colourName, G4bool solidVis, G
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildLiver()", "human_phantom0044", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Liver", trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("Liver", trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildPancreas(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
{
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildPancreas()", "human_phantom0045", FatalException, "The trunk volume is missing !!!!!");
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildPancreas()", "human_phantom0045", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Pancreas",trunkVolume,colourName, solidVis, sensitivity);
body -> CreateOrgan("Pancreas",trunkVolume,colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildUrinaryBladder(const G4String& colourName, G4bool solidVis, G4bool sensitivity)
@@ -349,15 +348,15 @@ void G4PhantomBuilder::BuildUrinaryBladder(const G4String& colourName, G4bool so
if (trunkVolume == 0)
G4Exception("G4PhantomBuilder::BuildUrinaryBladder()", "human_phantom0046", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("UrinaryBladder",trunkVolume, colourName, solidVis, sensitivity);
body -> CreateOrgan("UrinaryBladder",trunkVolume, colourName, solidVis, sensitivity);
}
void G4PhantomBuilder::BuildThyroid(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
{
if (headVolume == 0)
G4Exception("G4PhantomBuilder::BuildThyroid()", "human_phantom0047", FatalException, "The trunk volume is missing !!!!!");
if (headVolume == 0)
G4Exception("G4PhantomBuilder::BuildThyroid()", "human_phantom0047", FatalException, "The trunk volume is missing !!!!!");
body -> CreateOrgan("Thyroid",headVolume, colourName,solidVis, sensitivity);
body -> CreateOrgan("Thyroid",headVolume, colourName,solidVis, sensitivity);
}
void G4PhantomBuilder::BuildThymus(const G4String& colourName, G4bool solidVis, G4bool sensitivity )
@@ -386,21 +385,21 @@ void G4PhantomBuilder::SetModel(G4String modelFlag)
if(model=="MIRD" || model =="MIX") body = new G4MIRDBodyFactory();
if(model=="ORNLFemale")
{
{
#ifdef G4LIB_USE_GDML
body = new G4ORNLFemaleBodyFactory();
body = new G4ORNLFemaleBodyFactory();
#else
G4cout << model << " Working with GDML only! set G4LIB_USE_GDML 1" << G4endl;
G4cout << model << " Working with GDML only! set G4LIB_USE_GDML 1" << G4endl;
#endif
}
}
if(model=="ORNLMale")
{
{
#ifdef G4LIB_USE_GDML
body = new G4ORNLMaleBodyFactory();
body = new G4ORNLMaleBodyFactory();
#else
G4cout << model << " Working with GDML only! set G4LIB_USE_GDML 1" << G4endl;
G4cout << model << " Working with GDML only! set G4LIB_USE_GDML 1" << G4endl;
#endif
}
}
}