ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
BrachyDetectorConstruction.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BrachyDetectorConstruction.hh
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
// S. Guatelli, A. Le
34
35
#ifndef BrachyDetectorConstruction_H
36
#define BrachyDetectorConstruction_H 1
37
38
#include "
G4VUserDetectorConstruction.hh
"
39
40
class
BrachyDetectorMessenger
;
41
class
G4LogicalVolume
;
42
class
G4Material
;
43
class
G4Box
;
44
class
G4Colour
;
45
class
G4VPhysicalVolume
;
46
class
G4VPhysicalVolume
;
47
class
BrachyMaterial
;
48
class
BrachyFactory
;
49
50
class
BrachyDetectorConstruction
:
public
G4VUserDetectorConstruction
51
{
52
public
:
53
54
BrachyDetectorConstruction
();
55
~BrachyDetectorConstruction
();
56
57
G4VPhysicalVolume
*
Construct
();
58
void
SwitchBrachytherapicSeed
();
//Change radiactive source through GUI
59
void
SelectBrachytherapicSeed
(
G4String
val);
60
void
ConstructPhantom
();
61
void
PrintDetectorParameters
();
62
void
SetPhantomMaterial
(
G4String
);
63
64
65
private
:
66
67
G4int
detectorChoice
;
//Select brachytherapic seed
68
BrachyFactory
*
factory
;
69
70
// World ...
71
G4Box
*
World
;
//pointer to the solid World
72
G4LogicalVolume
*
WorldLog
;
//pointer to the logical World
73
G4VPhysicalVolume
*
WorldPhys
;
//pointer to the physical World
74
75
// Phantom ...
76
G4Box
*
Phantom
;
//pointer to solid phantom
77
G4LogicalVolume
*
PhantomLog
;
//pointer to logic phantom
78
G4VPhysicalVolume
*
PhantomPhys
;
//pointer to physical phantom
79
G4Material
*
phantomAbsorberMaterial
;
80
81
G4double
phantomSizeX
;
//Phantom XSize
82
G4double
phantomSizeY
;
//Phantom YSize
83
G4double
phantomSizeZ
;
//Phantom ZSize
84
G4double
worldSizeX
;
//World XSize
85
G4double
worldSizeY
;
//World YSize
86
G4double
worldSizeZ
;
//World XSize
87
BrachyDetectorMessenger
*
detectorMessenger
;
88
BrachyMaterial
*
pMaterial
;
89
};
90
91
#endif
geant4
tree
geant4-10.6-release
examples
advanced
brachytherapy
include
BrachyDetectorConstruction.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:55
using
1.8.2 with
ECCE GitHub integration