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")) )
31 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 32 csctfpacker.trackProducer =
'simCsctfTrackDigis' 33 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 34 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 35 gctDigiToRaw.rctInputLabel =
'simRctDigis' 36 gctDigiToRaw.gctInputLabel =
'simGctDigis' 37 l1GtPack.DaqGtInputTag =
'simGtDigis' 38 l1GtPack.MuGmtInputTag =
'simGmtDigis' 39 l1GtEvmPack.EvmGtInputTag =
'simGtDigis' 40 L1TDigiToRawTask = cms.Task(csctfpacker, dttfpacker, gctDigiToRaw, l1GtPack, l1GtEvmPack)
48 (stage1L1Trigger & ~stage2L1Trigger).toModify(gctDigiToRaw, gctInputLabel =
'simCaloStage1LegacyFormatDigis')
50 (stage1L1Trigger & ~stage2L1Trigger).toReplaceWith(L1TDigiToRawTask, cms.Task(csctfpacker, dttfpacker, l1GtPack, caloStage1Raw))
62 (stage2L1Trigger).toReplaceWith(L1TDigiToRawTask, cms.Task(caloLayer1Raw, caloStage2Raw, bmtfStage2Raw, omtfStage2Raw, gmtStage2Raw, gtStage2Raw))
64 L1TDigiToRaw = cms.Sequence(L1TDigiToRawTask)