[12gevmoller_sim] [JeffersonLab/remoll] 45d2ae: More complete random seed test.
GitHub
noreply at github.com
Fri Dec 15 12:57:16 EST 2017
Branch: refs/heads/hotfix-random-seed
Home: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=sdTIwPtrhsmpeLE6AE6CudXC7cVWx-CxIlJYL75uz78&e=
Commit: 45d2aecdeb7a054a9fde5a77223685a8471c6aa6
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_45d2aecdeb7a054a9fde5a77223685a8471c6aa6&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=GCOkudKOFMCYAUS9-QgUfwARKqsIgYFDxaPzx34Pvxc&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M macros/tests/test_seed.mac
Log Message:
-----------
More complete random seed test.
Creates 4 files. One with seed from urandom, two with same seed
set by /remoll/seed, third with different seed set by /remoll/seed.
Commit: 30bd77a17a78ca7d618e3b1a23eae685dfd22897
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_30bd77a17a78ca7d618e3b1a23eae685dfd22897&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=-TfcNCEsAU2rMZav3b45Tz8bTv4N3H8pXnq8hVtAksU&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M include/remollRunData.hh
Log Message:
-----------
Geant4 seeds are G4long which is typedef to long int.
Commit: ea5843fec7d0e427ae7cb346c5f23baf4bf69bc7
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_ea5843fec7d0e427ae7cb346c5f23baf4bf69bc7&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=VkRUubAT-0cYTTcKOkKWsC57e1ZJK0JNF8Xck5GtO8I&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M include/remollRun.hh
M src/remollRun.cc
Log Message:
-----------
New function remollRun::UpdateSeed to set remollRunData::fSeed
This avoids the need to call G4Random outside of remollRun. Not inside
remollRunData because that's a TObject class and dictionaries would
run into trouble with Randomize.hh includes.
Commit: c3fea22ff93fbf5ffd508a6db710b3497ad1e0bf
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_c3fea22ff93fbf5ffd508a6db710b3497ad1e0bf&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=_G9G93BZj62FZu_-_5NVmoZXTGboMkDTjKOjI1jFbbQ&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M src/remollMessenger.cc
Log Message:
-----------
Geant4 seeds are G4long. Use remollRun::UpdateSeed().
Commit: 683c75d0b741da5b4e5ecb0305739cb6be2d4525
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_683c75d0b741da5b4e5ecb0305739cb6be2d4525&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=r18gS7s2eKEa2gRq-aWGp1t0fwwACVZBONwmKC5Qi1o&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M remoll.cc
Log Message:
-----------
Use c++ ifstream for read urandom (no c-based fread)
Slightly different default seed logic:
- unless set explicitly, the seed is random
- default random seed is from urandom, unless that doesn't exist
- if urandom does not exist, random seed is from time and PID
- random seed set by /remoll/seed <int> or -r <int> command line
argument override the default random seed
Commit: f5f71657bf4eac666b80dd2bec4c11082934cb4f
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_commit_f5f71657bf4eac666b80dd2bec4c11082934cb4f&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=NAdX1OcVIJmdlCNnHJSogOQGQkxnXDiZc7KbyW2FKvI&e=
Author: Wouter Deconinck <wdconinc at gmail.com>
Date: 2017-12-15 (Fri, 15 Dec 2017)
Changed paths:
M remoll.cc
Log Message:
-----------
Let G4Random pick random engine
This fixes issue #52. Test now succeeds as expected.
Compare: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_remoll_compare_6d2161a12550...f5f71657bf4e&d=DwICaQ&c=lz9TcOasaINaaC3U7FbMev2lsutwpI4--09aP8Lu18s&r=3B3cpV8BW_CcRY44e0IgDNmqzlTXeeJsbWtRdt_HYCM&m=AmHYAkrM0FutuAn9qaJWXTfIy8llTRCRmW2lBixjP-I&s=DqXp6oMCeM9U5AvfQe5rbakdR03g7e7B6Thobb_fv0Q&e=
More information about the 12gevmoller_sim
mailing list