iLCSoft / CEDViewer

Marlin processor for the CED event display
GNU General Public License v3.0
2 stars 9 forks source link

CEDViewer with ODD detector #25

Open peter-mckeown opened 5 months ago

peter-mckeown commented 5 months ago

Goal: Trying to run CED viewer for the OpenDataDetector using main: https://gitlab.cern.ch/acts/OpenDataDetector/

Problem: No MCParticle shown and not possible to toggle complete detector geometry on and off

Steps to reproduce: source /cvmfs/sw.hsf.org/key4hep/setup.sh mkdir build & cd build cmake .. make -j$(nproc) install

source this_odd.sh cd ../scripts ddsim --enableGun --numberOfEvents 10 --gun.energy 10.0*GeV --gun.particle gamma --gun.thetaMin 1.57 --gun.thetaMax 1.57 --gun.distribution uniform --compactFile ../xml/OpenDataDetector.xml --outputFile TEST_ODD_gamma_theta1.57_10events_10GeV_edm4hep.root

running event display via wrapper as described in https://key4hep.github.io/key4hep-doc/tutorials/k4marlinwrapper/doc/starterkit/k4MarlinWrapperCLIC/CEDViaWrapper.html with correct collection names and ODD geometry

OS version: Ubuntu 22.04