File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
k4Interface/include/k4Interface Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 4
4
// Gaudi
5
5
#include " GaudiKernel/IAlgTool.h"
6
6
7
+ #include < unordered_map>
8
+
7
9
namespace edm4hep {
8
10
class CalorimeterHit ;
9
11
}
@@ -18,7 +20,7 @@ class ITopoClusterInputTool : virtual public IAlgTool {
18
20
public:
19
21
DeclareInterfaceID (ITopoClusterInputTool, 1 , 0 );
20
22
21
- virtual StatusCode cellIDMap (std::map <uint64_t , double >& aCells) = 0;
23
+ virtual StatusCode cellIDMap (std::unordered_map <uint64_t , double >& aCells) = 0;
22
24
};
23
25
24
26
#endif /* RECINTERFACE_ITOPOCLUSTERINPUTTOOL_H */
Original file line number Diff line number Diff line change @@ -29,9 +29,10 @@ class ITowerTool : virtual public IAlgTool {
29
29
virtual tower towersNumber () = 0;
30
30
/* * Build calorimeter towers.
31
31
* @param[out] aTowers Calorimeter towers.
32
+ * @param[in] fillTowersCells Whether to fill maps of cells into towers, for later use in attachCells
32
33
* @return Size of the cell collection.
33
34
*/
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;
35
36
/* * Get the radius for the position calculation.
36
37
* @return Radius
37
38
*/
You can’t perform that action at this time.
0 commit comments