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.extend([cms.InputTag(
"caloLayer1RawFed1354"), cms.InputTag(
"caloLayer1RawFed1356"), cms.InputTag(
"caloLayer1RawFed1358")]) )
17 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"bmtfStage2Raw")) )
18 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage2Raw")) )
19 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gmtStage2Raw")) )
20 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gtStage2Raw")) )
25 if not (stage1L1Trigger.isChosen()
or stage2L1Trigger.isChosen()):
32 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 33 csctfpacker.trackProducer =
'simCsctfTrackDigis' 34 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 35 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 36 gctDigiToRaw.rctInputLabel =
'simRctDigis' 37 gctDigiToRaw.gctInputLabel =
'simGctDigis' 38 l1GtPack.DaqGtInputTag =
'simGtDigis' 39 l1GtPack.MuGmtInputTag =
'simGmtDigis' 40 l1GtEvmPack.EvmGtInputTag =
'simGtDigis' 41 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+gctDigiToRaw+l1GtPack+l1GtEvmPack)
45 if stage1L1Trigger.isChosen()
and not stage2L1Trigger.isChosen():
51 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 52 csctfpacker.trackProducer =
'simCsctfTrackDigis' 53 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 54 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 55 l1GtPack.DaqGtInputTag =
'simGtDigis' 56 l1GtPack.MuGmtInputTag =
'simGmtDigis' 61 gctDigiToRaw.gctInputLabel =
'simCaloStage1LegacyFormatDigis' 62 gctDigiToRaw.rctInputLabel =
'simRctDigis' 64 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+l1GtPack+caloStage1Raw)
69 if stage2L1Trigger.isChosen():
77 L1TDigiToRaw = cms.Sequence(caloLayer1Raw + caloStage2Raw + bmtfStage2Raw + omtfStage2Raw + gmtStage2Raw + gtStage2Raw)