MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
tally_data.h
1#ifndef MCXRAYTRANSPORT_TALLY_DATA_H
2#define MCXRAYTRANSPORT_TALLY_DATA_H
3
4#include "photon.h"
5#include "voxel.h"
6
13 Voxel& voxel;
14 double energy_deposited = 0.0;
15
16 explicit TempVoxelData(Voxel& voxel) : voxel(voxel) {}
17};
18
25 double free_path = 0.0;
26 bool isInteract = false;
27 double entrance_cosine = 0.0;
28 bool already_counted = false;
29 Photon initial_photon;
30};
31
38 double energy_deposited = 0.0;
39 double free_path = 0.0;
40 bool isInteract = false;
41 bool already_counted = false;
42 Photon initial_photon;
43 Photon final_photon;
44};
45
52 Eigen::Vector<double, Eigen::Dynamic> energy_deposition;
53 Eigen::Vector<double, Eigen::Dynamic> incident_energy;
54 Eigen::Vector<double, Eigen::Dynamic> primary_incident_energy;
55 Eigen::Vector<double, Eigen::Dynamic> secondary_incident_energy;
56 Eigen::Vector<double, Eigen::Dynamic> single_coherent_incident_energy;
57 Eigen::Vector<double, Eigen::Dynamic> single_incoherent_incident_energy;
58 Eigen::Vector<double, Eigen::Dynamic> multiple_scatter_incident_energy;
59 int number_of_particles = 0;
60 int number_of_primary_particles = 0;
61 int number_of_secondary_particles = 0;
62 Eigen::Vector<double, Eigen::Dynamic> entrance_cosines;
63 Eigen::Vector<double, Eigen::Dynamic> primary_entrance_cosines;
64 int number_of_interactions = 0;
65 double area = 0.0;
66};
67
74 Eigen::Vector<double, Eigen::Dynamic> energy_deposition;
75 Eigen::Vector<double, Eigen::Dynamic> incident_energy;
76 Eigen::Vector<double, Eigen::Dynamic> primary_incident_energy;
77 Eigen::Vector<double, Eigen::Dynamic> secondary_incident_energy;
78 Eigen::Vector<double, Eigen::Dynamic> single_coherent_incident_energy;
79 Eigen::Vector<double, Eigen::Dynamic> single_incoherent_incident_energy;
80 Eigen::Vector<double, Eigen::Dynamic> multiple_scatter_incident_energy;
81 int number_of_particles = 0;
82 int number_of_primary_particles = 0;
83 int number_of_secondary_particles = 0;
84 Eigen::Vector<double, Eigen::Dynamic> entrance_cosines;
85 Eigen::Vector<double, Eigen::Dynamic> primary_entrance_cosines;
86 int number_of_interactions = 0;
87 double area = 0.0;
88};
89
90#endif //MCXRAYTRANSPORT_TALLY_DATA_H
Class which represents a photon. Inherits from Particle.
Definition photon.h:25
Struct which stores data for a surface tally.
Definition tally_data.h:73
Struct which represents the temporary data for a surface tally.
Definition tally_data.h:24
Struct which represents the temporary data for a volume tally.
Definition tally_data.h:37
Struct which represents the temporary data for a voxel.
Definition tally_data.h:12
Struct which stores data for a volume tally.
Definition tally_data.h:51
Struct which represents a voxel.
Definition voxel.h:12