CA-based config of PixelHitMapBuilder
This MR addresses ATLASRECTS-7852, following the hackathon we had yesterday.
The change-set includes:
- The new file HitMapBuilderConfig.py that works now at least technically
- Modernizing the HitMapBuilder cxx code a bit: Use DataHandles, move header to src, eliminate constructor in favor of in-header initalization.
The __main__
section runs technically, validating the result should be done by people more knowledgeable about the Pixel detector (@csander, @ytakubo, @goetz, @djama).
Note that the line flags.fillFromArgs()
in the __main__
section allows to override all flags from the command line. Just try
athena --CA PixelCalibAlgs/HitMapBuilderConfig.py --help (but don't try running with more than one thread, the PixelHitMapBuilder is inherently thread-hostile).