8 import FWCore.ParameterSet.Config
as cms
13 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
14 stage1L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage1Raw")) )
15 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
16 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage2Raw")) )
17 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gmtStage2Raw")) )
18 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gtStage2Raw")) )
23 if not (stage1L1Trigger.isChosen()
or stage2L1Trigger.isChosen()):
30 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 31 csctfpacker.trackProducer =
'simCsctfTrackDigis' 32 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 33 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 34 gctDigiToRaw.rctInputLabel =
'simRctDigis' 35 gctDigiToRaw.gctInputLabel =
'simGctDigis' 36 l1GtPack.DaqGtInputTag =
'simGtDigis' 37 l1GtPack.MuGmtInputTag =
'simGmtDigis' 38 l1GtEvmPack.EvmGtInputTag =
'simGtDigis' 39 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+gctDigiToRaw+l1GtPack+l1GtEvmPack)
43 if stage1L1Trigger.isChosen()
and not stage2L1Trigger.isChosen():
49 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 50 csctfpacker.trackProducer =
'simCsctfTrackDigis' 51 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 52 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 53 l1GtPack.DaqGtInputTag =
'simGtDigis' 54 l1GtPack.MuGmtInputTag =
'simGmtDigis' 59 gctDigiToRaw.gctInputLabel =
'simCaloStage1LegacyFormatDigis' 60 gctDigiToRaw.rctInputLabel =
'simRctDigis' 62 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+l1GtPack+caloStage1Raw)
67 if stage2L1Trigger.isChosen():
71 L1TDigiToRaw = cms.Sequence(caloStage2Raw + gmtStage2Raw + gtStage2Raw)