TrigT1CaloToolInterfaces: Fix undefined behavior warning.
If we reference DataVector<xAOD::TriggerTower>, we need to include TriggerTowerContainer.h, not just TriggerTower.h. Otherwise, we won't see the DATAVECTOR_BASE macro declaring the TriggerTower inheritance, and thus we'll be using a _different_ DataVector type. This then gives ubsan warnings.
Showing
- Trigger/TrigT1/TrigT1CaloToolInterfaces/TrigT1CaloToolInterfaces/IL1CPMTowerTools.h 1 addition, 1 deletion...oolInterfaces/TrigT1CaloToolInterfaces/IL1CPMTowerTools.h
- Trigger/TrigT1/TrigT1CaloToolInterfaces/TrigT1CaloToolInterfaces/IL1TriggerTowerTool.h 1 addition, 1 deletion...Interfaces/TrigT1CaloToolInterfaces/IL1TriggerTowerTool.h
Please register or sign in to comment