Skip to content

Commit e4b846e

Browse files
authored
Couple of interface changes (#86)
1 parent 9155a99 commit e4b846e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

k4Interface/include/k4Interface/ITopoClusterInputTool.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// Gaudi
55
#include "GaudiKernel/IAlgTool.h"
66

7+
#include <unordered_map>
8+
79
namespace edm4hep {
810
class CalorimeterHit;
911
}
@@ -18,7 +20,7 @@ class ITopoClusterInputTool : virtual public IAlgTool {
1820
public:
1921
DeclareInterfaceID(ITopoClusterInputTool, 1, 0);
2022

21-
virtual StatusCode cellIDMap(std::map<uint64_t, double>& aCells) = 0;
23+
virtual StatusCode cellIDMap(std::unordered_map<uint64_t, double>& aCells) = 0;
2224
};
2325

2426
#endif /* RECINTERFACE_ITOPOCLUSTERINPUTTOOL_H */

k4Interface/include/k4Interface/ITowerTool.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ class ITowerTool : virtual public IAlgTool {
2929
virtual tower towersNumber() = 0;
3030
/** Build calorimeter towers.
3131
* @param[out] aTowers Calorimeter towers.
32+
* @param[in] fillTowersCells Whether to fill maps of cells into towers, for later use in attachCells
3233
* @return Size of the cell collection.
3334
*/
34-
virtual uint buildTowers(std::vector<std::vector<float>>& aTowers) = 0;
35+
virtual uint buildTowers(std::vector<std::vector<float>>& aTowers, bool fillTowersCells=true) = 0;
3536
/** Get the radius for the position calculation.
3637
* @return Radius
3738
*/

0 commit comments

Comments
 (0)