File indexing completed on 2024-10-19 04:58:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from ..modules.hltFilteredLayerClustersCLUE3DHighL1Seeded_cfi import *
0004 from ..modules.hltHgcalDigis_cfi import *
0005 from ..modules.hltHgcalDigisL1Seeded_cfi import *
0006 from ..modules.hltHgcalLayerClustersEEL1Seeded_cfi import *
0007 from ..modules.hltHgcalLayerClustersHSciL1Seeded_cfi import *
0008 from ..modules.hltHgcalLayerClustersHSiL1Seeded_cfi import *
0009 from ..modules.hltHgcalMergeLayerClustersL1Seeded_cfi import *
0010 from ..modules.hltHGCalRecHitL1Seeded_cfi import *
0011 from ..modules.hltHGCalUncalibRecHitL1Seeded_cfi import *
0012 from ..modules.hltL1TEGammaHGCFilteredCollectionProducer_cfi import *
0013 from ..modules.hltRechitInRegionsHGCAL_cfi import *
0014 from ..modules.hltParticleFlowClusterHGCalFromTICLL1Seeded_cfi import *
0015 from ..modules.hltParticleFlowRecHitHGCL1Seeded_cfi import *
0016 from ..modules.hltParticleFlowSuperClusterHGCalFromTICLL1Seeded_cfi import *
0017 from ..modules.hltTiclLayerTileProducerL1Seeded_cfi import *
0018 from ..modules.hltTiclSeedingL1_cfi import *
0019 from ..modules.hltTiclTrackstersCLUE3DHighL1Seeded_cfi import *
0020 from ..modules.hltTiclTracksterLinksL1Seeded_cfi import *
0021
0022 _HgcalLocalRecoL1SeededSequence = cms.Sequence(hltHgcalDigis+hltL1TEGammaHGCFilteredCollectionProducer+hltHgcalDigisL1Seeded+hltHGCalUncalibRecHitL1Seeded+hltHGCalRecHitL1Seeded+hltParticleFlowRecHitHGCL1Seeded+hltRechitInRegionsHGCAL+hltHgcalLayerClustersEEL1Seeded+hltHgcalLayerClustersHSciL1Seeded+hltHgcalLayerClustersHSiL1Seeded+hltHgcalMergeLayerClustersL1Seeded)
0023 _HgcalTICLPatternRecognitionL1SeededSequence = cms.Sequence(hltFilteredLayerClustersCLUE3DHighL1Seeded+hltTiclSeedingL1+hltTiclLayerTileProducerL1Seeded+hltTiclTrackstersCLUE3DHighL1Seeded)
0024 _SuperclusteringL1SeededSequence = cms.Sequence(hltParticleFlowClusterHGCalFromTICLL1Seeded+hltParticleFlowSuperClusterHGCalFromTICLL1Seeded)
0025
0026
0027 HLTHgcalTiclPFClusteringForEgammaL1SeededSequence = cms.Sequence(_HgcalLocalRecoL1SeededSequence + _HgcalTICLPatternRecognitionL1SeededSequence + _SuperclusteringL1SeededSequence)
0028
0029
0030 hltTiclTracksterLinksSuperclusteringDNNL1Seeded = hltTiclTracksterLinksL1Seeded.clone(
0031 linkingPSet = cms.PSet(
0032 type=cms.string("SuperClusteringDNN"),
0033 algo_verbosity=cms.int32(0),
0034 onnxModelPath = cms.FileInPath("RecoHGCal/TICL/data/superclustering/supercls_v2p1.onnx"),
0035 nnWorkingPoint=cms.double(0.3),
0036 ),
0037 tracksters_collections = [cms.InputTag("hltTiclTrackstersCLUE3DHighL1Seeded")],
0038 )
0039
0040 hltTiclTracksterLinksSuperclusteringMustacheL1Seeded = hltTiclTracksterLinksL1Seeded.clone(
0041 linkingPSet = cms.PSet(
0042 type=cms.string("SuperClusteringMustache"),
0043 algo_verbosity=cms.int32(0)
0044 ),
0045 tracksters_collections = [cms.InputTag("hltTiclTrackstersCLUE3DHighL1Seeded")],
0046 )
0047
0048 from RecoHGCal.TICL.ticlEGammaSuperClusterProducer_cfi import ticlEGammaSuperClusterProducer
0049 hltTiclEGammaSuperClusterProducerL1Seeded = ticlEGammaSuperClusterProducer.clone()
0050
0051
0052 from Configuration.ProcessModifiers.ticl_superclustering_dnn_cff import ticl_superclustering_dnn
0053 ticl_superclustering_dnn.toReplaceWith(_SuperclusteringL1SeededSequence,
0054 cms.Sequence(
0055 hltTiclTracksterLinksSuperclusteringDNNL1Seeded
0056 + hltTiclEGammaSuperClusterProducerL1Seeded
0057 )
0058 )
0059 ticl_superclustering_dnn.toModify(hltTiclEGammaSuperClusterProducerL1Seeded,
0060 ticlSuperClusters=cms.InputTag("hltTiclTracksterLinksSuperclusteringDNNL1Seeded"),
0061 ticlTrackstersEM=cms.InputTag("hltTiclTrackstersCLUE3DHighL1Seeded"),
0062 layerClusters=cms.InputTag("hltHgcalMergeLayerClustersL1Seeded")
0063 )
0064
0065
0066 from Configuration.ProcessModifiers.ticl_superclustering_mustache_ticl_cff import ticl_superclustering_mustache_ticl
0067 ticl_superclustering_mustache_ticl.toReplaceWith(_SuperclusteringL1SeededSequence,
0068 cms.Sequence(
0069 hltTiclTracksterLinksSuperclusteringMustacheL1Seeded
0070 + hltTiclEGammaSuperClusterProducerL1Seeded
0071 )
0072 )
0073 ticl_superclustering_mustache_ticl.toModify(hltTiclEGammaSuperClusterProducerL1Seeded,
0074 ticlSuperClusters=cms.InputTag("hltTiclTracksterLinksSuperclusteringMustacheL1Seeded"),
0075 ticlTrackstersEM=cms.InputTag("hltTiclTrackstersCLUE3DHighL1Seeded"),
0076 layerClusters=cms.InputTag("hltHgcalMergeLayerClustersL1Seeded"),
0077 enableRegression=cms.bool(False)
0078 )