1. 24 Jan, 2019 1 commit
    • Enrico Bothmann's avatar
      Rewrite settings input using YAML · eb96f45c
      Enrico Bothmann authored
      This commit closes #10.
      
      - Replace custom configuration parsing and format with a YAML-based
        solution
      - Improve implementation of settings handling to enable features such
        as:
        - Generally only specify defaults once in the code, not scattered
          throughout with possibly different values
        - Print comprehensive report of values used for each setting at the
          end of a run
        - Warn when a setting is specified that is not used during a run (this
          is foreseen and now possible, but not implemented yet)
      
      NOTE: This is a squashed commit to keep the commit history of master
      simple. The full history of the development branch will be retained as
      10-rewrite-settings-input+commit-history in case it is needed, e.g. to
      find a (small) changeset that introduced a bug using git-bisect.
      
      A good example for new syntax is:
      Examples/V_plus_Jets/LHC_WJets/Sherpa.yaml
      
      The command line can process words using the YAML syntax, but also
      supports the old legacy syntax, at least for scalar settings.
      
      In the code, setting default settings and getting the resolved value
      for a setting can be done e.g. as follows:
      
      ```
      auto hds = Settings::GetMainSettings()["HARD_DECAYS"];
      const auto apply_br
        = hds["Apply_Branching_Ratios"].SetDefault(true).Get<bool>();
      ```
      
      Note also that Sherpa can now process several configuration files:
      `Sherpa "RUNDATA: [1.yaml, 2.yaml, ...]"`, with settings in files to the
      right taking precedence over settings in files to the left. This can be
      useful for specifying base set-ups and then deriving specialisations.
      
      A more detailed discussion of the new settings architecture is given
      in
      https://gitlab.com/sherpa-team/sherpa/wikis/The-new-Settings-implementation
      (accessing this link might require developer access to the repository).
      
      Lastly, note that physics results are guaranteed to stay the same after
      this commit. If you find that to be not true, please contact me. When
      soft physics is used, numerics sometimes causes the statistics not to be
      the same after this commit. However, I've got some patches to mitigate
      this to some degree. So in any case, contact me if you find differences
      between results generated with this commit and the preceding one.
      eb96f45c
  2. 08 Nov, 2018 1 commit
  3. 12 Jun, 2018 1 commit
    • Frank Krauss's avatar
      Implement new AMISIC and remnannt handling · 7c2b1d2b
      Frank Krauss authored
       - Functional for simple LEP- and LHC-type events
       - Minor bug-fixes in AHADIC
       - Minor updates to ATOOLS to allow for better conservation-law checks
         in blobs
       - Pull remnants out of the ISR_Handler in CSS and out of PDF into a new
         remnant handler, adding the logic of colour extraction
       - Move mass mode to allow AMISIC to have access to the Mass_Selector
       - AMISIC and REMNANTS are ready to be tuned
      7c2b1d2b
  4. 17 Mar, 2018 1 commit
  5. 14 Mar, 2018 1 commit
  6. 13 Mar, 2018 1 commit
  7. 10 Mar, 2018 1 commit
  8. 03 Mar, 2018 1 commit
  9. 25 Aug, 2017 1 commit
  10. 08 Aug, 2017 1 commit
  11. 03 Jul, 2017 1 commit
  12. 09 Mar, 2017 1 commit
  13. 04 Feb, 2017 1 commit
  14. 02 Feb, 2017 1 commit
  15. 09 Jan, 2017 1 commit
    • Enrico Bothmann's avatar
      svn merge ^/trunk/SHERPA@29448 ^/branches/readin@29448 · 1cb90c9e
      Enrico Bothmann authored
      This reintegrates the readin branch, replacing Data_Reader with its new
      subclass Default_Reader, wherever parameters are read from the run card(s) or
      the command line. This simplifies this use case and and enforces consistency.
      A lot of duplicate code is removed, too. Data_Reader is still used for more
      low-level string parsing.
      1cb90c9e
  16. 08 Apr, 2016 1 commit
  17. 07 Mar, 2016 1 commit
  18. 12 Oct, 2015 1 commit
  19. 26 Aug, 2015 1 commit
  20. 22 Aug, 2015 1 commit
  21. 16 Jun, 2015 1 commit
  22. 11 Jun, 2015 1 commit
  23. 23 May, 2015 1 commit
  24. 17 May, 2015 1 commit
  25. 15 Apr, 2015 1 commit
  26. 14 Apr, 2015 1 commit
  27. 30 Mar, 2015 1 commit
  28. 29 Mar, 2015 1 commit
  29. 28 Mar, 2015 1 commit
  30. 24 Mar, 2015 2 commits
  31. 15 Dec, 2014 1 commit
  32. 19 Nov, 2014 1 commit
  33. 18 Nov, 2014 1 commit
  34. 28 Oct, 2014 1 commit
  35. 25 Sep, 2014 1 commit
  36. 29 Aug, 2014 1 commit
  37. 20 Aug, 2014 1 commit
  38. 21 Jul, 2014 1 commit
  39. 04 Jun, 2014 1 commit