Geant4
10.00.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ML2SinputData.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
// 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
SGeneralData::fileExperimentalData
G4String fileExperimentalData
Definition:
ML2SinputData.hh:69
idParticleSource
idParticleSource
Definition:
ML2SinputData.hh:51
SGeneralData::centrePhaseSpace
G4ThreeVector centrePhaseSpace
Definition:
ML2SinputData.hh:76
Svoxel::nEvents
G4int nEvents
Definition:
ML2SinputData.hh:104
Svoxel::depEnergyNorm
G4double depEnergyNorm
Definition:
ML2SinputData.hh:103
Svoxel::depEnergy
G4double depEnergy
Definition:
ML2SinputData.hh:103
SStartInputData::seed
G4int seed
Definition:
ML2SinputData.hh:65
SGeneralData::nMaxParticlesInRamPlanePhaseSpace
G4int nMaxParticlesInRamPlanePhaseSpace
Definition:
ML2SinputData.hh:70
id_phaseSpace
Definition:
ML2SinputData.hh:54
G4ThreeVector
CLHEP::Hep3Vector G4ThreeVector
Definition:
G4ThreeVector.hh:42
Svoxel::depEnergy2
G4double depEnergy2
Definition:
ML2SinputData.hh:103
SPrimaryParticle
Definition:
ML2SinputData.hh:91
Svoxel::volumeId
G4int volumeId
Definition:
ML2SinputData.hh:104
SGeneralData::WorldName
G4String WorldName
Definition:
ML2SinputData.hh:69
Sparticle::partPDGE
G4int partPDGE
Definition:
ML2SinputData.hh:88
id_randomTarget
Definition:
ML2SinputData.hh:53
SInputData
Definition:
ML2SinputData.hh:95
idSD_KillerPlane
Definition:
ML2SinputData.hh:60
Sparticle::dir
G4ThreeVector dir
Definition:
ML2SinputData.hh:86
SGeneralData::seed
G4int seed
Definition:
ML2SinputData.hh:70
SGeneralData::bSaveROG
G4bool bSaveROG
Definition:
ML2SinputData.hh:71
SPrimaryParticle::partPDGE
G4int partPDGE
Definition:
ML2SinputData.hh:93
G4int
int G4int
Definition:
G4Types.hh:78
Sparticle::nPrimaryPart
G4int nPrimaryPart
Definition:
ML2SinputData.hh:88
SGeneralData::bCompareExp
G4bool bCompareExp
Definition:
ML2SinputData.hh:71
idSD_PhaseSpace
Definition:
ML2SinputData.hh:59
SGeneralData::StartFileInputData
G4String StartFileInputData
Definition:
ML2SinputData.hh:69
Svoxel::expDose
G4double expDose
Definition:
ML2SinputData.hh:103
SPrimaryParticle::nPrimaryParticle
G4int nPrimaryParticle
Definition:
ML2SinputData.hh:93
SvolumeNameId::volumeName
G4String volumeName
Definition:
ML2SinputData.hh:108
SGeneralData::bStopAtPhaseSpace
G4bool bStopAtPhaseSpace
Definition:
ML2SinputData.hh:75
Svoxel::pos
G4ThreeVector pos
Definition:
ML2SinputData.hh:102
Sparticle::primaryParticlePDGE
G4int primaryParticlePDGE
Definition:
ML2SinputData.hh:88
SGeneralData::maxNumberOfEvents
G4int maxNumberOfEvents
Definition:
ML2SinputData.hh:78
G4bool
bool G4bool
Definition:
G4Types.hh:79
SStartInputData::fileInputData
G4String fileInputData
Definition:
ML2SinputData.hh:64
SGeneralData::bForcePhaseSpaceBeforeJaws
G4bool bForcePhaseSpaceBeforeJaws
Definition:
ML2SinputData.hh:73
SGeneralData::nMaxLoop
G4int nMaxLoop
Definition:
ML2SinputData.hh:78
Svoxel::depEnergyNormError
G4double depEnergyNormError
Definition:
ML2SinputData.hh:103
SGeneralData::saving_in_Selected_Voxels_every_events
int saving_in_Selected_Voxels_every_events
Definition:
ML2SinputData.hh:79
SGeneralData::bSavePhaseSpace
G4bool bSavePhaseSpace
Definition:
ML2SinputData.hh:74
globals.hh
SStartInputData
Definition:
ML2SinputData.hh:62
Sparticle
Definition:
ML2SinputData.hh:84
SInputData::primaryParticleData
SPrimaryParticle primaryParticleData
Definition:
ML2SinputData.hh:98
SGeneralData
Definition:
ML2SinputData.hh:67
idTypeOfSensitiveDetector
idTypeOfSensitiveDetector
Definition:
ML2SinputData.hh:56
SInputData::generalData
SGeneralData generalData
Definition:
ML2SinputData.hh:97
Sparticle::pos
G4ThreeVector pos
Definition:
ML2SinputData.hh:86
SvolumeNameId::volumeId
G4int volumeId
Definition:
ML2SinputData.hh:109
SGeneralData::max_N_particles_in_PhSp_File
int max_N_particles_in_PhSp_File
Definition:
ML2SinputData.hh:81
SGeneralData::saving_in_ROG_Voxels_every_events
int saving_in_ROG_Voxels_every_events
Definition:
ML2SinputData.hh:80
SGeneralData::halfSizePhaseSpace
G4ThreeVector halfSizePhaseSpace
Definition:
ML2SinputData.hh:76
Sparticle::kinEnergy
G4double kinEnergy
Definition:
ML2SinputData.hh:87
G4RotationMatrix.hh
Sparticle::volumeName
G4String volumeName
Definition:
ML2SinputData.hh:89
SGeneralData::ROGOutFile
G4String ROGOutFile
Definition:
ML2SinputData.hh:72
Svoxel
Definition:
ML2SinputData.hh:100
Sparticle::volumeId
G4int volumeId
Definition:
ML2SinputData.hh:88
G4double
double G4double
Definition:
G4Types.hh:76
SGeneralData::fileExperimentalDataOut
G4String fileExperimentalDataOut
Definition:
ML2SinputData.hh:69
Svoxel::halfSize
G4ThreeVector halfSize
Definition:
ML2SinputData.hh:102
SvolumeNameId
Definition:
ML2SinputData.hh:106
SGeneralData::nBeam
G4int nBeam
Definition:
ML2SinputData.hh:70
idSD_ComponentROG
Definition:
ML2SinputData.hh:58
SGeneralData::PhaseSpaceOutFile
G4String PhaseSpaceOutFile
Definition:
ML2SinputData.hh:72
G4String
Definition:
G4String.hh:45
geant4.10.00.p02
examples
advanced
medical_linac
include
ML2SinputData.hh
Generated on Thu Dec 31 2015 10:39:31 for Geant4 by
1.8.8