1 import FWCore.ParameterSet.Config
as cms
11 L1THGCalTriggerPrimitivesTask = cms.Task(L1THGCalVFE, L1THGCalConcentrator, L1THGCalBackEndStage1, L1THGCalBackEndStage2, L1THGCalTowerMap, L1THGCalTower)
12 L1THGCalTriggerPrimitives = cms.Sequence(L1THGCalTriggerPrimitivesTask)
14 _hfnose_hgcalTriggerPrimitivesTask = L1THGCalTriggerPrimitivesTask.copy()
15 _hfnose_hgcalTriggerPrimitivesTask.add(L1THFnoseVFE, L1THGCalConcentratorHFNose, L1THGCalBackEndLayer1HFNose, L1THGCalBackEndLayer2HFNose, L1THGCalTowerMapHFNose, L1THGCalTowerHFNose)
17 from Configuration.Eras.Modifier_phase2_hfnose_cff
import phase2_hfnose
18 phase2_hfnose.toReplaceWith(
19 L1THGCalTriggerPrimitivesTask, _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_V10, custom_geometry_V11_Imp3
24 from L1Trigger.L1THGCal.customCalibration
import custom_cluster_calibration_global
25 modifyHgcalTriggerPrimitivesWithV10Geometry_ = (phase2_hgcalV10 & ~phase2_hgcalV11).makeProcessModifier(custom_geometry_V10)
26 modifyHgcalTriggerPrimitivesWithV11Geometry_ = phase2_hgcalV11.makeProcessModifier(custom_geometry_V11_Imp3)
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.L1THGCalTriggerPrimitivesTask.add(process.simHGCalUnsuppressedDigis)
35 doFakeHGCalDigiAlias = convertHGCalDigisSim.makeProcessModifier(_fakeHGCalDigiAlias)
def _fakeHGCalDigiAlias(process)