Commit 55a67d2
authored
Adding classes to calculate the space charge distortions and corrections (#4618)
* Adding classes to calculate the space charge distortions and corrections
The distortions and corrections can be calculated by using the potential
from a 3D histogram or an analytical formula as an input. These classes are
much faster and consistent than the old methods located in GPU/TPCSpaceChargeBase.
The old folder (GPU/TPCSpaceChargeBase) where all the previous classes were stored are deleted
and all other classes and macros which used the old spacecharge classes
are modified to be able to use the new spacecharge classes.
* moved CGAL includes to base class
* moved global objects in NearestNeighbour src file to own class
* adding more grid sizes for calculation of distortions/corrections
* fixed createResidualDistortionObject.C macro for new space charge classes and moved to space charge folder
* clang format
* changed macro calculateDistortionsCorrections.C to compile only
* fixed z coordinate in distortElectron
* removed CGAL package and replaced nearest neighbour searching by approximation of nearest neighbour1 parent 6e54e78 commit 55a67d2
File tree
44 files changed
+7889
-13348
lines changed- Detectors/TPC
- reconstruction
- macro
- simulation
- include/TPCSimulation
- macro
- src
- spacecharge
- include/TPCSpaceCharge
- macro
- src
- test
- GPU
- TPCFastTransformation/macro
- TPCSpaceChargeBase
- ctest
- Steer/DigitizerWorkflow/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+7889
-13348
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
Lines changed: 63 additions & 111 deletions
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 58 | | |
68 | 59 | | |
69 | 60 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
116 | 123 | | |
117 | 124 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
125 | | - | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
Lines changed: 0 additions & 244 deletions
This file was deleted.
0 commit comments