1 import FWCore.ParameterSet.Config
as cms
4 topological_C2d_params, \
5 constrTopological_C2d_params
6 from L1Trigger.L1THGCal.customClustering
import set_threshold_params
10 distance=distance_C2d_params.dR_cluster,
11 seed_threshold=distance_C2d_params.seeding_threshold_silicon,
12 cluster_threshold=distance_C2d_params.clustering_threshold_silicon
14 producer = process.hgcalBackEndLayer1Producer.clone(
15 InputTriggerCells = cms.InputTag(
'{}:HGCalConcentratorProcessorSelection'.
format(inputs))
17 producer.ProcessorParameters.C2d_parameters = distance_C2d_params.clone(
20 set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
25 seed_threshold=topological_C2d_params.seeding_threshold_silicon,
26 cluster_threshold=topological_C2d_params.clustering_threshold_silicon
28 producer = process.hgcalBackEndLayer1Producer.clone(
29 InputTriggerCells = cms.InputTag(
'{}:HGCalConcentratorProcessorSelection'.
format(inputs))
31 producer.ProcessorParameters.C2d_parameters = topological_C2d_params.clone()
32 set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
37 distance=constrTopological_C2d_params.dR_cluster,
38 seed_threshold=constrTopological_C2d_params.seeding_threshold_silicon,
39 cluster_threshold=constrTopological_C2d_params.clustering_threshold_silicon
41 producer = process.hgcalBackEndLayer1Producer.clone(
42 InputTriggerCells = cms.InputTag(
'{}:HGCalConcentratorProcessorSelection'.
format(inputs))
44 producer.ProcessorParameters.C2d_parameters = constrTopological_C2d_params.clone(
47 set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
52 producer = process.hgcalBackEndLayer1Producer.clone(
53 InputTriggerCells = cms.InputTag(
'{}:HGCalConcentratorProcessorSelection'.
format(inputs))
55 producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
59 producer = process.hgcalBackEndLayer1Producer.clone(
60 InputTriggerCells = cms.InputTag(
'{}'.
format(inputs))
62 producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
def create_constrainedtopological