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
microbeam
include
MicrobeamCellParameterisation.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
// $Id$
28
// -------------------------------------------------------------------
29
30
#ifndef MicrobeamCellParameterisation_H
31
#define MicrobeamCellParameterisation_H 1
32
33
#include "
G4VPVParameterisation.hh
"
34
#include "
G4ThreeVector.hh
"
35
#include "
G4Material.hh
"
36
#include "
G4VisAttributes.hh
"
37
38
class
G4VPhysicalVolume
;
39
class
G4Box
;
40
class
G4Tubs
;
41
class
G4Trd
;
42
class
G4Trap
;
43
class
G4Cons
;
44
class
G4Sphere
;
45
class
G4Orb
;
46
class
G4Torus
;
47
class
G4Para
;
48
class
Polycone;
49
class
Polyhedra;
50
class
G4Hype
;
51
52
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
53
54
class
MicrobeamCellParameterisation
:
public
G4VPVParameterisation
55
{
56
public
:
57
58
MicrobeamCellParameterisation
59
(
G4int
NoBoxes,
G4float
DimBoxX,
G4float
DimBoxY,
G4float
DimBoxZ,
60
G4Material
* nucleus1,
G4Material
* cytoplasm1,
61
G4Material
* nucleus2,
G4Material
* cytoplasm2,
62
G4Material
* nucleus3,
G4Material
* cytoplasm3
63
);
64
65
virtual
66
~MicrobeamCellParameterisation
();
67
68
void
ComputeTransformation
(
const
G4int
copyNo,
G4VPhysicalVolume
* physVol)
const
;
69
70
void
ComputeDimensions
(
G4Box
&,
71
const
G4int
,
72
const
G4VPhysicalVolume
* )
const
;
73
74
void
ComputeDimensions
(
G4Tubs
&,
75
const
G4int
,
76
const
G4VPhysicalVolume
*)
const
{}
77
78
void
ComputeDimensions
(
G4Trd
&,
79
const
G4int
,
80
const
G4VPhysicalVolume
*)
const
{}
81
82
void
ComputeDimensions
(
G4Trap
&,
83
const
G4int
,
84
const
G4VPhysicalVolume
*)
const
{}
85
86
void
ComputeDimensions
(
G4Cons
&,
87
const
G4int
,
88
const
G4VPhysicalVolume
*)
const
{}
89
90
void
ComputeDimensions
(
G4Sphere
&,
91
const
G4int
,
92
const
G4VPhysicalVolume
*)
const
{}
93
94
void
ComputeDimensions
(
G4Orb
&,
95
const
G4int
,
96
const
G4VPhysicalVolume
*)
const
{}
97
98
void
ComputeDimensions
(
G4Torus
&,
99
const
G4int
,
100
const
G4VPhysicalVolume
*)
const
{}
101
102
void
ComputeDimensions
(
G4Para
&,
103
const
G4int
,
104
const
G4VPhysicalVolume
*)
const
{}
105
106
void
ComputeDimensions
(
G4Polycone
&,
107
const
G4int
,
108
const
G4VPhysicalVolume
*)
const
{}
109
110
void
ComputeDimensions
(
G4Polyhedra
&,
111
const
G4int
,
112
const
G4VPhysicalVolume
*)
const
{}
113
114
void
ComputeDimensions
(
G4Hype
&,
115
const
G4int
,
116
const
G4VPhysicalVolume
*)
const
{}
117
118
G4int
GetNoBoxes
() {
return
NoCellBoxes;}
119
120
G4Material
*
ComputeMaterial
(
const
G4int
copyNo,
121
G4VPhysicalVolume
* physVol,
122
const
G4VTouchable
*);
123
124
private
:
125
126
G4int
NoCellBoxes;
127
G4float
DimCellBoxX;
128
G4float
DimCellBoxY;
129
G4float
DimCellBoxZ;
130
131
G4Material
* nucleusMaterial1;
132
G4Material
* cytoplasmMaterial1;
133
G4Material
* nucleusMaterial2;
134
G4Material
* cytoplasmMaterial2;
135
G4Material
* nucleusMaterial3;
136
G4Material
* cytoplasmMaterial3;
137
138
G4VisAttributes
* nucleusAttributes1;
139
G4VisAttributes
* cytoplasmAttributes1;
140
G4VisAttributes
* nucleusAttributes2;
141
G4VisAttributes
* cytoplasmAttributes2;
142
G4VisAttributes
* nucleusAttributes3;
143
G4VisAttributes
* cytoplasmAttributes3;
144
145
// PHANTOM SIZE IN VOXELS
146
G4ThreeVector
*mapCell ;
// VOXEL COORDINATES
147
G4float
*material ;
// MATERIAL
148
G4float
*mass ;
// DENSITY REGION
149
150
};
151
152
#endif
153
154
Generated on Sat May 25 2013 14:32:13 for Geant4 by
1.8.4