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
ML2SinputData.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file 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
27
28
#ifndef inputDataH
29
#define inputDataH
30
31
32
#include "
globals.hh
"
33
#include <vector>
34
#include "
G4RotationMatrix.hh
"
35
36
enum
idParticleSource
37
{
38
id_randomTarget
=1,
39
id_phaseSpace
=2
40
};
41
enum
idTypeOfSensitiveDetector
42
{
43
idSD_ComponentROG
= 1,
44
idSD_PhaseSpace
= 2,
45
idSD_KillerPlane
= 3
46
};
47
struct
SStartInputData
48
{
49
G4String
fileInputData
;
50
G4int
seed
;
51
};
52
struct
SGeneralData
53
{
54
G4String
WorldName
,
fileExperimentalData
,
fileExperimentalDataOut
,
StartFileInputData
;
55
G4int
seed
,
nBeam
,
nMaxParticlesInRamPlanePhaseSpace
;
56
G4bool
bSaveROG
,
bCompareExp
;
57
G4String
PhaseSpaceOutFile
,
ROGOutFile
;
58
G4bool
bForcePhaseSpaceBeforeJaws
;
59
G4bool
bSavePhaseSpace
;
60
G4bool
bStopAtPhaseSpace
;
61
G4ThreeVector
centrePhaseSpace
,
halfSizePhaseSpace
;
62
63
G4int
maxNumberOfEvents
,
nMaxLoop
;
64
int
saving_in_Selected_Voxels_every_events
;
65
int
saving_in_ROG_Voxels_every_events
;
66
int
max_N_particles_in_PhSp_File
;
67
};
68
69
struct
Sparticle
70
{
71
G4ThreeVector
pos
,
dir
;
72
G4double
kinEnergy
;
73
G4int
nPrimaryPart
,
primaryParticlePDGE
,
partPDGE
,
volumeId
;
74
G4String
volumeName
;
75
};
76
struct
SPrimaryParticle
77
{
78
G4int
partPDGE
,
nPrimaryParticle
;
79
};
80
// SUSANNA: added in input data
81
struct
SvoxelSegmentation
82
{
83
// SUSANNA - changed here
84
G4int
nX
,
nY
,
nZ
;
85
};
86
87
struct
SInputData
88
{
89
SGeneralData
generalData
;
90
SPrimaryParticle
primaryParticleData
;
91
SvoxelSegmentation
voxelSegmentation
;
92
};
93
struct
Svoxel
94
{
95
G4ThreeVector
pos
,
halfSize
;
96
G4double
depEnergy
,
depEnergy2
,
expDose
,
depEnergyNorm
,
depEnergyNormError
;
97
G4int
nEvents
,
volumeId
;
98
};
99
100
struct
SvolumeNameId
101
{
102
G4String
volumeName
;
103
G4int
volumeId
;
104
};
105
106
#endif
geant4
tree
geant4-10.6-release
examples
advanced
medical_linac
include
ML2SinputData.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:59
using
1.8.2 with
ECCE GitHub integration