LArStraightAbsorbers+Electrodes: remove lazy initialization of members
Similar to (!56268 (merged)) this makes several improvements to LArStraightAbsorbers and LArStraightElectodes:
- Separate setters and getters for the internal values to avoid "filled" flag and inline the getters.
- Explicitly pass
PhysicalVolumeAccessortoSlantAbs/SlantEleand make it private. - Use
static constinitialization to avoid use ofstd::once. - Merge calculation of x and y values to avoid code duplication (should also be faster).
- Use
sincos.
Relates to ATLASRECTS-7235.
Edited by Frank Winklmeier