Skip to content

Commit 299529a

Browse files
committed
Extend simulatin example: Test generation from previous kinematics
1 parent d8fd25c commit 299529a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • run/SimExamples/JustPrimaryKinematics

run/SimExamples/JustPrimaryKinematics/run.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@
55
# Here the mechanism is to switch off physics in the configuration file and set very
66
# tight geometry cuts so that Geant will not do work.
77

8-
o2-sim -n 10 -g pythia8 -m CAVE --configFile only_kine.ini
8+
# first stage --> produce events using Pythia8 (no transport)
9+
o2-sim -n 10 -g pythia8 -m CAVE --configFile only_primarykine.ini
10+
11+
# second stage --> read back events from O2 kine (no transport)
12+
o2-sim -n 10 -g extkinO2 --extKinFile o2sim_Kine.root -m CAVE --configFile only_primarykine.ini -o o2sim2
13+
14+
# ideally here, both kinematics files should be identical

0 commit comments

Comments
 (0)