Skip to content
Snippets Groups Projects
  1. May 27, 2024
  2. 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
  3. Mar 19, 2024
  4. Mar 14, 2024
    • Joseph Earl Lambert's avatar
      ConfigBlock: change groupName, noneAction and duplicateAction · 050689b9
      Joseph Earl Lambert authored and Walter Lampl's avatar Walter Lampl committed
      ConfigBlock: remove groupName, change noneAction, and duplicateAction
      
      The groupName variable was changed to blockName and set from a
      set/get function.
      
      Add instanceName to identify specific instances when there is a
      desire to set the value of an option in an arbitrary location and
      there is more than one instance of a block.
      
      Removed code to potentially throw an error if an option was
      set more than once.
      
      Instead of haing the user say "I am setting this option to None
      and it is okay," the noneAction variable can be set when adding
      an option. If the author of a class determines that an option
      can be set to None, then they can set this for that option.
      050689b9
  5. Jan 26, 2024
  6. Oct 17, 2023
  7. Sep 08, 2023
  8. Aug 28, 2023
  9. Feb 07, 2023
  10. Dec 13, 2022
    • Nils Krumnack's avatar
      add options to the remaining analysis configuration blocks · 342f8345
      Nils Krumnack authored
      This tries to give the same treatment given to muons and photons to
      all the other configurations, so that it should be possible to
      configure all the blocks just through the options.
      
      There is probably some cleanup that could be done here in the future,
      regarding what some of the configuration blocks should be called
      exactly, what the options exposed should be etc.  The main goal of
      this update is that I can now (more or less awkwardly) set everything
      I can via options that was previously limited to named parameters to
      the various make...Config() calls.
      
      I also added customizable behavior for setting a value of `None` on an
      option.
      342f8345
  11. Dec 05, 2022
Loading