Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
examples
advanced
brachytherapy
include
BrachyDetectorConstruction.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
// ****************************************
27
// * *
28
// * BrachyDetectorConstruction.hh *
29
// * *
30
// ****************************************
31
// This class manages the geometry of the simulation experimental set-up
32
//
33
34
#ifndef BrachyDetectorConstruction_H
35
#define BrachyDetectorConstruction_H 1
36
37
#include "
G4VUserDetectorConstruction.hh
"
38
39
class
BrachyDetectorMessenger
;
40
class
G4LogicalVolume
;
41
class
G4Material
;
42
class
G4Box
;
43
class
G4Colour
;
44
class
G4VPhysicalVolume
;
45
class
G4VPhysicalVolume
;
46
class
BrachyMaterial
;
47
class
BrachyFactory
;
48
49
class
BrachyDetectorConstruction
:
public
G4VUserDetectorConstruction
50
{
51
public
:
52
53
BrachyDetectorConstruction
();
54
~BrachyDetectorConstruction
();
55
56
G4VPhysicalVolume
*
Construct
();
57
void
SwitchBrachytherapicSeed
();
//Change radiactive source through GUI
58
void
SelectBrachytherapicSeed
(
G4String
val);
59
void
ConstructPhantom
();
60
void
PrintDetectorParameters
();
61
void
SetPhantomMaterial
(
G4String
);
62
63
64
private
:
65
66
G4int
detectorChoice;
//Select brachytherapic seed
67
BrachyFactory
* factory;
68
69
// World ...
70
G4Box
* World;
//pointer to the solid World
71
G4LogicalVolume
* WorldLog;
//pointer to the logical World
72
G4VPhysicalVolume
* WorldPhys;
//pointer to the physical World
73
74
// Phantom ...
75
G4Box
* Phantom;
//pointer to solid phantom
76
G4LogicalVolume
* PhantomLog;
//pointer to logic phantom
77
G4VPhysicalVolume
* PhantomPhys;
//pointer to physical phantom
78
G4Material
* phantomAbsorberMaterial;
79
80
G4double
phantomSizeX;
//Phantom XSize
81
G4double
phantomSizeY;
//Phantom YSize
82
G4double
phantomSizeZ;
//Phantom ZSize
83
G4double
worldSizeX ;
//World XSize
84
G4double
worldSizeY ;
//World YSize
85
G4double
worldSizeZ ;
//World XSize
86
BrachyDetectorMessenger
* detectorMessenger;
87
BrachyMaterial
* pMaterial;
88
};
89
90
#endif
Generated on Sat May 25 2013 14:32:05 for Geant4 by
1.8.4