14#ifndef SICLUSTERIZATIONTOOL_MERGEDPIXELSTOOL_H
15#define SICLUSTERIZATIONTOOL_MERGEDPIXELSTOOL_H
19#include "Identifier/Identifier.h"
29#include "GaudiKernel/ServiceHandle.h"
47 std::array<int,8>
CON{};
50 const auto pixel_less = [] (UnpackedPixelRDO
const& id1,UnpackedPixelRDO
const&
id2) ->
bool {
51 if(id1.COL ==
id2.COL)
return id1.ROW <
id2.ROW;
52 return id1.COL <
id2.COL;
61 const std::string& name,
62 const IInterface* parent);
74 const EventContext& ctx)
const override;
88 const std::vector<Identifier>& group,
89 const std::vector<int>& totgroup,
90 const std::vector<int>& lvl1group,
99 const EventContext& ctx)
const;
105 virtual StatusCode
finalize()
override;
115 const std::vector<network>& connections,
116 std::vector<UnpackedPixelRDO>& collectionID)
const;
120 ToolHandle<ClusterMakerTool>
m_clusterMaker {
this,
"globalPosAlg",
"InDet::ClusterMakerTool"};
121 ToolHandle<PixelRDOTool>
m_pixelRDOTool {
this,
"PixelRDOTool",
"InDet::PixelRDOTool"};
a typed memory pool that saves time spent allocation small object.
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the Pixel subdetector.
std::vector< std::string > split(const std::string &s, const std::string &t=":")