1 import FWCore.ParameterSet.Config
as cms
3 from Configuration.ProcessModifiers.ticl_v5_cff
import ticl_v5
4 from Configuration.ProcessModifiers.ticl_superclustering_mustache_ticl_cff
import ticl_superclustering_mustache_ticl
6 tracksterSimTracksterAssociationLinking = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
7 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
8 label_tst = cms.InputTag(
"ticlTrackstersMerge"),
9 label_simTst = cms.InputTag(
"ticlSimTracksters",
"fromCPs"),
10 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
11 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
12 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
15 tracksterSimTracksterAssociationPR = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
16 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
17 label_tst = cms.InputTag(
"ticlTrackstersMerge"),
18 label_simTst = cms.InputTag(
"ticlSimTracksters"),
19 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
20 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
21 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
25 tracksterSimTracksterAssociationLinkingbyCLUE3D = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
26 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
27 label_tst = cms.InputTag(
"ticlTrackstersCLUE3DHigh"),
28 label_simTst = cms.InputTag(
"ticlSimTracksters",
"fromCPs"),
29 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
30 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
31 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
34 tracksterSimTracksterAssociationPRbyCLUE3D = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
35 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
36 label_tst = cms.InputTag(
"ticlTrackstersCLUE3DHigh"),
37 label_simTst = cms.InputTag(
"ticlSimTracksters"),
38 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
39 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
40 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
43 tracksterSimTracksterAssociationLinkingSuperclustering = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
44 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
45 label_tst = cms.InputTag(
"ticlTracksterLinksSuperclusteringDNN"),
46 label_simTst = cms.InputTag(
"ticlSimTracksters",
"fromCPs"),
47 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
48 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
49 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
52 tracksterSimTracksterAssociationPRSuperclustering = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
53 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
54 label_tst = cms.InputTag(
"ticlTracksterLinksSuperclusteringDNN"),
55 label_simTst = cms.InputTag(
"ticlSimTracksters"),
56 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
57 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
58 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
60 (ticl_v5 & ticl_superclustering_mustache_ticl).toModify(
61 tracksterSimTracksterAssociationLinkingSuperclustering, label_tst = cms.InputTag(
"ticlTracksterLinksSuperclusteringMustache")
63 tracksterSimTracksterAssociationPRSuperclustering, label_tst = cms.InputTag(
"ticlTracksterLinksSuperclusteringMustache")
66 tracksterSimTracksterAssociationLinkingPU = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
67 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
68 label_tst = cms.InputTag(
"ticlTrackstersMerge"),
69 label_simTst = cms.InputTag(
"ticlSimTracksters",
"PU"),
70 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
71 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
72 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
75 tracksterSimTracksterAssociationPRPU = cms.EDProducer(
"TSToSimTSHitLCAssociatorEDProducer",
76 associator = cms.InputTag(
'simTracksterHitLCAssociatorByEnergyScoreProducer'),
77 label_tst = cms.InputTag(
"ticlTrackstersMerge"),
78 label_simTst = cms.InputTag(
"ticlSimTracksters",
"PU"),
79 label_lcl = cms.InputTag(
"hgcalMergeLayerClusters"),
80 label_scl = cms.InputTag(
"mix",
"MergedCaloTruth"),
81 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
84 ''' For future separate iterations 85 ticl_v5.toModify(tracksterSimTracksterAssociationLinkingbyCLUE3D, label_tst = cms.InputTag("mergedTrackstersProducer")) 86 tracksterSimTracksterAssociationLinkingbyCLUE3DEM = tracksterSimTracksterAssociationLinkingbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DEM")) 87 tracksterSimTracksterAssociationLinkingbyCLUE3DHAD = tracksterSimTracksterAssociationLinkingbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DHAD")) 89 ticl_v5.toModify(tracksterSimTracksterAssociationPRbyCLUE3D, label_tst = cms.InputTag("mergedTrackstersProducer")) 90 tracksterSimTracksterAssociationPRbyCLUE3DEM = tracksterSimTracksterAssociationPRbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DEM")) 91 tracksterSimTracksterAssociationPRbyCLUE3DHAD = tracksterSimTracksterAssociationPRbyCLUE3D.clone(label_tst = cms.InputTag("ticlTrackstersCLUE3DHAD")) 94 ticl_v5.toModify(tracksterSimTracksterAssociationLinking, label_tst = cms.InputTag(
"ticlCandidate"))
95 ticl_v5.toModify(tracksterSimTracksterAssociationPR, label_tst = cms.InputTag(
"ticlCandidate"))
96 ticl_v5.toModify(tracksterSimTracksterAssociationLinkingPU, label_tst = cms.InputTag(
"ticlCandidate"))
97 ticl_v5.toModify(tracksterSimTracksterAssociationPRPU, label_tst = cms.InputTag(
"ticlCandidate"))