Fix: Save Pixel & Strip Clusters to AOD for Phase-II Geometry
This draft of a MR resolves an issue related to saving Pixel and Strip clusters to AOD files when using samples based on the ATLAS Phase-II geometry. The problem arises due to:
- Container name differences: Pixel/Strip cluster container names differ between Phase-I and Phase-II, but are currently hardcoded;
- Different preparation functions: The process for preparing Pixel/Strip clusters for AOD varies between the two geometries.
Changes & Fixes
- Introduced two new flags to specify Pixel/Strip container names, defaulting to the current naming convention;
- Added a switch to detect the geometry version and import the correct preparation functions accordingly.
These changes are minimal and have been tested successfully with both Run 3 and Run 4 samples.