1 import FWCore.ParameterSet.Config
as cms
11 hgcalTriggerPrimitivesTask = cms.Task(hgcalVFE, hgcalConcentrator, hgcalBackEndLayer1, hgcalBackEndLayer2, hgcalTowerMap, hgcalTower)
12 hgcalTriggerPrimitives = cms.Sequence(hgcalTriggerPrimitivesTask)
14 _hfnose_hgcalTriggerPrimitivesTask = hgcalTriggerPrimitivesTask.copy()
15 _hfnose_hgcalTriggerPrimitivesTask.add(hfnoseVFE, hgcalConcentratorHFNose, hgcalBackEndLayer1HFNose, hgcalBackEndLayer2HFNose, hgcalTowerMapHFNose, hgcalTowerHFNose)
17 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
18 phase2_hfnose.toReplaceWith(
19 hgcalTriggerPrimitivesTask, _hfnose_hgcalTriggerPrimitivesTask )
21 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
22 from Configuration.Eras.Modifier_phase2_hgcalV11_cff
import phase2_hgcalV11
23 from L1Trigger.L1THGCal.customTriggerGeometry
import custom_geometry_decentralized_V10, custom_geometry_decentralized_V11
24 from L1Trigger.L1THGCal.customCalibration
import custom_cluster_calibration_global
25 modifyHgcalTriggerPrimitivesWithV10Geometry_ = (phase2_hgcalV10 & ~phase2_hgcalV11).makeProcessModifier(custom_geometry_decentralized_V10)
26 modifyHgcalTriggerPrimitivesWithV11Geometry_ = phase2_hgcalV11.makeProcessModifier(custom_geometry_decentralized_V11)
28 from Configuration.ProcessModifiers.convertHGCalDigisSim_cff
import convertHGCalDigisSim
32 from EventFilter.HGCalRawToDigi.HGCDigiConverter_cfi
import HGCDigiConverter
as _HGCDigiConverter
33 process.simHGCalUnsuppressedDigis = _HGCDigiConverter.clone()
34 process.hgcalTriggerPrimitivesTask.add(process.simHGCalUnsuppressedDigis)
35 doFakeHGCalDigiAlias = convertHGCalDigisSim.makeProcessModifier(_fakeHGCalDigiAlias)