withReco: requires full reco of the event to run this part i.e.
25 process.FEVTDEBUGHLTEventContent.outputCommands.extend([
'keep *_multiClustersFromTracksters*_*_*',
26 'keep *_ticlCandidateFromTrackstersProducer*_*_*',
27 'keep *_pfTICLProducer*_*_*'])
29 process.ticlLayerTileProducer = ticlLayerTileProducer.clone()
31 process.ticlSeedingTrk = ticlSeedingRegionProducer.clone(
35 process.filteredLayerClustersTrk = filteredLayerClustersProducer.clone(
36 clusterFilter =
"ClusterFilterByAlgo",
38 iteration_label =
"Trk"
41 process.trackstersTrk = trackstersProducer.clone(
42 filtered_mask =
"filteredLayerClustersTrk:Trk",
43 seeding_regions =
"ticlSeedingTrk",
45 min_layers_per_trackster = 5,
47 min_cos_pointing = 0.9
50 process.multiClustersFromTrackstersTrk = multiClustersFromTrackstersProducer.clone(
51 label =
"TrkMultiClustersFromTracksterByCA",
52 Tracksters =
"trackstersTrk"
55 process.ticlSeedingGlobal = ticlSeedingRegionProducer.clone(
59 process.filteredLayerClustersMIP = filteredLayerClustersProducer.clone(
60 clusterFilter =
"ClusterFilterBySize",
63 iteration_label =
"MIP"
66 process.trackstersMIP = trackstersProducer.clone(
67 filtered_mask =
"filteredLayerClustersMIP:MIP",
68 seeding_regions =
"ticlSeedingGlobal",
70 min_layers_per_trackster = 15,
72 min_cos_pointing = 0.9,
76 process.multiClustersFromTrackstersMIP = multiClustersFromTrackstersProducer.clone(
77 label =
"MIPMultiClustersFromTracksterByCA",
78 Tracksters =
"trackstersMIP"
81 process.filteredLayerClusters = filteredLayerClustersProducer.clone(
82 clusterFilter =
"ClusterFilterByAlgoAndSize",
85 iteration_label =
"algo8",
86 LayerClustersInputMask =
"trackstersMIP"
89 process.trackstersEM = trackstersProducer.clone(
91 original_mask =
"trackstersMIP",
92 filtered_mask =
"filteredLayerClusters:algo8",
93 seeding_regions =
"ticlSeedingGlobal",
95 min_layers_per_trackster = 10,
96 min_cos_theta = 0.984,
97 min_cos_pointing = 0.9
100 process.multiClustersFromTrackstersEM = multiClustersFromTrackstersProducer.clone(
101 Tracksters =
"trackstersEM"
105 process.trackstersHAD = trackstersProducer.clone(
106 filtered_mask =
"filteredLayerClusters:algo8",
107 seeding_regions =
"ticlSeedingGlobal",
109 min_layers_per_trackster = 10,
111 min_cos_pointing = 0.7
114 process.multiClustersFromTrackstersHAD = multiClustersFromTrackstersProducer.clone(
115 Tracksters =
"trackstersHAD"
118 process.ticlCandidateFromTrackstersProducer = ticlCandidateFromTrackstersProducer.clone()
120 process.pfTICLProducer = pfTICLProducer.clone()
122 process.hgcalMultiClusters = hgcalMultiClusters
123 process.TICL_Task = cms.Task(
124 process.ticlLayerTileProducer,
125 process.ticlSeedingTrk,
126 process.filteredLayerClustersTrk,
127 process.trackstersTrk,
128 process.multiClustersFromTrackstersTrk,
129 process.ticlSeedingGlobal,
130 process.filteredLayerClustersMIP,
131 process.trackstersMIP,
132 process.multiClustersFromTrackstersMIP,
133 process.filteredLayerClusters,
134 process.trackstersEM,
135 process.multiClustersFromTrackstersEM,
136 process.trackstersHAD,
137 process.multiClustersFromTrackstersHAD,
138 process.ticlCandidateFromTrackstersProducer,
139 process.pfTICLProducer)
141 process.schedule.associate(process.TICL_Task)
143 process.ticlPFValidation = ticlPFValidation
144 process.hgcalValidation.insert(-1, process.ticlPFValidation)
146 if getattr(process,
'hgcalValidator'):
147 process.hgcalValidator.label_lcl =
"hgcalLayerClusters"
148 process.hgcalValidator.label_mcl = [
"multiClustersFromTrackstersEM:MultiClustersFromTracksterByCA",
"multiClustersFromTrackstersHAD:MultiClustersFromTracksterByCA"]
149 process.hgcalValidator.domulticlustersPlots =
True