Remove the depracated warning when using gconfig.C#1011
Remove the depracated warning when using gconfig.C#1011karabowi wants to merge 3 commits intoFairRootGroup:devfrom
Conversation
5986b68 to
b9c0dad
Compare
b9c0dad to
09e150a
Compare
09e150a to
f6077eb
Compare
|
Please rebase on current |
3715d06 to
453ab6c
Compare
7c189ff to
453ab6c
Compare
There was a problem hiding this comment.
I reverted my changes, because the PR turned out not quite ready for merging.
- See inline comments
- Please clean the commits from changes that are introduced and again removed within this PR.
- Two following commits have the same commit message, but one of them does not match the changes, please reword more appropriately.
(once done, press the button "Ready for review" at the bottom of this page right above the CI checks list)
| // ----- Create simulation run ---------------------------------------- | ||
| FairRunSim* run = new FairRunSim(); | ||
| run->SetName(mcEngine); // Transport engine | ||
| run->SetSimulationConfig(new FairVMCConfig()); |
There was a problem hiding this comment.
The FairVMCConfig object appears to be leaking (not going to repeat this comment for the other places in this PR).
|
The centos 7 CI tests fail, because they don't have yaml-cpp installed. As Dennis already pointed out, we should get clear on how this should be handled? |
|
Next step: Memory management. If SetSimulationConfig gets an owning pointer (as all the proposed examples do), FairRunSim should clean up that memory. My proposal would be to perform the same steps as for Sink/Source: |
b629ac1 to
0e602c3
Compare
Use the FairVMCConfig in the simulation macros. Addresses issue FairRootGroup#1010.
Added yaml-cpp requirement to main CMakeLists. Changed include order in Tutorial1 macro. Removed endl from LOG(info) in FairYamlVMCConfig.
Changes the FairGenericVMCConfig and FairRunSim, as well as macros/files using the config.
0e602c3 to
2c0dd25
Compare
|
This PR has been automatically marked as stale because it has not had recent activity. It will not be closed. |
Use the FairVMCConfig in the simulation macros.
Addresses issue #1010.
Checklist:
[ X ] Rebased against
devbranch[ X ] My name is in the resp. CONTRIBUTORS/AUTHORS file
[ X ] Followed the seven rules of great commit messages