File indexing completed on 2025-02-07 23:29:33
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from ..modules.hltFilteredLayerClustersCLUE3DHigh_cfi import *
0004 from ..modules.hltHgcalDigis_cfi import *
0005 from ..modules.hltHgcalLayerClustersEE_cfi import *
0006 from ..modules.hltHgcalLayerClustersHSci_cfi import *
0007 from ..modules.hltHgcalLayerClustersHSi_cfi import *
0008 from ..modules.hltHgcalMergeLayerClusters_cfi import *
0009 from ..modules.hltHGCalRecHit_cfi import *
0010 from ..modules.hltHGCalUncalibRecHit_cfi import *
0011 from ..modules.hltParticleFlowClusterHGCalFromTICLUnseeded_cfi import *
0012 from ..modules.hltParticleFlowRecHitHGC_cfi import *
0013 from ..modules.hltParticleFlowSuperClusterHGCalFromTICLUnseeded_cfi import *
0014 from ..modules.hltTiclLayerTileProducer_cfi import *
0015 from ..modules.hltTiclSeedingGlobal_cfi import *
0016 from ..modules.hltTiclTrackstersCLUE3DHigh_cfi import *
0017 from ..modules.hltHgcalSoARecHitsProducer_cfi import *
0018 from ..modules.hltHgcalSoARecHitsLayerClustersProducer_cfi import *
0019 from ..modules.hltHgcalSoALayerClustersProducer_cfi import *
0020 from ..modules.hltHgcalLayerClustersFromSoAProducer_cfi import *
0021 from ..modules.hltTiclTracksterLinks_cfi import *
0022
0023 _HgcalLocalRecoUnseededSequence = cms.Sequence(hltHgcalDigis+hltHGCalUncalibRecHit+hltHGCalRecHit+hltParticleFlowRecHitHGC+hltHgcalLayerClustersEE+hltHgcalLayerClustersHSci+hltHgcalLayerClustersHSi+hltHgcalMergeLayerClusters)
0024 _HgcalTICLPatternRecognitionUnseededSequence = cms.Sequence(hltFilteredLayerClustersCLUE3DHigh+hltTiclSeedingGlobal+hltTiclLayerTileProducer+hltTiclTrackstersCLUE3DHigh)
0025 _SuperclusteringUnseededSequence = cms.Sequence(hltParticleFlowClusterHGCalFromTICLUnseeded+hltParticleFlowSuperClusterHGCalFromTICLUnseeded)
0026
0027
0028 HLTHgcalTiclPFClusteringForEgammaUnseededSequence = cms.Sequence(_HgcalLocalRecoUnseededSequence + _HgcalTICLPatternRecognitionUnseededSequence + _SuperclusteringUnseededSequence)
0029
0030
0031 from Configuration.ProcessModifiers.alpaka_cff import alpaka
0032 alpaka.toReplaceWith(_HgcalLocalRecoUnseededSequence,
0033 cms.Sequence(
0034 hltHgcalDigis
0035 + hltHGCalUncalibRecHit
0036 + hltHGCalRecHit+hltParticleFlowRecHitHGC
0037 + hltHgcalSoARecHitsProducer
0038 + hltHgcalSoARecHitsLayerClustersProducer
0039 + hltHgcalSoALayerClustersProducer
0040 + hltHgCalLayerClustersFromSoAProducer
0041 + hltHgcalLayerClustersHSci
0042 + hltHgcalLayerClustersHSi
0043 + hltHgcalMergeLayerClusters
0044 )
0045 )
0046 alpaka.toModify(hltHgcalMergeLayerClusters,
0047 layerClustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer"),
0048 time_layerclustersEE = cms.InputTag("hltHgCalLayerClustersFromSoAProducer", "timeLayerCluster")
0049 )
0050
0051
0052 hltTiclTracksterLinksSuperclusteringDNNUnseeded = hltTiclTracksterLinks.clone(
0053 linkingPSet = cms.PSet(
0054 type=cms.string("SuperClusteringDNN"),
0055 algo_verbosity=cms.int32(0),
0056 onnxModelPath = cms.FileInPath("RecoHGCal/TICL/data/superclustering/supercls_v2p1.onnx"),
0057 nnWorkingPoint=cms.double(0.3),
0058 ),
0059 tracksters_collections = [cms.InputTag("hltTiclTrackstersCLUE3DHigh")],
0060 )
0061
0062 hltTiclTracksterLinksSuperclusteringMustacheUnseeded = hltTiclTracksterLinks.clone(
0063 linkingPSet = cms.PSet(
0064 type=cms.string("SuperClusteringMustache"),
0065 algo_verbosity=cms.int32(0)
0066 ),
0067 tracksters_collections = [cms.InputTag("hltTiclTrackstersCLUE3DHigh")],
0068 )
0069
0070 from RecoHGCal.TICL.ticlEGammaSuperClusterProducer_cfi import ticlEGammaSuperClusterProducer as _ticlEGammaSuperClusterProducer
0071 hltTiclEGammaSuperClusterProducerUnseeded = _ticlEGammaSuperClusterProducer.clone(
0072 ticlSuperClusters = "hltTiclTracksterLinksSuperclusteringDNNUnseeded",
0073 ticlTrackstersEM = "hltTiclTrackstersCLUE3DHigh",
0074 layerClusters = "hltHgcalMergeLayerClusters"
0075 )
0076
0077
0078 from Configuration.ProcessModifiers.ticl_superclustering_dnn_cff import ticl_superclustering_dnn
0079 ticl_superclustering_dnn.toReplaceWith(_SuperclusteringUnseededSequence,
0080 cms.Sequence(
0081 hltTiclTracksterLinksSuperclusteringDNNUnseeded
0082 + hltTiclEGammaSuperClusterProducerUnseeded
0083 )
0084 )
0085
0086
0087 from Configuration.ProcessModifiers.ticl_superclustering_mustache_ticl_cff import ticl_superclustering_mustache_ticl
0088 ticl_superclustering_mustache_ticl.toReplaceWith(_SuperclusteringUnseededSequence,
0089 cms.Sequence(
0090 hltTiclTracksterLinksSuperclusteringMustacheUnseeded
0091 + hltTiclEGammaSuperClusterProducerUnseeded
0092 )
0093 )
0094 ticl_superclustering_mustache_ticl.toModify(hltTiclEGammaSuperClusterProducerUnseeded,
0095 ticlSuperClusters=cms.InputTag("hltTiclTracksterLinksSuperclusteringMustacheUnseeded"),
0096 ticlTrackstersEM=cms.InputTag("hltTiclTrackstersCLUE3DHigh"),
0097 layerClusters=cms.InputTag("hltHgcalMergeLayerClusters"),
0098 enableRegression=cms.bool(False)
0099 )