9 import FWCore.ParameterSet.Config
as cms
13 global L1TRawToDigi_Legacy
14 global csctfDigis, dttfDigis, gctDigis, gtDigis, gtEvmDigis
15 import EventFilter.CSCTFRawToDigi.csctfunpacker_cfi
16 csctfDigis = EventFilter.CSCTFRawToDigi.csctfunpacker_cfi.csctfunpacker.clone()
17 import EventFilter.DTTFRawToDigi.dttfunpacker_cfi
18 dttfDigis = EventFilter.DTTFRawToDigi.dttfunpacker_cfi.dttfunpacker.clone()
19 import EventFilter.GctRawToDigi.l1GctHwDigis_cfi
20 gctDigis = EventFilter.GctRawToDigi.l1GctHwDigis_cfi.l1GctHwDigis.clone()
22 gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
23 import EventFilter.L1GlobalTriggerRawToDigi.l1GtEvmUnpack_cfi
24 gtEvmDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtEvmUnpack_cfi.l1GtEvmUnpack.clone()
26 csctfDigis.producer =
'rawDataCollector' 27 dttfDigis.DTTF_FED_Source =
'rawDataCollector' 28 gctDigis.inputLabel =
'rawDataCollector' 29 gtDigis.DaqGtInputTag =
'rawDataCollector' 30 gtEvmDigis.EvmGtInputTag =
'rawDataCollector' 31 L1TRawToDigi_Legacy = cms.Sequence(csctfDigis+dttfDigis+gctDigis+gtDigis+gtEvmDigis)
35 global csctfDigis, dttfDigis, gtDigis,caloStage1Digis,caloStage1FinalDigis,gctDigis
36 global caloStage1LegacyFormatDigis
37 global L1TRawToDigi_Stage1
38 import EventFilter.CSCTFRawToDigi.csctfunpacker_cfi
39 csctfDigis = EventFilter.CSCTFRawToDigi.csctfunpacker_cfi.csctfunpacker.clone()
40 import EventFilter.DTTFRawToDigi.dttfunpacker_cfi
41 dttfDigis = EventFilter.DTTFRawToDigi.dttfunpacker_cfi.dttfunpacker.clone()
43 gtDigis = EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi.l1GtUnpack.clone()
44 from EventFilter.L1TRawToDigi.caloStage1Digis_cfi
import caloStage1Digis
47 from L1Trigger.L1TCalorimeter.caloStage1FinalDigis_cfi
import caloStage1FinalDigis
48 csctfDigis.producer =
'rawDataCollector' 49 dttfDigis.DTTF_FED_Source =
'rawDataCollector' 50 gtDigis.DaqGtInputTag =
'rawDataCollector' 52 import EventFilter.GctRawToDigi.l1GctHwDigis_cfi
53 gctDigis = EventFilter.GctRawToDigi.l1GctHwDigis_cfi.l1GctHwDigis.clone()
54 gctDigis.inputLabel =
'rawDataCollector' 55 L1TRawToDigi_Stage1 = cms.Sequence(csctfDigis+dttfDigis+gtDigis+caloStage1Digis+caloStage1FinalDigis+caloStage1LegacyFormatDigis+gctDigis)
58 global L1TRawToDigi_Stage2
59 global twinMuxStage2Digis, bmtfDigis, emtfStage2Digis, caloStage2Digis, gmtStage2Digis, gtStage2Digis,L1TRawToDigi_Stage2
66 L1TRawToDigi_Stage2 = cms.Sequence(twinMuxStage2Digis * bmtfDigis + emtfStage2Digis + caloStage2Digis + gmtStage2Digis + gtStage2Digis)
71 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
72 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
73 if not (stage1L1Trigger.isChosen()
or stage2L1Trigger.isChosen()):
75 L1TRawToDigi = cms.Sequence(L1TRawToDigi_Legacy);
80 if stage1L1Trigger.isChosen()
and not stage2L1Trigger.isChosen():
82 L1TRawToDigi = cms.Sequence(L1TRawToDigi_Stage1)
87 if stage2L1Trigger.isChosen():
90 L1TRawToDigi = cms.Sequence(L1TRawToDigi_Stage1+L1TRawToDigi_Stage2)
92 caloStage2Digis.MinFeds = cms.uint32(1)
93 gmtStage2Digis.MinFeds = cms.uint32(1)
94 gtStage2Digis.MinFeds = cms.uint32(1)