12#ifndef INDETPREPRAWDATAFORMATION_SCT_CLUSTERIZATION_H
13#define INDETPREPRAWDATAFORMATION_SCT_CLUSTERIZATION_H
33#include "GaudiKernel/ServiceHandle.h"
34#include "GaudiKernel/ToolHandle.h"
65 virtual StatusCode
execute(
const EventContext& ctx)
const override;
67 virtual StatusCode
finalize()
override;
69 virtual bool isClonable()
const override {
return true; };
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" };
105 this,
"ClusterContainerCacheKey",
""};
107 this,
"FlaggedCondCacheKey",
""};
114 {
this,
"SCTDetElStatus",
"",
"Key of SiDetectorElementStatus for SCT"};
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"};
125 this,
"useDataPoolWithCache",
false,
"use DataPool With Cache"};
Header file to be included by clients of the Monitored infrastructure.
An algorithm that can be simultaneously executed in multiple threads.
BooleanProperty m_checkBadModules
ToolHandle< ISCT_ClusteringTool > m_clusteringTool
ToolHandle< GenericMonitoringTool > m_monTool
BooleanProperty m_roiSeeded
SCT_Clusterization(const SCT_Clusterization &)=delete
const SCT_ID * m_idHelper
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.
SCT_Clusterization()=delete
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.
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.