From cd109bbac8d8de467d28daec66ffe93c140c3998 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Tue, 22 Feb 2022 11:52:54 -0600
Subject: [PATCH] ClusterRecoCoG has no inputHitCollection

---
 benchmarks/clustering/options/full_cal_reco.py       | 6 ------
 benchmarks/ecal/options/endcap_e.py                  | 1 -
 benchmarks/ecal/options/endcap_i.py                  | 1 -
 benchmarks/far_forward/options/zdc_reconstruction.py | 2 --
 benchmarks/imaging_ecal/options/hybrid_cluster.py    | 1 -
 benchmarks/imaging_ecal/options/imaging_2dcluster.py | 1 -
 benchmarks/imaging_ecal/options/scfi_cluster.py      | 1 -
 7 files changed, 13 deletions(-)

diff --git a/benchmarks/clustering/options/full_cal_reco.py b/benchmarks/clustering/options/full_cal_reco.py
index 005e65a7..025451d3 100644
--- a/benchmarks/clustering/options/full_cal_reco.py
+++ b/benchmarks/clustering/options/full_cal_reco.py
@@ -100,7 +100,6 @@ ce_ecal_cl = IslandCluster("ce_ecal_cl",
         dimScaledLocalDistXY=[1.8, 1.8])          # dimension scaled dist is good for hybrid sectors with different module size
 
 ce_ecal_clreco = RecoCoG("ce_ecal_clreco",
-        inputHitCollection=ce_ecal_cl.inputHitCollection,
         inputProtoClusterCollection=ce_ecal_cl.outputProtoClusterCollection,
         outputClusterCollection="EcalEndcapNClusters",
         mcHits="EcalEndcapNHits",
@@ -145,7 +144,6 @@ ci_ecal_cl = IslandCluster("ci_ecal_cl",
         localDistXY=[10*mm, 10*mm])
 
 ci_ecal_clreco = RecoCoG("ci_ecal_clreco",
-        inputHitCollection=ci_ecal_cl.inputHitCollection,
         inputProtoClusterCollection=ci_ecal_cl.outputProtoClusterCollection,
         outputClusterCollection="EcalEndcapPClusters",
         mcHits="EcalEndcapPHits",
@@ -230,7 +228,6 @@ scfi_barrel_cl = IslandCluster("scfi_barrel_cl",
         localDistXZ=[30*mm, 30*mm])
 
 scfi_barrel_clreco = RecoCoG("scfi_barrel_clreco",
-       inputHitCollection=scfi_barrel_cl.inputHitCollection,
        inputProtoClusterCollection=scfi_barrel_cl.outputProtoClusterCollection,
        outputClusterCollection="EcalBarrelScFiClusters",
        mcHits="EcalBarrelScFiHits",
@@ -274,7 +271,6 @@ cb_hcal_cl = IslandCluster("cb_hcal_cl",
         localDistXY=[15.*cm, 15.*cm])
 
 cb_hcal_clreco = RecoCoG("cb_hcal_clreco",
-        inputHitCollection=cb_hcal_cl.inputHitCollection,
         inputProtoClusterCollection=cb_hcal_cl.outputProtoClusterCollection,
         outputClusterCollection="HcalBarrelClusters",
         mcHits="HcalBarrelHits",
@@ -314,7 +310,6 @@ ci_hcal_cl = IslandCluster("ci_hcal_cl",
         localDistXY=[15.*cm, 15.*cm])
 
 ci_hcal_clreco = RecoCoG("ci_hcal_clreco",
-        inputHitCollection=ci_hcal_cl.inputHitCollection,
         inputProtoClusterCollection=ci_hcal_cl.outputProtoClusterCollection,
         outputClusterCollection="HcalEndcapPClusters",
         mcHits="HcalEndcapPHits",
@@ -354,7 +349,6 @@ ce_hcal_cl = IslandCluster("ce_hcal_cl",
         localDistXY=[15.*cm, 15.*cm])
 
 ce_hcal_clreco = RecoCoG("ce_hcal_clreco",
-        inputHitCollection=ce_hcal_cl.inputHitCollection,
         inputProtoClusterCollection=ce_hcal_cl.outputProtoClusterCollection,
         outputClusterCollection="HcalEndcapNClusters",
         mcHits="HcalEndcapNHits",
diff --git a/benchmarks/ecal/options/endcap_e.py b/benchmarks/ecal/options/endcap_e.py
index 73863468..06d7382e 100644
--- a/benchmarks/ecal/options/endcap_e.py
+++ b/benchmarks/ecal/options/endcap_e.py
@@ -72,7 +72,6 @@ ce_ecal_cl = IslandCluster("ce_ecal_cl",
         dimScaledLocalDistXY=[1.8, 1.8])          # hybrid calorimeter with different dimensions, using a scaled dist
 
 ce_ecal_clreco = RecoCoG("ce_ecal_clreco",
-        inputHitCollection=ce_ecal_cl.inputHitCollection,
         inputProtoClusterCollection=ce_ecal_cl.outputProtoClusterCollection,
         outputClusterCollection="EcalEndcapNClusters",
         mcHits="EcalEndcapNHits",
diff --git a/benchmarks/ecal/options/endcap_i.py b/benchmarks/ecal/options/endcap_i.py
index a6738127..2de0bad0 100644
--- a/benchmarks/ecal/options/endcap_i.py
+++ b/benchmarks/ecal/options/endcap_i.py
@@ -81,7 +81,6 @@ ci_ecal_cl = IslandCluster("ci_ecal_cl",
         localDistXY=[10*mm, 10*mm])
 
 ci_ecal_clreco = RecoCoG("ci_ecal_clreco",
-        inputHitCollection=ci_ecal_cl.inputHitCollection,
         inputProtoClusterCollection=ci_ecal_cl.outputProtoClusterCollection,
         outputClusterCollection="EcalEndcapPClusters",
         mcHits="EcalEndcapPHits",
diff --git a/benchmarks/far_forward/options/zdc_reconstruction.py b/benchmarks/far_forward/options/zdc_reconstruction.py
index 1527e34f..6b075a1c 100644
--- a/benchmarks/far_forward/options/zdc_reconstruction.py
+++ b/benchmarks/far_forward/options/zdc_reconstruction.py
@@ -70,7 +70,6 @@ WSciFi_cl = IslandCluster('WSciFi_cl',
         splitCluster=True)
 
 WSciFi_clreco = RecoCoG('WSciFi_clreco',
-        inputHitCollection=WSciFi_cl.inputHitCollection,
         inputProtoClusterCollection = WSciFi_cl.outputProtoClusterCollection,
         outputClusterCollection='ZDCEcalClusters',
         mcHits="ZDCEcalHits",
@@ -85,7 +84,6 @@ PbSci_cl = IslandCluster('PbSci_cl',
         splitCluster=False)
 
 PbSci_clreco = RecoCoG('PbSci_clreco',
-        inputHitCollection=PbSci_cl.inputHitCollection,
         inputProtoClusterCollection = PbSci_cl.outputProtoClusterCollection,
         outputClusterCollection='ZDCHcalClusters',
         mcHits="ZDCHcalHits",
diff --git a/benchmarks/imaging_ecal/options/hybrid_cluster.py b/benchmarks/imaging_ecal/options/hybrid_cluster.py
index 58ea023e..6d875efd 100644
--- a/benchmarks/imaging_ecal/options/hybrid_cluster.py
+++ b/benchmarks/imaging_ecal/options/hybrid_cluster.py
@@ -131,7 +131,6 @@ scfi_barrel_cl = IslandCluster("scfi_barrel_cl",
         sectorDist=5.*cm)
 
 scfi_barrel_clreco = RecoCoG("scfi_barrel_clreco",
-       inputHitCollection=scfi_barrel_cl.inputHitCollection,
        inputProtoClusterCollection=scfi_barrel_cl.outputProtoClusterCollection,
        outputClusterCollection="EcalBarrelScFiClusters",
         mcHits="EcalBarrelScFiHits",
diff --git a/benchmarks/imaging_ecal/options/imaging_2dcluster.py b/benchmarks/imaging_ecal/options/imaging_2dcluster.py
index 92d44a9d..70b66255 100644
--- a/benchmarks/imaging_ecal/options/imaging_2dcluster.py
+++ b/benchmarks/imaging_ecal/options/imaging_2dcluster.py
@@ -76,7 +76,6 @@ imcal_barrel_cl = IslandCluster('imcal_barrel_cl',
 
 imcal_barrel_clreco = RecoCoG('imcal_barrel_clreco',
         # OutputLevel=DEBUG,
-        inputHitCollection=imcal_barrel_cl.inputHitCollection,
         inputProtoClusterCollection = imcal_barrel_cl.outputProtoClusterCollection,
         outputClusterCollection='EcalBarrelImagingClusters',
         mcHits="EcalBarrelHits",
diff --git a/benchmarks/imaging_ecal/options/scfi_cluster.py b/benchmarks/imaging_ecal/options/scfi_cluster.py
index 04d2df22..b7f52ac8 100644
--- a/benchmarks/imaging_ecal/options/scfi_cluster.py
+++ b/benchmarks/imaging_ecal/options/scfi_cluster.py
@@ -79,7 +79,6 @@ scfi_barrel_cl = IslandCluster("scfi_barrel_cl",
         localDistXZ=[30*mm, 30*mm])
 
 scfi_barrel_clreco = RecoCoG("scfi_barrel_clreco",
-       inputHitCollection=scfi_barrel_cl.inputHitCollection,
        inputProtoClusterCollection=scfi_barrel.outputProtoClusterCollection,
        outputClusterCollection="EcalBarrelScFiClusters",
        mcHits="EcalBarrelScFiHits",
-- 
GitLab