Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PhantomBuilder Class Reference

#include <G4PhantomBuilder.hh>

Inheritance diagram for G4PhantomBuilder:
Collaboration diagram for G4PhantomBuilder:

Public Member Functions

 G4PhantomBuilder ()
 
 ~G4PhantomBuilder ()
 
void BuildHead (const G4String &, G4bool, G4bool)
 
void BuildTrunk (const G4String &, G4bool, G4bool)
 
void BuildLeftLeg (const G4String &, G4bool, G4bool)
 
void BuildRightLeg (const G4String &, G4bool, G4bool)
 
void BuildUpperSpine (const G4String &, G4bool, G4bool)
 
void BuildMiddleLowerSpine (const G4String &, G4bool, G4bool)
 
void BuildLeftLegBone (const G4String &, G4bool, G4bool)
 
void BuildRightLegBone (const G4String &, G4bool, G4bool)
 
void BuildLeftArmBone (const G4String &, G4bool, G4bool)
 
void BuildRightArmBone (const G4String &, G4bool, G4bool)
 
void BuildSkull (const G4String &, G4bool, G4bool)
 
void BuildRibCage (const G4String &, G4bool, G4bool)
 
void BuildPelvis (const G4String &, G4bool, G4bool)
 
void BuildLeftScapula (const G4String &, G4bool, G4bool)
 
void BuildRightScapula (const G4String &, G4bool, G4bool)
 
void BuildLeftAdrenal (const G4String &, G4bool, G4bool)
 
void BuildRightAdrenal (const G4String &, G4bool, G4bool)
 
void BuildLeftClavicle (const G4String &, G4bool, G4bool)
 
void BuildRightClavicle (const G4String &, G4bool, G4bool)
 
void BuildBrain (const G4String &, G4bool, G4bool)
 
void BuildHeart (const G4String &, G4bool, G4bool)
 
void BuildLeftLung (const G4String &, G4bool, G4bool)
 
void BuildRightLung (const G4String &, G4bool, G4bool)
 
void BuildStomach (const G4String &, G4bool, G4bool)
 
void BuildSmallIntestine (const G4String &, G4bool, G4bool)
 
void BuildUpperLargeIntestine (const G4String &, G4bool, G4bool)
 
void BuildLowerLargeIntestine (const G4String &, G4bool, G4bool)
 
void BuildLeftKidney (const G4String &, G4bool, G4bool)
 
void BuildRightKidney (const G4String &, G4bool, G4bool)
 
void BuildLiver (const G4String &, G4bool, G4bool)
 
void BuildPancreas (const G4String &, G4bool, G4bool)
 
void BuildSpleen (const G4String &, G4bool, G4bool)
 
void BuildUrinaryBladder (const G4String &, G4bool, G4bool)
 
void BuildThyroid (const G4String &, G4bool, G4bool)
 
void BuildThymus (const G4String &, G4bool, G4bool)
 
void SetModel (G4String)
 
void SetMotherVolume (G4VPhysicalVolume *)
 
G4VPhysicalVolumeGetPhantom ()
 
- Public Member Functions inherited from G4BasePhantomBuilder
 G4BasePhantomBuilder ()
 
virtual ~G4BasePhantomBuilder ()
 
virtual void BuildLeftOvary (const G4String &, G4bool, G4bool)
 
virtual void BuildRightOvary (const G4String &, G4bool, G4bool)
 
virtual void BuildUterus (const G4String &, G4bool, G4bool)
 
virtual void BuildLeftBreast (const G4String &, G4bool, G4bool)
 
virtual void BuildRightBreast (const G4String &, G4bool, G4bool)
 
virtual void BuildVoxelLeftBreast (const G4String &, G4bool, G4bool)
 
virtual void BuildVoxelRightBreast (const G4String &, G4bool, G4bool)
 
virtual void BuildMaleGenitalia (const G4String &, G4bool, G4bool)
 
virtual void BuildLeftTeste (const G4String &, G4bool, G4bool)
 
virtual void BuildRightTeste (const G4String &, G4bool, G4bool)
 

Protected Attributes

G4VBodyFactorybody
 
G4String model
 
G4VPhysicalVolumemotherVolume
 
G4VPhysicalVolumeheadVolume
 
G4VPhysicalVolumetrunkVolume
 
G4VPhysicalVolumeleftLegVolume
 
G4VPhysicalVolumerightLegVolume
 
G4VPhysicalVolumemaleGenitaliaVolume
 

Detailed Description

Definition at line 45 of file G4PhantomBuilder.hh.

Constructor & Destructor Documentation

G4PhantomBuilder::G4PhantomBuilder ( )

Definition at line 48 of file G4PhantomBuilder.cc.

48  : model("MIRD")
49 {
50  // sex can be "female" or "male"
51  body = 0;
52  motherVolume = 0;
53  headVolume = 0;
54  trunkVolume = 0;
55  leftLegVolume =0;
56  rightLegVolume =0;
58 }
G4VPhysicalVolume * motherVolume
G4VPhysicalVolume * maleGenitaliaVolume
G4VPhysicalVolume * leftLegVolume
G4VPhysicalVolume * rightLegVolume
G4VPhysicalVolume * headVolume
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume
G4PhantomBuilder::~G4PhantomBuilder ( )

Definition at line 60 of file G4PhantomBuilder.cc.

61 {
62 }

Member Function Documentation

void G4PhantomBuilder::BuildBrain ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 220 of file G4PhantomBuilder.cc.

221 {
222  if (headVolume == 0)
223  G4Exception("G4PhantomBuilder::BuildBrain()", "human_phantom0030", FatalException, "The head volume is missing !!!!!");
224 
225  body -> CreateOrgan("Brain",headVolume, colourName, solidVis, sensitivity);
226 }
G4VPhysicalVolume * headVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body

Here is the call graph for this function:

void G4PhantomBuilder::BuildHead ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 172 of file G4PhantomBuilder.cc.

173 {
174  if (motherVolume == 0)
175  G4Exception("G4PhantomBuilder::BuildHead()", "human_phantom0025", FatalException, "The mother volume is missing !!!!!");
176 
177  G4cout <<"MotherVolume: " << motherVolume -> GetName()<< G4endl;
178  G4cout << "sensitivity : "<< sensitivity << G4endl;
179  headVolume = body -> CreateOrgan("Head",motherVolume, colourName, solidVis, sensitivity);
180 }
G4VPhysicalVolume * motherVolume
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * headVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void G4PhantomBuilder::BuildHeart ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 228 of file G4PhantomBuilder.cc.

229 {
230  if (trunkVolume == 0)
231  G4Exception("G4PhantomBuilder::BuildHeart()", "human_phantom0031", FatalException, "The trunk volume is missing !!!!!");
232  body -> CreateOrgan("Heart", trunkVolume,colourName, solidVis, sensitivity);
233 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftAdrenal ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 314 of file G4PhantomBuilder.cc.

315 {
316  if (trunkVolume == 0)
317  G4Exception("G4PhantomBuilder::BuildLeftAdrenal()", "human_phantom0042", FatalException, "The trunk volume is missing !!!!!");
318 
319  body -> CreateOrgan("LeftAdrenal", trunkVolume,colourName, solidVis, sensitivity);
320 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftArmBone ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 112 of file G4PhantomBuilder.cc.

113 {
114  if (trunkVolume == 0)
115  G4Exception("G4PhantomBuilder::BuildLeftArmBone()", "human_phantom0019", FatalException, "The world volume is missing !!!!!");
116 
117  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
118  G4cout << "sensitivity : "<< sensitivity << G4endl;
119  body -> CreateOrgan("LeftArmBone" ,trunkVolume,colourName,solidVis, sensitivity);
120 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftClavicle ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 151 of file G4PhantomBuilder.cc.

152 {
153  if (trunkVolume == 0)
154  G4Exception("G4PhantomBuilder::BuildLeftClavicle()", "human_phantom0023", FatalException, "The trunk volume is missing !!!!!");
155 
156  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
157  G4cout << "sensitivity : "<< sensitivity << G4endl;
158  body -> CreateOrgan("LeftClavicle",trunkVolume,colourName,solidVis, sensitivity);
159 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftKidney ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 299 of file G4PhantomBuilder.cc.

300 {
301  if (trunkVolume == 0)
302  G4Exception("G4PhantomBuilder::BuildLeftKidney()", "human_phantom0040", FatalException, "The trunk volume is missing !!!!!");
303 
304  body -> CreateOrgan("LeftKidney", trunkVolume,colourName, solidVis, sensitivity);
305 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftLeg ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 73 of file G4PhantomBuilder.cc.

74 {
75  if (motherVolume == 0)
76  G4Exception("G4PhantomBuilder::BuildLeftLeg()", "human_phantom0015", FatalException, "The world volume is missing !!!!!");
77 
78  G4cout <<"MotherVolume: " << motherVolume -> GetName()<< G4endl;
79  G4cout << "sensitivity : "<< sensitivity << G4endl;
80  leftLegVolume = body -> CreateOrgan("LeftLeg", motherVolume, colourName, solidVis, sensitivity);
81 }
G4VPhysicalVolume * motherVolume
G4VPhysicalVolume * leftLegVolume
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftLegBone ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 92 of file G4PhantomBuilder.cc.

93 {
94  if (leftLegVolume == 0)
95  G4Exception("G4PhantomBuilder::BuildLeftLegBone()", "human_phantom0017", FatalException, "The left leg volume is missing !!!!!");
96 
97  G4cout <<"MotherVolume: " << leftLegVolume -> GetName()<< G4endl;
98  G4cout << "sensitivity : "<< sensitivity << G4endl;
99  body -> CreateOrgan("LeftLegBone", leftLegVolume,colourName, solidVis, sensitivity);
100 }
G4VPhysicalVolume * leftLegVolume
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftLung ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 235 of file G4PhantomBuilder.cc.

236 {
237  if (trunkVolume == 0)
238  G4Exception("G4PhantomBuilder::BuildLeftLung()", "human_phantom0032", FatalException, "The trunk volume is missing !!!!!");
239 
240  body -> CreateOrgan("LeftLung",trunkVolume,colourName,solidVis, sensitivity);
241 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLeftScapula ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 131 of file G4PhantomBuilder.cc.

132 {
133  if (trunkVolume == 0)
134  G4Exception("G4PhantomBuilder::BuildLeftScapula()", "human_phantom0021", FatalException, "The trunk volume is missing !!!!!");
135 
136  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
137  G4cout << "sensitivity : "<< sensitivity << G4endl;
138  body -> CreateOrgan("LeftScapula",trunkVolume,colourName,solidVis, sensitivity);
139 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLiver ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 331 of file G4PhantomBuilder.cc.

332 {
333  if (trunkVolume == 0)
334  G4Exception("G4PhantomBuilder::BuildLiver()", "human_phantom0044", FatalException, "The trunk volume is missing !!!!!");
335 
336  body -> CreateOrgan("Liver", trunkVolume,colourName, solidVis, sensitivity);
337 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildLowerLargeIntestine ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 283 of file G4PhantomBuilder.cc.

284 {
285  if (trunkVolume == 0)
286  G4Exception("G4PhantomBuilder::BuildLowerLargeIntestine()", "human_phantom0038", FatalException, "The trunk volume is missing !!!!!");
287 
288  body -> CreateOrgan("LowerLargeIntestine", trunkVolume, colourName,solidVis, sensitivity);
289 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildMiddleLowerSpine ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 202 of file G4PhantomBuilder.cc.

203 {
204  if (trunkVolume == 0)
205  G4Exception("G4PhantomBuilder::BuildMiddleLowerSpine()", "human_phantom0028", FatalException, "The trunk volume is missing !!!!!");
206 
207  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
208  G4cout << "sensitivity : "<< sensitivity << G4endl;
209  body -> CreateOrgan("MiddleLowerSpine",trunkVolume, colourName, solidVis, sensitivity);
210 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildPancreas ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 338 of file G4PhantomBuilder.cc.

339 {
340  if (trunkVolume == 0)
341  G4Exception("G4PhantomBuilder::BuildPancreas()", "human_phantom0045", FatalException, "The trunk volume is missing !!!!!");
342 
343  body -> CreateOrgan("Pancreas",trunkVolume,colourName, solidVis, sensitivity);
344 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildPelvis ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 212 of file G4PhantomBuilder.cc.

213 {
214  if (trunkVolume == 0)
215  G4Exception("G4PhantomBuilder::BuildPelvis()", "human_phantom0029", FatalException, "The trunk volume is missing !!!!!");
216 
217  body -> CreateOrgan( "Pelvis",trunkVolume, colourName, solidVis, sensitivity);
218 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRibCage ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 259 of file G4PhantomBuilder.cc.

260 {
261  if (trunkVolume == 0)
262  G4Exception("G4PhantomBuilder::BuildRibCage()", "human_phantom0035", FatalException, "The trunk volume is missing !!!!!");
263 
264  body -> CreateOrgan("RibCage",trunkVolume,colourName, solidVis, sensitivity);
265 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightAdrenal ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 322 of file G4PhantomBuilder.cc.

323 {
324  if (trunkVolume == 0)
325  G4Exception("G4PhantomBuilder::BuildRightAdrenal()", "human_phantom0043", FatalException, "The trunk volume is missing !!!!!");
326 
327  body -> CreateOrgan("RightAdrenal", trunkVolume,colourName, solidVis, sensitivity);
328 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightArmBone ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 121 of file G4PhantomBuilder.cc.

122 {
123  if (trunkVolume == 0)
124  G4Exception("G4PhantomBuilder::BuildRightArmBone()", "human_phantom0020", FatalException, "The trunk volume is missing !!!!!");
125 
126  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
127  G4cout << "sensitivity : "<< sensitivity << G4endl;
128  body -> CreateOrgan("RightArmBone",trunkVolume,colourName,solidVis, sensitivity);
129 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightClavicle ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 161 of file G4PhantomBuilder.cc.

162 {
163  if (trunkVolume == 0)
164  G4Exception("G4PhantomBuilder::BuildRightClavicle()", "human_phantom0024", FatalException, "The trunk volume is missing !!!!!");
165 
166  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
167  G4cout << "sensitivity : "<< sensitivity << G4endl;
168  body -> CreateOrgan("RightClavicle",trunkVolume,colourName,solidVis, sensitivity);
169 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightKidney ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 306 of file G4PhantomBuilder.cc.

307 {
308  if (trunkVolume == 0)
309  G4Exception("G4PhantomBuilder::BuildRightKidney()", "human_phantom0041", FatalException, "The trunk volume is missing !!!!!");
310 
311  body -> CreateOrgan("RightKidney",trunkVolume,colourName, solidVis, sensitivity);
312 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightLeg ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 82 of file G4PhantomBuilder.cc.

83 {
84  if (motherVolume == 0)
85  G4Exception("G4PhantomBuilder::BuildRightLeg()", "human_phantom0016", FatalException, "The world volume is missing !!!!!");
86 
87  G4cout <<"MotherVolume: " << motherVolume -> GetName()<< G4endl;
88  G4cout << "sensitivity : "<< sensitivity << G4endl;
89  rightLegVolume = body -> CreateOrgan("RightLeg", motherVolume, colourName, solidVis, sensitivity);
90 }
G4VPhysicalVolume * motherVolume
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * rightLegVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightLegBone ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 102 of file G4PhantomBuilder.cc.

103 {
104  if (trunkVolume == 0)
105  G4Exception("G4PhantomBuilder::BuildRightLegBone()", "human_phantom0018", FatalException, "The right leg volume is missing !!!!!");
106 
107  G4cout <<"MotherVolume: " << rightLegVolume -> GetName()<< G4endl;
108  G4cout << "sensitivity : "<< sensitivity << G4endl;
109  body -> CreateOrgan("RightLegBone", rightLegVolume, colourName, solidVis, sensitivity);
110 }
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * rightLegVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightLung ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 243 of file G4PhantomBuilder.cc.

244 {
245  if (trunkVolume == 0)
246  G4Exception("G4PhantomBuilder::BuildRightLung()", "human_phantom0033", FatalException, "The trunk volume is missing !!!!!");
247 
248  body -> CreateOrgan("RightLung",trunkVolume,colourName, solidVis, sensitivity);
249 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildRightScapula ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 141 of file G4PhantomBuilder.cc.

142 {
143  if (trunkVolume == 0)
144  G4Exception("G4PhantomBuilder::BuildRightScapula()", "human_phantom0022", FatalException, "The trunk volume is missing !!!!!");
145 
146  G4cout <<"MotherVolume: " << trunkVolume -> GetName()<< G4endl;
147  G4cout << "sensitivity : "<< sensitivity << G4endl;
148  body -> CreateOrgan("RightScapula",trunkVolume,colourName,solidVis, sensitivity);
149 }
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildSkull ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 182 of file G4PhantomBuilder.cc.

183 {
184  if (headVolume == 0)
185  G4Exception("G4PhantomBuilder::BuildSkull()", "human_phantom0026", FatalException, "The head volume is missing !!!!!");
186 
187  G4cout <<"MotherVolume: " << headVolume -> GetName()<< G4endl;
188  G4cout << "sensitivity : "<< sensitivity << G4endl;
189  body -> CreateOrgan( "Skull",headVolume, colourName, solidVis, sensitivity);
190 }
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * headVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void G4PhantomBuilder::BuildSmallIntestine ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 291 of file G4PhantomBuilder.cc.

292 {
293  if (trunkVolume == 0)
294  G4Exception("G4PhantomBuilder::BuildSamllIntestine()", "human_phantom0039", FatalException, "The trunk volume is missing !!!!!");
295 
296  body -> CreateOrgan("SmallIntestine",trunkVolume, colourName, solidVis, sensitivity);
297 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildSpleen ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 267 of file G4PhantomBuilder.cc.

268 {
269  if (trunkVolume == 0)
270  G4Exception("G4PhantomBuilder::BuildSpleen()", "human_phantom0036", FatalException, "The trunk volume is missing !!!!!");
271 
272  body -> CreateOrgan("Spleen", trunkVolume,colourName, solidVis, sensitivity);
273 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildStomach ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 251 of file G4PhantomBuilder.cc.

252 {
253  if (trunkVolume == 0)
254  G4Exception("G4PhantomBuilder::BuildStomach()", "human_phantom0034", FatalException, "The trunk volume is missing !!!!!");
255 
256  body -> CreateOrgan("Stomach",trunkVolume,colourName, solidVis, sensitivity);
257 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildThymus ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 362 of file G4PhantomBuilder.cc.

363 {
364  if (trunkVolume == 0)
365  G4Exception("G4PhantomBuilder::BuildThymus()", "human_phantom0048", FatalException, "The trunk volume is missing !!!!!");
366 
367  body -> CreateOrgan("Thymus",trunkVolume, colourName,solidVis, sensitivity);
368 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildThyroid ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 354 of file G4PhantomBuilder.cc.

355 {
356  if (headVolume == 0)
357  G4Exception("G4PhantomBuilder::BuildThyroid()", "human_phantom0047", FatalException, "The trunk volume is missing !!!!!");
358 
359  body -> CreateOrgan("Thyroid",headVolume, colourName,solidVis, sensitivity);
360 }
G4VPhysicalVolume * headVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body

Here is the call graph for this function:

void G4PhantomBuilder::BuildTrunk ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 63 of file G4PhantomBuilder.cc.

64 {
65  if (motherVolume == 0)
66  G4Exception("G4PhantomBuilder::BuildTrunk()", "human_phantom0014", FatalException, "The world volume is missing !!!!!");
67 
68  G4cout <<"MotherVolume: " << motherVolume -> GetName()<< G4endl;
69  G4cout << "sensitivity : "<< sensitivity << G4endl;
70  trunkVolume = body -> CreateOrgan("Trunk", motherVolume, colourName, solidVis, sensitivity);
71 }
G4VPhysicalVolume * motherVolume
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildUpperLargeIntestine ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 275 of file G4PhantomBuilder.cc.

276 {
277  if (trunkVolume == 0)
278  G4Exception("G4PhantomBuilder::BuildUpperLargeIntestine()", "human_phantom0037", FatalException, "The trunk volume is missing !!!!!");
279 
280  body -> CreateOrgan("UpperLargeIntestine",trunkVolume, colourName, solidVis, sensitivity);
281 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

void G4PhantomBuilder::BuildUpperSpine ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 192 of file G4PhantomBuilder.cc.

193 {
194  if (headVolume == 0)
195  G4Exception("G4PhantomBuilder::BuildUpperSpine()", "human_phantom0027", FatalException, "The head volume is missing !!!!!");
196 
197  G4cout <<"MotherVolume: " << headVolume -> GetName()<< G4endl;
198  G4cout << "sensitivity : "<< sensitivity << G4endl;
199  body -> CreateOrgan("UpperSpine",headVolume,colourName, solidVis, sensitivity);
200 }
G4GLOB_DLL std::ostream G4cout
G4VPhysicalVolume * headVolume
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:

void G4PhantomBuilder::BuildUrinaryBladder ( const G4String colourName,
G4bool  solidVis,
G4bool  sensitivity 
)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 346 of file G4PhantomBuilder.cc.

347 {
348  if (trunkVolume == 0)
349  G4Exception("G4PhantomBuilder::BuildUrinaryBladder()", "human_phantom0046", FatalException, "The trunk volume is missing !!!!!");
350 
351  body -> CreateOrgan("UrinaryBladder",trunkVolume, colourName, solidVis, sensitivity);
352 }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
G4VBodyFactory * body
G4VPhysicalVolume * trunkVolume

Here is the call graph for this function:

G4VPhysicalVolume * G4PhantomBuilder::GetPhantom ( )
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 371 of file G4PhantomBuilder.cc.

372 {
373  return motherVolume;
374 }
G4VPhysicalVolume * motherVolume
void G4PhantomBuilder::SetModel ( G4String  modelFlag)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 382 of file G4PhantomBuilder.cc.

383 {
384  model = modelFlag;
385 
386  if(model=="MIRD" || model =="MIX") body = new G4MIRDBodyFactory();
387  if(model=="ORNLFemale")
388  {
389 
390 #ifdef G4LIB_USE_GDML
391  body = new G4ORNLFemaleBodyFactory();
392 #else
393  G4cout << model << " Working with GDML only! set G4LIB_USE_GDML 1" << G4endl;
394 #endif
395  }
396 
397  if(model=="ORNLMale")
398  {
399 #ifdef G4LIB_USE_GDML
400  body = new G4ORNLMaleBodyFactory();
401 #else
402  G4cout << model << " Working with GDML only! set G4LIB_USE_GDML 1" << G4endl;
403 #endif
404  }
405 }
G4GLOB_DLL std::ostream G4cout
G4VBodyFactory * body
#define G4endl
Definition: G4ios.hh:61
const XML_Char XML_Content * model
Definition: expat.h:151
void G4PhantomBuilder::SetMotherVolume ( G4VPhysicalVolume mother)
virtual

Reimplemented from G4BasePhantomBuilder.

Definition at line 376 of file G4PhantomBuilder.cc.

377 {
378  motherVolume = mother;
379 }
G4VPhysicalVolume * motherVolume

Member Data Documentation

G4VBodyFactory* G4PhantomBuilder::body
protected

Definition at line 101 of file G4PhantomBuilder.hh.

G4VPhysicalVolume* G4PhantomBuilder::headVolume
protected

Definition at line 106 of file G4PhantomBuilder.hh.

G4VPhysicalVolume* G4PhantomBuilder::leftLegVolume
protected

Definition at line 108 of file G4PhantomBuilder.hh.

G4VPhysicalVolume* G4PhantomBuilder::maleGenitaliaVolume
protected

Definition at line 110 of file G4PhantomBuilder.hh.

G4String G4PhantomBuilder::model
protected

Definition at line 103 of file G4PhantomBuilder.hh.

G4VPhysicalVolume* G4PhantomBuilder::motherVolume
protected

Definition at line 105 of file G4PhantomBuilder.hh.

G4VPhysicalVolume* G4PhantomBuilder::rightLegVolume
protected

Definition at line 109 of file G4PhantomBuilder.hh.

G4VPhysicalVolume* G4PhantomBuilder::trunkVolume
protected

Definition at line 107 of file G4PhantomBuilder.hh.


The documentation for this class was generated from the following files: