From af139037332ba84d231c4a626e01bc41a3cf5e62 Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 10 Feb 2023 01:01:29 +0000
Subject: [PATCH] treewide: s/ClustersAssociations/ClusterAssociations/

---
 options/reconstruction.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/options/reconstruction.py b/options/reconstruction.py
index 9faa6888..4daa8ea7 100644
--- a/options/reconstruction.py
+++ b/options/reconstruction.py
@@ -484,7 +484,7 @@ ce_ecal_clreco = RecoCoG(
     mcHits="EcalEndcapNHits",  # to create truth associations
     inputProtoClusterCollection=ce_ecal_cl.outputProtoClusters,
     outputClusterCollection="EcalEndcapNClusters",
-    outputAssociations="EcalEndcapNClustersAssociations",
+    outputAssociations="EcalEndcapNClusterAssociations",
     logWeightBase=4.6,
 )
 algorithms.append(ce_ecal_clreco)
@@ -494,7 +494,7 @@ ce_ecal_clmerger = ClusterMerger(
     inputClusters=ce_ecal_clreco.outputClusterCollection,
     inputAssociations=ce_ecal_clreco.outputAssociations,
     outputClusters="EcalEndcapNMergedClusters",
-    outputAssociations="EcalEndcapNMergedClustersAssociations",
+    outputAssociations="EcalEndcapNMergedClusterAssociations",
 )
 algorithms.append(ce_ecal_clmerger)
 
@@ -558,7 +558,7 @@ ci_ecal_clreco = RecoCoG(
     mcHits=ci_ecal_cl.mcHits,
     inputProtoClusterCollection=ci_ecal_cl.outputProtoClusters,
     outputClusterCollection="EcalEndcapPClusters",
-    outputAssociations="EcalEndcapPClustersAssociations",
+    outputAssociations="EcalEndcapPClusterAssociations",
     enableEtaBounds=True,
     logWeightBase=6.2,
 )
@@ -569,7 +569,7 @@ ci_ecal_clmerger = ClusterMerger(
     inputClusters=ci_ecal_clreco.outputClusterCollection,
     inputAssociations=ci_ecal_clreco.outputAssociations,
     outputClusters="EcalEndcapPMergedClusters",
-    outputAssociations="EcalEndcapPMergedClustersAssociations",
+    outputAssociations="EcalEndcapPMergedClusterAssociations",
 )
 algorithms.append(ci_ecal_clmerger)
 
@@ -675,7 +675,7 @@ if has_ecal_barrel_imaging:
         mcHits=scfi_barrel_digi.inputHitCollection,
         inputProtoClusterCollection=scfi_barrel_cl.outputProtoClusterCollection,
         outputClusterCollection="EcalBarrelScFiClusters",
-        outputAssociations="EcalBarrelScFiClustersAssociations",
+        outputAssociations="EcalBarrelScFiClusterAssociations",
         logWeightBase=6.2,
     )
     algorithms.append(scfi_barrel_clreco)
@@ -689,7 +689,7 @@ if has_ecal_barrel_imaging:
         inputPositionClusters=img_barrel_clreco.outputClusters,
         inputPositionAssociations=img_barrel_clreco.outputAssociations,
         outputClusters="EcalBarrelMergedClusters",
-        outputAssociations="EcalBarrelMergedClustersAssociations",
+        outputAssociations="EcalBarrelMergedClusterAssociations",
     )
     algorithms.append(barrel_clus_merger)
 
@@ -744,7 +744,7 @@ else:
         mcHits="EcalBarrelSciGlassHits",
         inputProtoClusterCollection=sciglass_ecal_cl.outputProtoClusters,
         outputClusterCollection="EcalBarrelClusters",
-        outputAssociations="EcalBarrelClustersAssociations",
+        outputAssociations="EcalBarrelClusterAssociations",
         enableEtaBounds=True,
         logWeightBase=6.2,
     )
@@ -755,7 +755,7 @@ else:
         inputClusters=sciglass_ecal_clreco.outputClusterCollection,
         inputAssociations=sciglass_ecal_clreco.outputAssociations,
         outputClusters="EcalBarrelMergedClusters",
-        outputAssociations="EcalBarrelMergedClustersAssociations",
+        outputAssociations="EcalBarrelMergedClusterAssociations",
     )
     algorithms.append(barrel_clus_merger)
 
@@ -807,7 +807,7 @@ cb_hcal_clreco = RecoCoG(
     mcHits=cb_hcal_digi.inputHitCollection,
     inputProtoClusterCollection=cb_hcal_cl.outputProtoClusterCollection,
     outputClusterCollection="HcalBarrelClusters",
-    outputAssociations="HcalBarrelClustersAssociations",
+    outputAssociations="HcalBarrelClusterAssociations",
     logWeightBase=6.2,
 )
 algorithms.append(cb_hcal_clreco)
@@ -858,7 +858,7 @@ ci_hcal_clreco = RecoCoG(
     mcHits=ci_hcal_digi.inputHitCollection,
     inputProtoClusterCollection=ci_hcal_cl.outputProtoClusterCollection,
     outputClusterCollection="HcalEndcapPClusters",
-    outputAssociations="HcalEndcapPClustersAssociations",
+    outputAssociations="HcalEndcapPClusterAssociations",
     logWeightBase=6.2,
 )
 algorithms.append(ci_hcal_clreco)
@@ -909,7 +909,7 @@ ce_hcal_clreco = RecoCoG(
     mcHits=ce_hcal_digi.inputHitCollection,
     inputProtoClusterCollection=ce_hcal_cl.outputProtoClusterCollection,
     outputClusterCollection="HcalEndcapNClusters",
-    outputAssociations="HcalEndcapNClustersAssociations",
+    outputAssociations="HcalEndcapNClusterAssociations",
     logWeightBase=6.2,
 )
 algorithms.append(ce_hcal_clreco)
-- 
GitLab