From 7f1ff2c13b950caf0bac1cf077ee7ca3c0b730a7 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Fri, 28 Oct 2022 14:24:56 +0000 Subject: [PATCH] feat: disable barrel hcal reconstruction beyond digitization --- options/reconstruction.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/options/reconstruction.py b/options/reconstruction.py index d9298276..b1f2aea8 100644 --- a/options/reconstruction.py +++ b/options/reconstruction.py @@ -777,8 +777,6 @@ cb_hcal_reco = CalHitReco( thresholdFactor=5.0, samplingFraction=cb_hcal_sf, readoutClass="HcalBarrelHits", - layerField="layer", - sectorField="module", **cb_hcal_daq, ) algorithms.append(cb_hcal_reco) @@ -788,10 +786,10 @@ cb_hcal_merger = CalHitsMerger( inputHitCollection=cb_hcal_reco.outputHitCollection, outputHitCollection="HcalBarrelMergedHits", readoutClass="HcalBarrelHits", - fields=["layer", "slice"], - fieldRefNumbers=[1, 0], + fields=["tower"], + fieldRefNumbers=[0], ) -algorithms.append(cb_hcal_merger) +#algorithms.append(cb_hcal_merger) cb_hcal_cl = IslandCluster( "cb_hcal_cl", @@ -801,7 +799,7 @@ cb_hcal_cl = IslandCluster( minClusterCenterEdep=30.0 * MeV, localDistXY=[15.0 * cm, 15.0 * cm], ) -algorithms.append(cb_hcal_cl) +#algorithms.append(cb_hcal_cl) cb_hcal_clreco = RecoCoG( "cb_hcal_clreco", @@ -811,7 +809,7 @@ cb_hcal_clreco = RecoCoG( outputAssociations="HcalBarrelClustersAssoc", logWeightBase=6.2, ) -algorithms.append(cb_hcal_clreco) +#algorithms.append(cb_hcal_clreco) # Hcal Hadron Endcap ci_hcal_daq = calo_daq["hcal_pos_endcap"] @@ -1080,7 +1078,7 @@ match_clusters = MatchClusters( str(barrel_clus_merger.outputClusters), str(ci_ecal_clmerger.outputClusters), str(ce_hcal_clreco.outputClusterCollection), - str(cb_hcal_clreco.outputClusterCollection), + #str(cb_hcal_clreco.outputClusterCollection), str(ci_hcal_clreco.outputClusterCollection), ], inputClustersAssoc=[ @@ -1088,7 +1086,7 @@ match_clusters = MatchClusters( str(barrel_clus_merger.outputAssociations), str(ci_ecal_clmerger.outputAssociations), str(ce_hcal_clreco.outputAssociations), - str(cb_hcal_clreco.outputAssociations), + #str(cb_hcal_clreco.outputAssociations), str(ci_hcal_clreco.outputAssociations), ], outputParticles="ReconstructedParticles", -- GitLab