1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
7 from .
import hgcalLayersCalibrationCoefficients_cfi
as layercalibparam
9 from Configuration.Eras.Modifier_phase2_hgcalV9_cff
import phase2_hgcalV9
11 c2d_calib_pset = cms.PSet(calibSF_cluster=cms.double(1.),
12 layerWeights=layercalibparam.TrgLayer_weights,
13 applyLayerCalibration=cms.bool(
True))
15 c2d_thresholds_pset = cms.PSet(seeding_threshold_silicon=cms.double(5.),
16 seeding_threshold_scintillator=cms.double(5.),
17 clustering_threshold_silicon=cms.double(2.),
18 clustering_threshold_scintillator=cms.double(2.))
24 phase2_hgcalV9.toModify(c2d_thresholds_pset,
25 seeding_threshold_silicon=3.75,
26 seeding_threshold_scintillator=3.75,
27 clustering_threshold_silicon=1.5,
28 clustering_threshold_scintillator=1.5,
33 phase2_hgcalV9.toModify(c2d_calib_pset,
34 applyLayerCalibration=
False 38 dummy_C2d_params = cms.PSet(c2d_calib_pset,
39 clusterType=cms.string(
'dummyC2d')
43 distance_C2d_params = cms.PSet(c2d_calib_pset,
45 clusterType=cms.string(
'dRC2d'),
46 dR_cluster=cms.double(6.),
49 topological_C2d_params = cms.PSet(c2d_calib_pset,
51 clusterType=cms.string(
'NNC2d'),
54 constrTopological_C2d_params = cms.PSet(c2d_calib_pset,
56 clusterType=cms.string(
'dRNNC2d'),
57 dR_cluster=cms.double(6.),
61 be_proc = cms.PSet(ProcessorName = cms.string(
'HGCalBackendLayer1Processor2DClustering'),
62 C2d_parameters = dummy_C2d_params.clone()
65 hgcalBackEndLayer1Producer = cms.EDProducer(
66 "HGCalBackendLayer1Producer",
67 InputTriggerCells = cms.InputTag(
'hgcalConcentratorProducer:HGCalConcentratorProcessorSelection'),
68 ProcessorParameters = be_proc.clone()