-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from JeffersonLab/hotfix-random-seed
Hotfix random seed
- Loading branch information
Showing
6 changed files
with
47 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This will produce four files test_seed_$i.root, $i = 0,...,3. | ||
|
||
# The file test_seed_0.root should have a random seed and have unique content. | ||
# The file test_seed_1.root and test_seed_3.root should have identical content. | ||
# The file test_seed_2.root should have different content from test_seed_1.root and test_seed_3.root. | ||
|
||
/run/initialize | ||
|
||
/remoll/filename test_seed_0.root | ||
/run/beamOn 100 | ||
|
||
/remoll/filename test_seed_1.root | ||
/remoll/seed 123456 | ||
/run/beamOn 100 | ||
|
||
/remoll/filename test_seed_2.root | ||
/remoll/seed 654321 | ||
/run/beamOn 100 | ||
|
||
/remoll/filename test_seed_3.root | ||
/remoll/seed 123456 | ||
/run/beamOn 100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters