9 import FWCore.ParameterSet.Config
as cms
16 import EventFilter.CSCTFRawToDigi.csctfunpacker_cfi
17 csctfDigis = EventFilter.CSCTFRawToDigi.csctfunpacker_cfi.csctfunpacker.clone(producer =
'rawDataCollector')
18 import EventFilter.DTTFRawToDigi.dttfunpacker_cfi
19 dttfDigis = EventFilter.DTTFRawToDigi.dttfunpacker_cfi.dttfunpacker.clone(DTTF_FED_Source =
'rawDataCollector')
20 import EventFilter.GctRawToDigi.l1GctHwDigis_cfi
21 gctDigis = EventFilter.GctRawToDigi.l1GctHwDigis_cfi.l1GctHwDigis.clone(inputLabel =
'rawDataCollector')
23 gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone(DaqGtInputTag =
'rawDataCollector')
24 import EventFilter.L1GlobalTriggerRawToDigi.l1GtEvmUnpack_cfi
25 gtEvmDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtEvmUnpack_cfi.l1GtEvmUnpack.clone(EvmGtInputTag =
'rawDataCollector')
26 L1TRawToDigi_Legacy = cms.Task(csctfDigis,dttfDigis,gctDigis,gtDigis,gtEvmDigis)
27 L1TRawToDigiTask = cms.Task(L1TRawToDigi_Legacy)
32 from EventFilter.L1TRawToDigi.caloStage1Digis_cfi
import caloStage1Digis
35 from L1Trigger.L1TCalorimeter.caloStage1FinalDigis_cfi
import caloStage1FinalDigis
36 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
37 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
38 L1TRawToDigi_Stage1 = L1TRawToDigi_Legacy.copyAndExclude([gctDigis, gtDigis, gtEvmDigis])
39 L1TRawToDigi_Stage1.add(gtDigis,caloStage1Digis,caloStage1FinalDigis,caloStage1LegacyFormatDigis,gctDigis)
40 (stage1L1Trigger & ~stage2L1Trigger).toReplaceWith(L1TRawToDigiTask, cms.Task(L1TRawToDigi_Stage1))
45 from EventFilter.RPCRawToDigi.rpcTwinMuxRawToDigi_cfi
import rpcTwinMuxRawToDigi
47 from EventFilter.RPCRawToDigi.RPCCPPFRawToDigi_cfi
import rpcCPPFRawToDigi
48 from EventFilter.L1TRawToDigi.bmtfDigis_cfi
import bmtfDigis
49 from EventFilter.L1TRawToDigi.omtfStage2Digis_cfi
import omtfStage2Digis
50 from EventFilter.L1TRawToDigi.emtfStage2Digis_cfi
import emtfStage2Digis
51 from EventFilter.L1TRawToDigi.caloLayer1Digis_cfi
import caloLayer1Digis
52 from EventFilter.L1TRawToDigi.caloStage2Digis_cfi
import caloStage2Digis
53 from EventFilter.L1TRawToDigi.gmtStage2Digis_cfi
import gmtStage2Digis
54 from EventFilter.L1TRawToDigi.gtStage2Digis_cfi
import gtStage2Digis
55 from EventFilter.L1TRawToDigi.gtTestcrateStage2Digis_cfi
import gtTestcrateStage2Digis
58 stage2L1Trigger.toModify(caloStage2Digis, MinFeds = cms.uint32(1))
59 stage2L1Trigger.toModify(gmtStage2Digis, MinFeds = cms.uint32(1))
60 stage2L1Trigger.toModify(gtStage2Digis, MinFeds = cms.uint32(1))
61 L1TRawToDigi_Stage2 = cms.Task(rpcunpacker,rpcTwinMuxRawToDigi, twinMuxStage2Digis, bmtfDigis, omtfStage2Digis, rpcCPPFRawToDigi, emtfStage2Digis, caloLayer1Digis, caloStage2Digis, gmtStage2Digis, gtStage2Digis, gtTestcrateStage2Digis)
62 stage2L1Trigger.toReplaceWith(L1TRawToDigiTask, cms.Task(L1TRawToDigi_Stage1,L1TRawToDigi_Stage2))
64 L1TRawToDigi = cms.Sequence(L1TRawToDigiTask)