Skip to content

Commit ade17cd

Browse files
adding macro to create space charge density maps from simulations
For each created space charge density map the IDCs (3D, 1D, 0D) and the distortions/corrections are calculated and stored in root files. This macro can for example be used to create the input data for the ML algorithms which will be used to correct the space charge distortions. The input to create the density maps are hits from an O2 simulation ("o2sim_HitsTPC.root").
1 parent bdf30b0 commit ade17cd

File tree

2 files changed

+828
-0
lines changed

2 files changed

+828
-0
lines changed

Detectors/TPC/spacecharge/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ o2_add_test_root_macro(macro/createResidualDistortionObject.C
3737
O2::CommonUtils
3838
LABELS tpc)
3939

40+
41+
install(FILES macro/createSCHistosFromHits.C
42+
DESTINATION share/macro/)
43+
44+
o2_add_test_root_macro(macro/createSCHistosFromHits.C
45+
PUBLIC_LINK_LIBRARIES O2::TPCSpaceCharge
46+
O2::CommonUtils
47+
O2::TPCBase
48+
O2::TPCSimulation
49+
O2::DataFormatsTPC
50+
O2::MathUtils
51+
LABELS tpc)
52+
4053
o2_add_test(PoissonSolver
4154
COMPONENT_NAME spacecharge
4255
PUBLIC_LINK_LIBRARIES O2::TPCSpaceCharge

0 commit comments

Comments
 (0)