Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-21 04:46:50

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
0004 from Configuration.ProcessModifiers.ticl_superclustering_mustache_ticl_cff import ticl_superclustering_mustache_ticl
0005 
0006 tracksterSimTracksterAssociationLinking = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0007     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0008     label_tst = cms.InputTag("ticlTrackstersMerge"),
0009     label_simTst = cms.InputTag("ticlSimTracksters", "fromCPs"),
0010     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0011     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0012     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0013 )
0014 
0015 tracksterSimTracksterAssociationPR = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0016     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0017     label_tst = cms.InputTag("ticlTrackstersMerge"),
0018     label_simTst = cms.InputTag("ticlSimTracksters"),
0019     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0020     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0021     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0022 )
0023 
0024 
0025 tracksterSimTracksterAssociationLinkingbyCLUE3D = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0026     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0027     label_tst = cms.InputTag("ticlTrackstersCLUE3DHigh"),
0028     label_simTst = cms.InputTag("ticlSimTracksters", "fromCPs"),
0029     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0030     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0031     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0032 )
0033 
0034 tracksterSimTracksterAssociationPRbyCLUE3D = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0035     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0036     label_tst = cms.InputTag("ticlTrackstersCLUE3DHigh"),
0037     label_simTst = cms.InputTag("ticlSimTracksters"),
0038     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0039     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0040     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0041 )
0042 
0043 tracksterSimTracksterAssociationLinkingSuperclustering = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0044     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0045     label_tst = cms.InputTag("ticlTracksterLinksSuperclusteringDNN"),
0046     label_simTst = cms.InputTag("ticlSimTracksters", "fromCPs"),
0047     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0048     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0049     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0050 )
0051 
0052 tracksterSimTracksterAssociationPRSuperclustering = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0053     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0054     label_tst = cms.InputTag("ticlTracksterLinksSuperclusteringDNN"),
0055     label_simTst = cms.InputTag("ticlSimTracksters"),
0056     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0057     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0058     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0059 )
0060 (ticl_v5 & ticl_superclustering_mustache_ticl).toModify(
0061     tracksterSimTracksterAssociationLinkingSuperclustering, label_tst = cms.InputTag("ticlTracksterLinksSuperclusteringMustache")
0062 ).toModify(
0063     tracksterSimTracksterAssociationPRSuperclustering, label_tst = cms.InputTag("ticlTracksterLinksSuperclusteringMustache")
0064 )
0065 
0066 tracksterSimTracksterAssociationLinkingPU = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0067     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0068     label_tst = cms.InputTag("ticlTrackstersMerge"),
0069     label_simTst = cms.InputTag("ticlSimTracksters", "PU"),
0070     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0071     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0072     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0073 )
0074 
0075 tracksterSimTracksterAssociationPRPU = cms.EDProducer("TSToSimTSHitLCAssociatorEDProducer",
0076     associator = cms.InputTag('simTracksterHitLCAssociatorByEnergyScoreProducer'),
0077     label_tst = cms.InputTag("ticlTrackstersMerge"),
0078     label_simTst = cms.InputTag("ticlSimTracksters", "PU"),
0079     label_lcl = cms.InputTag("hgcalMergeLayerClusters"),
0080     label_scl = cms.InputTag("mix", "MergedCaloTruth"),
0081     label_cp = cms.InputTag("mix","MergedCaloTruth"),
0082 )
0083 
0084 ''' For future separate iterations
0085 ticl_v5.toModify(tracksterSimTracksterAssociationLinkingbyCLUE3D, label_tst = cms.InputTag("mergedTrackstersProducer"))
0086 tracksterSimTracksterAssociationLinkingbyCLUE3DEM = tracksterSimTracksterAssociationLinkingbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DEM"))
0087 tracksterSimTracksterAssociationLinkingbyCLUE3DHAD = tracksterSimTracksterAssociationLinkingbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DHAD"))
0088 
0089 ticl_v5.toModify(tracksterSimTracksterAssociationPRbyCLUE3D, label_tst = cms.InputTag("mergedTrackstersProducer"))
0090 tracksterSimTracksterAssociationPRbyCLUE3DEM = tracksterSimTracksterAssociationPRbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DEM"))
0091 tracksterSimTracksterAssociationPRbyCLUE3DHAD = tracksterSimTracksterAssociationPRbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DHAD"))
0092 '''
0093 
0094 ticl_v5.toModify(tracksterSimTracksterAssociationLinking, label_tst = cms.InputTag("ticlCandidate"))
0095 ticl_v5.toModify(tracksterSimTracksterAssociationPR, label_tst = cms.InputTag("ticlCandidate"))
0096 ticl_v5.toModify(tracksterSimTracksterAssociationLinkingPU, label_tst = cms.InputTag("ticlCandidate"))
0097 ticl_v5.toModify(tracksterSimTracksterAssociationPRPU, label_tst = cms.InputTag("ticlCandidate"))