Skip to content

Iren/gen from root

Irina Perevalova requested to merge iren/gen_from_root into main

Adding new Primary Generator RootGen (needs better name!), which reads Energy, Time, Position and Direction of Muon from SimGVD root file (branch 'MCEventSource.fMuonTracks) and produces primary particles in NTSim.

How to run:

python3 -m ntsim.ntsim_2 --generator=RootGen --RootGen.input_file="1000.root" --n_events=5 --H5Writer.h5_output_file="test_rootgen"

(how should I attach root file for tests?)

Merge request reports

Loading