ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_Clusterization.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef INDETPREPRAWDATAFORMATION_SCT_CLUSTERIZATION_H
13#define INDETPREPRAWDATAFORMATION_SCT_CLUSTERIZATION_H
14
17
23
31
33#include "GaudiKernel/ServiceHandle.h"
34#include "GaudiKernel/ToolHandle.h"
35
37#include <map>
38#include <string>
39
40class ISvcLocator;
41class SCT_ID;
42class StatusCode;
44
45namespace InDet {
54public:
56 SCT_Clusterization(const std::string& name, ISvcLocator* pSvcLocator);
57
62
63 virtual StatusCode initialize() override;
65 virtual StatusCode execute(const EventContext& ctx) const override;
67 virtual StatusCode finalize() override;
69 virtual bool isClonable() const override { return true; };
71
72private:
81
86 ToolHandle<IRegSelTool> m_regionSelector{this, "RegSelTool", "RegSelTool/RegSel_SCT", "region selector tool for HLT"};
87 ToolHandle<ISCT_ClusteringTool> m_clusteringTool{this, "clusteringTool", "InDet::SCT_ClusteringTool"};
88 ToolHandle<IInDetConditionsTool> m_pSummaryTool{this, "conditionsTool", "SCT_ConditionsSummaryTool/InDetSCT_ConditionsSummaryTool", "Tool to retrieve SCT conditions summary"};
89 ToolHandle< GenericMonitoringTool > m_monTool { this, "MonTool", "", "Monitoring tool" };
90 const SCT_ID* m_idHelper{nullptr};
92
99 SG::ReadHandleKey<SCT_RDO_Container> m_rdoContainerKey{this, "DataObjectName", "SCT_RDOs", "SCT RDOs"};
100 SG::WriteHandleKey<SCT_ClusterContainer> m_clusterContainerKey{this, "ClustersName", "SCT_Clusters", "SCT cluster container"};
101 SG::WriteHandleKey<SiClusterContainer> m_clusterContainerLinkKey{this, "ClustersLinkName_", "SCT_Clusters", "SCT cluster container link name (don't set this)"};
102 SG::WriteHandleKey<IDCInDetBSErrContainer> m_flaggedCondDataKey{this, "SCT_FlaggedCondData", "SCT_FlaggedCondData", "SCT flagged conditions data"};
103
108
109
114 {this, "SCTDetElStatus", "", "Key of SiDetectorElementStatus for SCT"};
115
120 UnsignedIntegerProperty m_maxFiredStrips{this, "maxFiredStrips", 384, "Threshold of number of fired strips per wafer, to mask noisy modules. 0 disables the per-wafer cut."};
121 UnsignedIntegerProperty m_maxTotalOccupancyPercent{this, "maxTotalOccupancyInPercent", 100, "Threshold of percentage of fired strips for the whole SCT. 100 disables the whole SCT cut."};
122 BooleanProperty m_roiSeeded{this, "isRoI_Seeded", false, "Use RoI"};
123 BooleanProperty m_checkBadModules{this, "checkBadModules", true, "Flag to check bad modules using InDetSCT_ConditionsSummaryTool"};
124 Gaudi::Property<bool> m_useDataPoolWithCache{
125 this, "useDataPoolWithCache", false, "use DataPool With Cache"};
126
128};
129
130}
131
132#endif // INDETRIOMAKER_SCT_CLUSTERIZATION_H
Header file for the ISCT_ClusteringTool class.
Header file to be included by clients of the Monitored infrastructure.
An algorithm that can be simultaneously executed in multiple threads.
ToolHandle< ISCT_ClusteringTool > m_clusteringTool
ToolHandle< GenericMonitoringTool > m_monTool
SCT_Clusterization(const SCT_Clusterization &)=delete
virtual StatusCode initialize() override
Retrieve the tools used and initialize handle keys.
SG::WriteHandleKey< SiClusterContainer > m_clusterContainerLinkKey
ToolHandle< IInDetConditionsTool > m_pSummaryTool
SG::ReadHandleKey< SCT_RDO_Container > m_rdoContainerKey
SCT_Clusterization(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::UpdateHandleKey< IDCInDetBSErrContainer_Cache > m_flaggedCondCacheKey
For HLT cache.
SCT_Clusterization & operator=(const SCT_Clusterization &)=delete
SG::WriteHandleKey< IDCInDetBSErrContainer > m_flaggedCondDataKey
ToolHandle< IRegSelTool > m_regionSelector
SG::ReadHandleKey< InDet::SiDetectorElementStatus > m_sctDetElStatus
Optional read handle to get status data to test whether a SCT detector element is good.
UnsignedIntegerProperty m_maxTotalOccupancyPercent
virtual bool isClonable() const override
Make this algorithm clonable.
virtual StatusCode finalize() override
Finalize (nothing done actually)
virtual StatusCode execute(const EventContext &ctx) const override
Form clusters and record them in StoreGate by WriteHandle.
Gaudi::Property< bool > m_useDataPoolWithCache
SG::WriteHandleKey< SCT_ClusterContainer > m_clusterContainerKey
UnsignedIntegerProperty m_maxFiredStrips
SG::UpdateHandleKey< SCT_ClusterContainerCache > m_clusterContainerCacheKey
For HLT cache.
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiCollectionKey
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which an UpdateHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Primary Vertex Finder.