Skip to content
Snippets Groups Projects
Commit c7d42b7a authored by Tadej Novak's avatar Tadej Novak
Browse files

Merge branch 'UnusedObject' into 'main'

Remove unused Si Detector Element Collection

See merge request atlas/athena!69389
parents b8bbebf1 7792ba2f
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,6 @@ def ActsPixelClusterizationAlgCfg(flags,
**kwargs) -> ComponentAccumulator:
acc = ComponentAccumulator()
kwargs.setdefault("SiDetectorElementCollectionKey", "ITkPixelDetectorElementCollection")
kwargs.setdefault("expectedClustersPerRDO", 32)
kwargs.setdefault("IDHelper", "PixelID")
kwargs.setdefault("RDOContainerKey", "ITkPixelRDOs")
......@@ -87,7 +86,6 @@ def ActsStripClusterizationAlgCfg(flags,
kwargs.setdefault("RDOContainerKey", "ITkStripRDOs")
kwargs.setdefault("ClustersKey", "ITkStripClusters")
kwargs.setdefault("SiDetectorElementCollectionKey", "ITkStripDetectorElementCollection")
kwargs.setdefault("expectedClustersPerRDO", 6)
kwargs.setdefault("IDHelper", "SCT_ID")
# Regional selection
......
......@@ -12,7 +12,6 @@
#include <StoreGate/WriteHandleKey.h>
#include <TrigSteeringEvent/TrigRoiDescriptorCollection.h>
#include <IRegionSelector/IRegSelTool.h>
#include <InDetReadoutGeometry/SiDetectorElementCollection.h>
#include "Cache.h"
namespace ActsTrk {
......@@ -57,13 +56,6 @@ private:
this, "RegSelTool", "", "Region selector tool"
};
SG::ReadCondHandleKey<InDetDD::SiDetectorElementCollection> m_detEleCollKey {
this,
"SiDetectorElementCollectionKey",
"",
"Si detector element collection key"
};
SG::ReadHandleKey<RDOContainer> m_rdoContainerKey {
this,
"RDOContainerKey",
......
......@@ -17,7 +17,6 @@ StatusCode ClusterizationAlg<IClusteringTool>::initialize()
{
ATH_MSG_DEBUG("Initializing " << name() << " ...");
ATH_CHECK(m_detEleCollKey.initialize());
ATH_CHECK(m_rdoContainerKey.initialize());
ATH_CHECK(m_clusterContainerKey.initialize());
ATH_CHECK(m_roiCollectionKey.initialize());
......@@ -45,13 +44,6 @@ StatusCode ClusterizationAlg<IClusteringTool>::execute(const EventContext& ctx)
auto timer = Monitored::Timer<std::chrono::milliseconds>( "TIME_execute" );
auto mon = Monitored::Group( m_monTool, timer );
SG::ReadCondHandle<InDetDD::SiDetectorElementCollection> detEleHandle( m_detEleCollKey, ctx );
const InDetDD::SiDetectorElementCollection* detElements( *detEleHandle );
if (detElements == nullptr) {
ATH_MSG_FATAL(m_detEleCollKey.fullKey() << " is not available.");
return StatusCode::FAILURE;
}
Cache_WriteHandle cacheHandle;
if(m_cache_enabled){
cacheHandle = Cache_WriteHandle(m_ClusterCache, ctx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment