ATLAS Offline Software
PixelClusterization.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
12 #ifndef INDETRIOMAKER_PIXELCLUSTERIZATION_H
13 #define INDETRIOMAKER_PIXELCLUSTERIZATION_H
14 //STL
15 #include <string>
16 
17 //Tools
20 
21 //Gaudi
22 #include "GaudiKernel/ToolHandle.h"
23 #include "GaudiKernel/ServiceHandle.h"
24 // Base class
28 
29 //InDet
30 //can't fwd declare this, needed for typedef to Pixel_RDO_Container
39 
40 
41 // Fwd declarations
42 class PixelRDORawData;
43 class PixelID;
44 
45 namespace InDet {
46  class PixelGangedAmbiguitiesFinder;
47 }
48 
49 
50 namespace InDet {
58 public:
60 
62  PixelClusterization(const std::string &name,ISvcLocator *pSvcLocator);
63 
64  //@name Usual algorithm methods
66  virtual StatusCode initialize() override;
67  virtual StatusCode execute(const EventContext& ctx) const override;
70 
71  PixelClusterization() = delete;
75 
76 private:
78  this, "DataObjectName", "PixelRDOs"};
80  this, "RoIs", "", "RoIs to read in"};
81 
82  ToolHandle<IPixelClusteringTool> m_clusteringTool{
83  this, "clusteringTool", "InDet::MergedPixelsTool"};
85  ToolHandle<PixelGangedAmbiguitiesFinder> m_gangedAmbiguitiesFinder{
86  this, "gangedAmbiguitiesFinder", "InDet::PixelGangedAmbiguitiesFinder"};
87  ToolHandle<IRegSelTool> m_regionSelector{
88  this, "RegSelTool", "RegSelTool/RegSelTool_Pixel" };
89  ToolHandle<GenericMonitoringTool> m_monTool{
90  this, "MonTool", "", "Monitoring tool" };
91 
92  BooleanProperty m_roiSeeded{this, "isRoI_Seeded", false, "Use RoI"};
94 
96  this, "ClustersName", "PixelClusters", "Pixel cluster container"};
98  this, "ClustersLinkName_", "PixelClusters" ,
99  "Pixel cluster container link name (don't set this)"};
101  this, "AmbiguitiesMap", "PixelClusterAmbiguitiesMap",
102  "Ambiguity Map container"};
103 
105  this, "ClusterContainerCacheKey", "",
106  "Optional External Pixel cluster Cache"};
107  BooleanProperty m_useDataPoolWithCache{
108  this, "useDataPoolWithCache", false, "use DataPool With Cache"};
109 };
110 
111 }//end of ns
112 
113 #endif // INDETRIOMAKER_PIXELCLUSTERIZATION_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IRegSelTool.h
InDet::PixelClusterization::m_clusteringTool
ToolHandle< IPixelClusteringTool > m_clusteringTool
Definition: PixelClusterization.h:82
SG::UpdateHandleKey< InDet::PixelClusterContainerCache >
InDet::PixelClusterization::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: PixelClusterization.cxx:65
InDet::PixelClusterization::m_roiCollectionKey
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
Definition: PixelClusterization.h:79
InDet::PixelClusterization::m_idHelper
const PixelID * m_idHelper
Definition: PixelClusterization.h:93
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::PixelClusterization::m_clusterContainercacheKey
SG::UpdateHandleKey< InDet::PixelClusterContainerCache > m_clusterContainercacheKey
Definition: PixelClusterization.h:104
InDet::PixelClusterization::m_regionSelector
ToolHandle< IRegSelTool > m_regionSelector
Definition: PixelClusterization.h:87
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
InDet::PixelClusterization
Top Algorithm to clusterize the pixel RDOs (InDetRawDataCollection<PixelRDORawData> -> RecInputCollec...
Definition: PixelClusterization.h:57
IPixelClusteringTool.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
GenericMonitoringTool.h
InDet::PixelClusterization::operator=
PixelClusterization & operator=(const PixelClusterization &)=delete
SG::WriteHandleKey< PixelClusterContainer >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::PixelClusterization::m_useDataPoolWithCache
BooleanProperty m_useDataPoolWithCache
Definition: PixelClusterization.h:107
InDetRawDataCollection
Definition: InDetRawDataCollection.h:31
PixelGangedAmbiguitiesFinder.h
InDet::PixelClusterization::COLLECTION
InDetRawDataCollection< PixelRDORawData > COLLECTION
Definition: PixelClusterization.h:59
InDet::PixelClusterization::m_rdoContainerKey
SG::ReadHandleKey< PixelRDO_Container > m_rdoContainerKey
Definition: PixelClusterization.h:77
InDet::PixelClusterization::PixelClusterization
PixelClusterization(const PixelClusterization &)=delete
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
PixelClusterContainer.h
InDet::PixelClusterization::m_ambiguitiesMapKey
SG::WriteHandleKey< PixelGangedClusterAmbiguities > m_ambiguitiesMapKey
Definition: PixelClusterization.h:100
PixelRDO_Container.h
InDet::PixelClusterization::initialize
virtual StatusCode initialize() override
Definition: PixelClusterization.cxx:33
InDet::PixelClusterization::m_clusterContainerKey
SG::WriteHandleKey< PixelClusterContainer > m_clusterContainerKey
Definition: PixelClusterization.h:95
SiClusterContainer.h
InDet::PixelClusterization::m_roiSeeded
BooleanProperty m_roiSeeded
Definition: PixelClusterization.h:92
InDet::PixelClusterization::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: PixelClusterization.h:89
InDet::PixelClusterization::m_clusterContainerLinkKey
SG::WriteHandleKey< SiClusterContainer > m_clusterContainerLinkKey
Definition: PixelClusterization.h:97
InDetRawDataCollection.h
PixelRDORawData
Definition: PixelRDORawData.h:23
PixelID
Definition: PixelID.h:67
InDet::PixelClusterization::m_gangedAmbiguitiesFinder
ToolHandle< PixelGangedAmbiguitiesFinder > m_gangedAmbiguitiesFinder
class to find out which clusters shares ganged pixels
Definition: PixelClusterization.h:85
TrigRoiDescriptorCollection.h
InDet::PixelClusterization::PixelClusterization
PixelClusterization()=delete