9 import FWCore.ParameterSet.Config
as cms
14 global L1TRawToDigi_Legacy
15 global csctfDigis, dttfDigis, gctDigis, gtDigis, gtEvmDigis
16 import EventFilter.CSCTFRawToDigi.csctfunpacker_cfi
17 csctfDigis = EventFilter.CSCTFRawToDigi.csctfunpacker_cfi.csctfunpacker.clone()
18 import EventFilter.DTTFRawToDigi.dttfunpacker_cfi
19 dttfDigis = EventFilter.DTTFRawToDigi.dttfunpacker_cfi.dttfunpacker.clone()
20 import EventFilter.GctRawToDigi.l1GctHwDigis_cfi
21 gctDigis = EventFilter.GctRawToDigi.l1GctHwDigis_cfi.l1GctHwDigis.clone()
23 gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
24 import EventFilter.L1GlobalTriggerRawToDigi.l1GtEvmUnpack_cfi
25 gtEvmDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtEvmUnpack_cfi.l1GtEvmUnpack.clone()
27 csctfDigis.producer =
'rawDataCollector' 28 dttfDigis.DTTF_FED_Source =
'rawDataCollector' 29 gctDigis.inputLabel =
'rawDataCollector' 30 gtDigis.DaqGtInputTag =
'rawDataCollector' 31 gtEvmDigis.EvmGtInputTag =
'rawDataCollector' 32 L1TRawToDigi_Legacy = cms.Sequence(csctfDigis+dttfDigis+gctDigis+gtDigis+gtEvmDigis)
36 global csctfDigis, dttfDigis, gtDigis,caloStage1Digis,caloStage1FinalDigis,gctDigis
37 global caloStage1LegacyFormatDigis
38 global L1TRawToDigi_Stage1
39 import EventFilter.CSCTFRawToDigi.csctfunpacker_cfi
40 csctfDigis = EventFilter.CSCTFRawToDigi.csctfunpacker_cfi.csctfunpacker.clone()
41 import EventFilter.DTTFRawToDigi.dttfunpacker_cfi
42 dttfDigis = EventFilter.DTTFRawToDigi.dttfunpacker_cfi.dttfunpacker.clone()
44 gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
45 from EventFilter.L1TRawToDigi.caloStage1Digis_cfi
import caloStage1Digis
48 from L1Trigger.L1TCalorimeter.caloStage1FinalDigis_cfi
import caloStage1FinalDigis
49 csctfDigis.producer =
'rawDataCollector' 50 dttfDigis.DTTF_FED_Source =
'rawDataCollector' 51 gtDigis.DaqGtInputTag =
'rawDataCollector' 53 import EventFilter.GctRawToDigi.l1GctHwDigis_cfi
54 gctDigis = EventFilter.GctRawToDigi.l1GctHwDigis_cfi.l1GctHwDigis.clone()
55 gctDigis.inputLabel =
'rawDataCollector' 56 L1TRawToDigi_Stage1 = cms.Sequence(csctfDigis+dttfDigis+gtDigis+caloStage1Digis+caloStage1FinalDigis+caloStage1LegacyFormatDigis+gctDigis)
59 global L1TRawToDigi_Stage2
60 global RPCTwinMuxRawToDigi, twinMuxStage2Digis, bmtfDigis, omtfStage2Digis, emtfStage2Digis, caloLayer1Digis, caloStage2Digis, gmtStage2Digis, gtStage2Digis,L1TRawToDigi_Stage2
61 from EventFilter.RPCRawToDigi.RPCTwinMuxRawToDigi_cfi
import RPCTwinMuxRawToDigi
62 from EventFilter.L1TRawToDigi.bmtfDigis_cfi
import bmtfDigis
63 from EventFilter.L1TRawToDigi.omtfStage2Digis_cfi
import omtfStage2Digis
64 from EventFilter.L1TRawToDigi.emtfStage2Digis_cfi
import emtfStage2Digis
65 from EventFilter.L1TRawToDigi.caloLayer1Digis_cfi
import caloLayer1Digis
66 from EventFilter.L1TRawToDigi.caloStage2Digis_cfi
import caloStage2Digis
67 from EventFilter.L1TRawToDigi.gmtStage2Digis_cfi
import gmtStage2Digis
68 from EventFilter.L1TRawToDigi.gtStage2Digis_cfi
import gtStage2Digis
70 L1TRawToDigi_Stage2 = cms.Sequence(RPCTwinMuxRawToDigi + twinMuxStage2Digis * bmtfDigis + omtfStage2Digis + emtfStage2Digis + caloLayer1Digis + caloStage2Digis + gmtStage2Digis + gtStage2Digis)
75 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
76 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
77 if not (stage1L1Trigger.isChosen()
or stage2L1Trigger.isChosen()):
79 L1TRawToDigi = cms.Sequence(L1TRawToDigi_Legacy);
84 if stage1L1Trigger.isChosen()
and not stage2L1Trigger.isChosen():
86 L1TRawToDigi = cms.Sequence(L1TRawToDigi_Stage1)
91 if stage2L1Trigger.isChosen():
94 L1TRawToDigi = cms.Sequence(L1TRawToDigi_Stage1+L1TRawToDigi_Stage2)
96 caloStage2Digis.MinFeds = cms.uint32(1)
97 gmtStage2Digis.MinFeds = cms.uint32(1)
98 gtStage2Digis.MinFeds = cms.uint32(1)