fiedl / hole-ice-study

This project aims to incorporate the effects of hole ice into the clsim photon propagation simulation of the icecube neutrino observatory.
Other
4 stars 2 forks source link

Visualize cylinders and POCAM with steamshovel #122

Open fiedl opened 4 years ago

fiedl commented 4 years ago

I would like to display GCD files with hole-ice or cable cylinders and POCAM devices with the steamshovel event viewer.

Resources:

fiedl commented 4 years ago

I'm adding the HoleIce.py artist and use my old gcd test file:

[2020-04-22 16:09:08] fiedl@fiedl-mbp ~/icecube/POCAM_scripts master ⚡
▶ ~/icecube/builds/2020-04-15_combo_merge-clsim-hole-ice/env-shell.sh

[2020-04-22 16:20:27] fiedl@fiedl-mbp ~/icecube/POCAM_scripts master ⚡
▶ steamshovel ~/icecube/gcd_with_bubble_columns_and_cables.i3

Bildschirmfoto 2020-04-22 um 16 26 29

The cylinder is visible, but the DOMs look quite huge. I'm applying this patch to reduce them to their real size. This will need some work to make this not the default later.

https://github.com/fiedl/hole-ice-study/blob/master/patches/steamshovel/private/shovelart/artists/Detector.cpp.patch

[2020-04-22 16:30:25] fiedl@fiedl-mbp ~/icecube/builds/2020-04-15_combo_merge-clsim-hole-ice
▶ ./env-shell.sh make -j 8

[2020-04-22 16:31:09] fiedl@fiedl-mbp ~/icecube/builds/2020-04-15_combo_merge-clsim
▶ ./env-shell.sh steamshovel ~/icecube/gcd_with_bubble_columns_and_cables.i3

Bildschirmfoto 2020-04-22 um 16 33 42

This looks better, but there seems to be a clipping issue. This reminds me of an issue where Alexander Kappes had a solution.

Alexander Kappes, 2014-07-11 In I3Camera, change the near parameter to prevent hiding nearby objects ("clipping").

// Camera.h

// old setting:
    I3Camera() :
        fovy(45.), w(100.), h(100.), near(10.0), far(1000000.0)

// new setting:
    I3Camera() :
        fovy(45.), w(100.), h(100.), near(0.1), far(1000000.0)
[2020-04-22 16:43:06] fiedl@fiedl-mbp ~/icecube/builds/2020-04-15_combo_merge-clsim-hole-ice
▶ ./env-shell.sh make -j 8
▶ ./env-shell.sh steamshovel ~/icecube/gcd_with_bubble_columns_and_cables.i3

Bildschirmfoto 2020-04-22 um 16 45 10

fiedl commented 4 years ago

I'm adding a simple steamshovel artist for the POCAM device.

https://icecube-spno.slack.com/files/ULGH0N92S/F012R25FAMQ/190917_pocam.pdf?origin_team=T02KFGDCN&origin_channel=DTJ57JW4B https://wiki.icecube.wisc.edu/index.php/POCAM

Bildschirmfoto 2020-05-15 um 18 27 55

The figure shows a POCAM device (right) and a cable (left).