Skip to content
Snippets Groups Projects
  1. Jan 06, 2025
  2. Dec 18, 2024
  3. Nov 15, 2024
  4. Sep 10, 2024
  5. May 02, 2024
  6. Apr 16, 2024
    • Joseph Earl Lambert's avatar
      CPAlgs: everything is an option, improve prinouts, add info string · cbd69364
      Joseph Earl Lambert authored and Adam Edward Barton's avatar Adam Edward Barton committed
      CPAlgs: everything is an option, improve prinouts, add info string
      
      Added logging to config seq, block, factory, text.
      
      Added info string for the majority of the block options.
      
      Made all __init__ args options for the block. The init args are
      still there but they are no longer required when initializing the block
      so that the changes are backwards compatible.
      
      Improved print outs in config seq, block, factory, text.
      
      ConfigFactory(Text).printAlgs will now print all information about
      the block that is avaiable (info string, default, type, required,
      and noneAction). This can be used as documentation for the different
      blocks.
      cbd69364
  7. Mar 15, 2024
  8. Feb 23, 2024
  9. Feb 20, 2024
  10. Feb 05, 2024
  11. Dec 21, 2023
    • Joseph Earl Lambert's avatar
      Replace ConfigFactory used in block config with backend for text config so both are consistent. · 5b0e0364
      Joseph Earl Lambert authored and Frank Winklmeier's avatar Frank Winklmeier committed
      Default blocks are added by default. PRW parameters are obtained from ConfigAccumulator.
      
      Add autoconfigFlags as an attribute to the ConfigAccumulator so information can be
      obtained in other blocks.
      
      Update the PileupReweighting block so that campaign, input files, and useDefaultConfig
      can be obtained from autoconfigFlags. The wrapper function that handeled this before has
      been removed.
      
      addDefaultAlgs function is now part of the ConfigFactory class and is called
      automatically when initializing an object instance. Default parameters are now
      obtained from ConfigAccumulator except for noSystematics flag so that this can
      be changed from the command line if not specified directly.
      5b0e0364
  12. Dec 19, 2023
  13. Nov 21, 2023
  14. Nov 14, 2023
  15. Oct 31, 2023
  16. Oct 25, 2023
  17. Oct 24, 2023
    • Joseph Earl Lambert's avatar
      TextConfig: config order determined when adding blocks; sub-blocks do not need unique names · da2c18f0
      Joseph Earl Lambert authored and Vakhtang Tsulaia's avatar Vakhtang Tsulaia committed
      TextConfig: config order determined when adding blocks; sub-blocks do not need to be unique
      
      Previously, the order tht blocks would be configured was determined by the order that
      the blocks appeared in the yaml file. This could lead to some strange issues when the
      order that the blocks are configured in matters. The order that the blocks are
      configured now is by default the order that the blocks are added to the TextConfig
      class instance but, this can be changed by specifying a `pos` arguement that
      corresponds to the name of a previously added algorithm.
      
      The sub-blocks must now be associated with a super-block using the `superBlocks` arguement
      when adding the config block. This can be a list or a single string. Since the sub-blocks
      are now asscoiated with the super-blcoks, the same name in the yaml file can
      correspond to different config blocks depending on the context.
      da2c18f0
  18. Oct 20, 2023
  19. Oct 16, 2023
  20. Oct 12, 2023
    • Joseph Earl Lambert's avatar
      TextConfiguration: Fix bug that would cause ftag blocks to be mis-configured... · 3be8033c
      Joseph Earl Lambert authored and Edward Moyse's avatar Edward Moyse committed
      TextConfiguration: Fix bug that would cause ftag blocks to be mis-configured when 'postfix' was not set.
      
      When creating and configuring an instance of the FTag config block, if 'postfix'
      was left as the empty string (i.e. ''), the block would not be configured properly.
      To prevent this, the config sequence returned from 'makeConfig' is configured before
      being added to the global config sequence that accumulates configured blocks.
      
      A small function was also added that will print out all config blocks in a config
      sequence and their configuration to help debugging similar issues in the future.
      3be8033c
  21. Oct 10, 2023
    • Joseph Earl Lambert's avatar
      ConfigText: Allow algorithms to be configured using a YAML configuration file · 99abc6b4
      Joseph Earl Lambert authored and Edward Moyse's avatar Edward Moyse committed
      ConfigText: Allow algorithms to be configured using a YAML configuration file
      
      ConfigTex.py contains the implementation to read, print, and process a YAML configuration
      file. The contents of the configuration files will be used to configure the algorithms
      used to define objects, OLR, define input and ouput.
      
      An example configuration file has been added to the data directory to demonstrate a simple
      analysis configuration as well as provide information on the available options and the
      expected type.
      
      The implementation requires the pyyaml package that is currently not included in
      AnalysisBase releases and must be installed manually. The package has been requrested
      in ATLINFR-4882.
      99abc6b4
Loading