ATLAS Offline Software
Loading...
Searching...
No Matches
Tracking/Acts/ActsToolInterfaces/ActsToolInterfaces/IPixelClusteringTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTOOLINTERFACES_IPIXELPIXELCLUSTERINGTOOL_H
6#define ACTSTOOLINTERFACES_IPIXELPIXELCLUSTERINGTOOL_H
7
8#include <GaudiKernel/IAlgTool.h>
16#include "Acts/Clusterization/Clusterization.hpp"
17
18namespace ActsTrk {
19
20class IPixelClusteringTool : virtual public IAlgTool {
21public:
23
29
30 struct Cell {
31 Cell(int row, int col, int tot, int lvl1, Identifier::value_type id):
32 ROW(row), COL(col), TOT(tot), LVL1(lvl1), ID(id) {};
33
34 int ROW;
35 int COL;
36 int TOT;
37 int LVL1;
38 Identifier::value_type ID ;
39 };
40
41 using CellCollection = std::vector<Cell>;
42
43 struct Cluster {
44 std::vector<Identifier::value_type> ids;
45 std::vector<int> tots;
46 int lvl1min = std::numeric_limits<int>::max();
47 };
48 using ClusterCollection = std::vector<Cluster>;
49
50 virtual StatusCode
51 clusterize(const EventContext& ctx,
52 const RawDataCollection& RDOs,
53 const InDet::SiDetectorElementStatus& pixelDetElStatus,
54 const InDetDD::SiDetectorElement& element,
55 Acts::Ccl::ClusteringData& data,
56 std::vector<ClusterCollection>& collection) const = 0;
57
58 virtual StatusCode
59 makeClusters(const EventContext& ctx,
60 ClusterCollection& cluster,
61 const InDetDD::SiDetectorElement& element,
62 typename ClusterContainer::iterator itrContainer) const = 0;
63};
64
65}
66
67#endif
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
This is an Identifier helper class for the Pixel subdetector.
InDetRawDataContainer< InDetRawDataCollection< PixelRDORawData > > PixelRDO_Container
virtual StatusCode makeClusters(const EventContext &ctx, ClusterCollection &cluster, const InDetDD::SiDetectorElement &element, typename ClusterContainer::iterator itrContainer) const =0
DeclareInterfaceID(IPixelClusteringTool, 1, 0)
virtual StatusCode clusterize(const EventContext &ctx, const RawDataCollection &RDOs, const InDet::SiDetectorElementStatus &pixelDetElStatus, const InDetDD::SiDetectorElement &element, Acts::Ccl::ClusteringData &data, std::vector< ClusterCollection > &collection) const =0
DataModel_detail::iterator< DataVector > iterator
Definition DataVector.h:842
Class to hold geometrical description of a silicon detector element.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
PixelClusterContainer_v1 PixelClusterContainer
Define the version of the pixel cluster container.
PixelClusterAuxContainer_v1 PixelClusterAuxContainer
Definition of the current pixel cluster auxiliary container.
Cell(int row, int col, int tot, int lvl1, Identifier::value_type id)