Commit 74684c5
committed
Better support to treat events from HepMC event files (multi-timeframe case)
Some users give existing .hepmc files to the event generator.
So far, this was problematic because separate timeframes will
read from the same file and due to a lack of synchronization, each
timeframe read the same events.
This is now fixed. Whenever an hepmc event file is given
as input to O2DPG-MC, we make sure that timeframes read from the HepMC
file incrementally. This is achieved through:
- sequentially producing events for timeframes
- communication of the number processed from one timeframe to the next
(via HepMCEventSkip.json file).1 parent 370b6e6 commit 74684c5
File tree
4 files changed
+43
-3
lines changed- MC/bin
- UTILS
4 files changed
+43
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
111 | 118 | | |
112 | 119 | | |
113 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
718 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
719 | 724 | | |
720 | | - | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
721 | 732 | | |
722 | 733 | | |
723 | 734 | | |
724 | 735 | | |
| 736 | + | |
725 | 737 | | |
726 | 738 | | |
| 739 | + | |
| 740 | + | |
727 | 741 | | |
728 | 742 | | |
729 | 743 | | |
| |||
742 | 756 | | |
743 | 757 | | |
744 | 758 | | |
745 | | - | |
746 | 759 | | |
747 | 760 | | |
748 | 761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments