Skip to content
Snippets Groups Projects

Replace draw_clusters.py

Merged Vaibhavi Gawas requested to merge vgawas-master-patch-23240 into master
Files
3
@@ -52,6 +52,7 @@ from Configurables import Jug__Reco__CalorimeterIslandCluster as IslandCluster
from Configurables import Jug__Reco__ImagingPixelReco as ImCalPixelReco
from Configurables import Jug__Reco__ImagingTopoCluster as ImagingCluster
from Configurables import Jug__Reco__ImagingClusterReco as ImagingClusterReco
from Configurables import Jug__Reco__ClusterRecoCoG as RecoCoG
# branches needed from simulation root file
sim_coll = [
@@ -108,12 +109,10 @@ if has_ecal_barrel_scfi:
) # different sector
algorithms.append(cb_ecal_cl)
cb_ecal_clreco = ImagingClusterReco(
cb_ecal_clreco = RecoCoG(
"cb_ecal_clreco",
inputProtoClusters=cb_ecal_cl.outputProtoClusterCollection,
outputClusters="EcalBarrelImagingClusters",
outputLayers="EcalBarrelImagingLayers",
mcHits="EcalBarrelHits",
inputProtoClusterCollection=cb_ecal_cl.outputProtoClusterCollection,
outputClusterCollection="EcalBarrelImagingClusters",
)
algorithms.append(cb_ecal_clreco)
@@ -155,15 +154,24 @@ else:
)
algorithms.append(sciglass_ecal_cl)
sciglass_ecal_clreco = ImagingClusterReco(
sciglass_ecal_clreco = RecoCoG(
"sciglass_ecal_clreco",
inputProtoClusters=sciglass_ecal_cl.outputProtoClusterCollection,
mcHits="EcalBarrelHits",
outputClusters="EcalBarrelClusters",
outputLayers="EcalBarrelLayers",
inputProtoClusterCollection=sciglass_ecal_cl.outputProtoClusterCollection,
# mcHits="EcalBarrelHits",
outputClusterCollection="EcalBarrelClusters",
#OutputLevel=DEBUG
)
algorithms.append(sciglass_ecal_clreco)
# sciglass_barrel_clreco = RecoCoG(
# "sciglass_barrel_clreco",
# inputProtoClusterCollection=sciglass_ecal_cl.outputProtoClusterCollection,
# outputClusterCollection="EcalBarrelScFiClusters",
# logWeightBase=6.2,
# )
# algorithms.append(sciglass_barrel_clreco)
podout.outputCommands = [
"drop *",
"keep MCParticles",
Loading