Skip to content
Snippets Groups Projects

Migrate GlobalChi2Fitter to in-class Gaudi properties

  1. Aug 12, 2020
    • Stephen Nicholas Swatman's avatar
      Migrate GX2Fitter to in-class Gaudi properties · ca2a26e3
      Stephen Nicholas Swatman authored
      As far as I know, using in-class Gaudi properties is the preferred and
      modern way of declaring properties for a tool. The GlobalChi2Fitter is
      currently still using the older in-constructor style properties, and
      this commit changes this to the new style. Besides being more modern,
      idiomatic Gaudi, it also means the properties, their config-level
      names, and their default values are now in a single place is which a
      lot easier to wrap the head around. The only property not migrated was
      a service handle, because of some runtime parameters being passed to
      its declaration statement.
      Verified
      ca2a26e3
Loading