1 import FWCore.ParameterSet.Config
as cms
4 topological_C2d_params, \
5 constrTopological_C2d_params, \
6 layer1truncation_proc, \
8 from L1Trigger.L1THGCal.customClustering
import set_threshold_params
12 distance=distance_C2d_params.dR_cluster,
13 seed_threshold=distance_C2d_params.seeding_threshold_silicon,
14 cluster_threshold=distance_C2d_params.clustering_threshold_silicon
16 producer = process.hgcalBackEndLayer1Producer.clone(
17 InputTriggerCells = cms.InputTag(inputs)
19 producer.ProcessorParameters.C2d_parameters = distance_C2d_params.clone(
22 set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
27 seed_threshold=topological_C2d_params.seeding_threshold_silicon,
28 cluster_threshold=topological_C2d_params.clustering_threshold_silicon
30 producer = process.hgcalBackEndLayer1Producer.clone(
31 InputTriggerCells = cms.InputTag(inputs)
33 producer.ProcessorParameters.C2d_parameters = topological_C2d_params.clone()
34 set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
39 distance=constrTopological_C2d_params.dR_cluster,
40 seed_threshold=constrTopological_C2d_params.seeding_threshold_silicon,
41 cluster_threshold=constrTopological_C2d_params.clustering_threshold_silicon
43 producer = process.hgcalBackEndLayer1Producer.clone(
44 InputTriggerCells = cms.InputTag(inputs)
46 producer.ProcessorParameters.C2d_parameters = constrTopological_C2d_params.clone(
49 set_threshold_params(producer.ProcessorParameters.C2d_parameters, seed_threshold, cluster_threshold)
56 producer = process.hgcalBackEndLayer1Producer.clone(
57 InputTriggerCells = cms.InputTag(inputs)
59 producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
64 producer = process.hgcalBackEndLayer1Producer.clone(
65 InputTriggerCells = cms.InputTag(inputs)
67 producer.ProcessorParameters.C2d_parameters = dummy_C2d_params.clone()
73 maxTcsPerBin=truncation_params.maxTcsPerBin):
75 truncation_parameters=truncation_params.clone(
76 maxTcsPerBin=maxTcsPerBin
81 producer = process.hgcalBackEndLayer1Producer.clone(
82 InputTriggerCells = cms.InputTag(inputs),
def create_topological(process, inputs, seed_threshold=topological_C2d_params.seeding_threshold_silicon, cluster_threshold=topological_C2d_params.clustering_threshold_silicon # MipT)
def set_threshold_params(pset, seed_threshold, cluster_threshold)
def __call__(self, process, inputs)
def create_constrainedtopological(process, inputs, distance=constrTopological_C2d_params.dR_cluster, seed_threshold=constrTopological_C2d_params.seeding_threshold_silicon, cluster_threshold=constrTopological_C2d_params.clustering_threshold_silicon # MipT)
def create_distance(process, inputs, distance=distance_C2d_params.dR_cluster, seed_threshold=distance_C2d_params.seeding_threshold_silicon, cluster_threshold=distance_C2d_params.clustering_threshold_silicon # MipT)
def __init__(self, maxTcsPerBin=truncation_params.maxTcsPerBin)
def __call__(self, process, inputs)
def __call__(self, process, inputs)