Geant4
v4-10.4-release
메인 페이지
관련된 페이지
모듈
네임스페이스
클래스
파일들
파일 목록
파일 멤버
모두
클래스
네임스페이스들
파일들
함수
변수
타입정의
열거형 타입
열거형 멤버
Friends
매크로
그룹들
페이지들
examples
advanced
medical_linac
include
ML2SinputData.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
// The code was written by :
27
// ^Claudio Andenna claudio.andenna@ispesl.it, claudio.andenna@iss.infn.it
28
// *Barbara Caccia barbara.caccia@iss.it
29
// with the support of Pablo Cirrone (LNS, INFN Catania Italy)
30
// with the contribute of Alessandro Occhigrossi*
31
//
32
// ^INAIL DIPIA - ex ISPESL and INFN Roma, gruppo collegato Sanità, Italy
33
// *Istituto Superiore di Sanità and INFN Roma, gruppo collegato Sanità, Italy
34
// Viale Regina Elena 299, 00161 Roma (Italy)
35
// tel (39) 06 49902246
36
// fax (39) 06 49387075
37
//
38
// more information:
39
// http://g4advancedexamples.lngs.infn.it/Examples/medical-linac
40
//
41
//*******************************************************//
42
43
#ifndef inputDataH
44
#define inputDataH
45
46
47
#include "
globals.hh
"
48
#include <vector>
49
#include "
G4RotationMatrix.hh
"
50
51
enum
idParticleSource
52
{
53
id_randomTarget
=1,
54
id_phaseSpace
=2
55
};
56
enum
idTypeOfSensitiveDetector
57
{
58
idSD_ComponentROG
=1,
59
idSD_PhaseSpace
=2,
60
idSD_KillerPlane
=3
61
};
62
struct
SStartInputData
63
{
64
G4String
fileInputData
;
65
G4int
seed
;
66
};
67
struct
SGeneralData
68
{
69
G4String
WorldName
,
fileExperimentalData
,
fileExperimentalDataOut
,
StartFileInputData
;
70
G4int
seed
,
nBeam
,
nMaxParticlesInRamPlanePhaseSpace
;
71
G4bool
bSaveROG
,
bCompareExp
;
72
G4String
PhaseSpaceOutFile
,
ROGOutFile
;
73
G4bool
bForcePhaseSpaceBeforeJaws
;
74
G4bool
bSavePhaseSpace
;
75
G4bool
bStopAtPhaseSpace
;
76
G4ThreeVector
centrePhaseSpace
,
halfSizePhaseSpace
;
77
78
G4int
maxNumberOfEvents
,
nMaxLoop
;
79
int
saving_in_Selected_Voxels_every_events
;
80
int
saving_in_ROG_Voxels_every_events
;
81
int
max_N_particles_in_PhSp_File
;
82
};
83
84
struct
Sparticle
85
{
86
G4ThreeVector
pos
,
dir
;
87
G4double
kinEnergy
;
88
G4int
nPrimaryPart
,
primaryParticlePDGE
,
partPDGE
,
volumeId
;
89
G4String
volumeName
;
90
};
91
struct
SPrimaryParticle
92
{
93
G4int
partPDGE
,
nPrimaryParticle
;
94
};
95
struct
SInputData
96
{
97
SGeneralData
generalData
;
98
SPrimaryParticle
primaryParticleData
;
99
};
100
struct
Svoxel
101
{
102
G4ThreeVector
pos
,
halfSize
;
103
G4double
depEnergy
,
depEnergy2
,
expDose
,
depEnergyNorm
,
depEnergyNormError
;
104
G4int
nEvents
,
volumeId
;
105
};
106
struct
SvolumeNameId
107
{
108
G4String
volumeName
;
109
G4int
volumeId
;
110
};
111
#endif
idSD_KillerPlane
Definition:
ML2SinputData.hh:60
id_phaseSpace
Definition:
ML2SinputData.hh:54
SStartInputData::fileInputData
G4String fileInputData
Definition:
ML2SinputData.hh:64
SGeneralData::ROGOutFile
G4String ROGOutFile
Definition:
ML2SinputData.hh:72
SGeneralData::bSavePhaseSpace
G4bool bSavePhaseSpace
Definition:
ML2SinputData.hh:74
idSD_ComponentROG
Definition:
ML2SinputData.hh:58
SStartInputData::seed
G4int seed
Definition:
ML2SinputData.hh:65
SGeneralData::nBeam
G4int nBeam
Definition:
ML2SinputData.hh:70
Sparticle::kinEnergy
G4double kinEnergy
Definition:
ML2SinputData.hh:87
idSD_PhaseSpace
Definition:
ML2SinputData.hh:59
G4String
Definition:
examples/extended/parallel/TopC/ParN02/AnnotatedFiles/G4String.hh:45
SGeneralData::halfSizePhaseSpace
G4ThreeVector halfSizePhaseSpace
Definition:
ML2SinputData.hh:76
Svoxel::depEnergy
G4double depEnergy
Definition:
ML2SinputData.hh:103
SGeneralData::maxNumberOfEvents
G4int maxNumberOfEvents
Definition:
ML2SinputData.hh:78
SvolumeNameId::volumeName
G4String volumeName
Definition:
ML2SinputData.hh:108
SStartInputData
Definition:
ML2SinputData.hh:62
Svoxel::volumeId
G4int volumeId
Definition:
ML2SinputData.hh:104
SGeneralData::saving_in_ROG_Voxels_every_events
int saving_in_ROG_Voxels_every_events
Definition:
ML2SinputData.hh:80
SGeneralData::PhaseSpaceOutFile
G4String PhaseSpaceOutFile
Definition:
ML2SinputData.hh:72
idParticleSource
idParticleSource
Definition:
ML2SinputData.hh:51
SGeneralData::nMaxParticlesInRamPlanePhaseSpace
G4int nMaxParticlesInRamPlanePhaseSpace
Definition:
ML2SinputData.hh:70
SPrimaryParticle
Definition:
ML2SinputData.hh:91
Sparticle::volumeName
G4String volumeName
Definition:
ML2SinputData.hh:89
SGeneralData::bStopAtPhaseSpace
G4bool bStopAtPhaseSpace
Definition:
ML2SinputData.hh:75
G4double
double G4double
Definition:
G4Types.hh:76
G4bool
bool G4bool
Definition:
G4Types.hh:79
Svoxel
Definition:
ML2SinputData.hh:100
SGeneralData::saving_in_Selected_Voxels_every_events
int saving_in_Selected_Voxels_every_events
Definition:
ML2SinputData.hh:79
SInputData::primaryParticleData
SPrimaryParticle primaryParticleData
Definition:
ML2SinputData.hh:98
SPrimaryParticle::nPrimaryParticle
G4int nPrimaryParticle
Definition:
ML2SinputData.hh:93
SGeneralData::seed
G4int seed
Definition:
ML2SinputData.hh:70
SGeneralData::fileExperimentalData
G4String fileExperimentalData
Definition:
ML2SinputData.hh:69
SPrimaryParticle::partPDGE
G4int partPDGE
Definition:
ML2SinputData.hh:93
Svoxel::expDose
G4double expDose
Definition:
ML2SinputData.hh:103
Svoxel::depEnergyNormError
G4double depEnergyNormError
Definition:
ML2SinputData.hh:103
globals.hh
SGeneralData::WorldName
G4String WorldName
Definition:
ML2SinputData.hh:69
SGeneralData::fileExperimentalDataOut
G4String fileExperimentalDataOut
Definition:
ML2SinputData.hh:69
SInputData
Definition:
ML2SinputData.hh:95
Svoxel::pos
G4ThreeVector pos
Definition:
ML2SinputData.hh:102
Sparticle::nPrimaryPart
G4int nPrimaryPart
Definition:
ML2SinputData.hh:88
SGeneralData::bSaveROG
G4bool bSaveROG
Definition:
ML2SinputData.hh:71
Svoxel::nEvents
G4int nEvents
Definition:
ML2SinputData.hh:104
CLHEP::Hep3Vector
Definition:
ThreeVector.h:41
G4int
int G4int
Definition:
G4Types.hh:78
SvolumeNameId::volumeId
G4int volumeId
Definition:
ML2SinputData.hh:109
SGeneralData::bCompareExp
G4bool bCompareExp
Definition:
ML2SinputData.hh:71
id_randomTarget
Definition:
ML2SinputData.hh:53
SInputData::generalData
SGeneralData generalData
Definition:
ML2SinputData.hh:97
SGeneralData::StartFileInputData
G4String StartFileInputData
Definition:
ML2SinputData.hh:69
Sparticle::pos
G4ThreeVector pos
Definition:
ML2SinputData.hh:86
SGeneralData::bForcePhaseSpaceBeforeJaws
G4bool bForcePhaseSpaceBeforeJaws
Definition:
ML2SinputData.hh:73
Svoxel::depEnergy2
G4double depEnergy2
Definition:
ML2SinputData.hh:103
idTypeOfSensitiveDetector
idTypeOfSensitiveDetector
Definition:
ML2SinputData.hh:56
SGeneralData::nMaxLoop
G4int nMaxLoop
Definition:
ML2SinputData.hh:78
Sparticle::primaryParticlePDGE
G4int primaryParticlePDGE
Definition:
ML2SinputData.hh:88
SGeneralData
Definition:
ML2SinputData.hh:67
Svoxel::halfSize
G4ThreeVector halfSize
Definition:
ML2SinputData.hh:102
Svoxel::depEnergyNorm
G4double depEnergyNorm
Definition:
ML2SinputData.hh:103
SvolumeNameId
Definition:
ML2SinputData.hh:106
SGeneralData::max_N_particles_in_PhSp_File
int max_N_particles_in_PhSp_File
Definition:
ML2SinputData.hh:81
Sparticle::partPDGE
G4int partPDGE
Definition:
ML2SinputData.hh:88
Sparticle
Definition:
ML2SinputData.hh:84
Sparticle::volumeId
G4int volumeId
Definition:
ML2SinputData.hh:88
G4RotationMatrix.hh
Sparticle::dir
G4ThreeVector dir
Definition:
ML2SinputData.hh:86
SGeneralData::centrePhaseSpace
G4ThreeVector centrePhaseSpace
Definition:
ML2SinputData.hh:76
다음에 의해 생성됨 :
1.8.5