8 import FWCore.ParameterSet.Config
as cms
13 _RawCollectionListOrig = rawDataCollector.RawCollectionList[:]
14 from Configuration.Eras.Modifier_stage1L1Trigger_cff
import stage1L1Trigger
15 stage1L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage1Raw")) )
16 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
17 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.extend([cms.InputTag(
"caloLayer1RawFed1354"), cms.InputTag(
"caloLayer1RawFed1356"), cms.InputTag(
"caloLayer1RawFed1358")]) )
18 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"bmtfStage2Raw")) )
19 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage2Raw")) )
20 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gmtStage2Raw")) )
21 stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gtStage2Raw")) )
24 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
25 premix_stage1.toModify(rawDataCollector, RawCollectionList = _RawCollectionListOrig)
30 if not (stage1L1Trigger.isChosen()
or stage2L1Trigger.isChosen()):
37 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 38 csctfpacker.trackProducer =
'simCsctfTrackDigis' 39 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 40 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 41 gctDigiToRaw.rctInputLabel =
'simRctDigis' 42 gctDigiToRaw.gctInputLabel =
'simGctDigis' 43 l1GtPack.DaqGtInputTag =
'simGtDigis' 44 l1GtPack.MuGmtInputTag =
'simGmtDigis' 45 l1GtEvmPack.EvmGtInputTag =
'simGtDigis' 46 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+gctDigiToRaw+l1GtPack+l1GtEvmPack)
50 if stage1L1Trigger.isChosen()
and not stage2L1Trigger.isChosen():
56 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED" 57 csctfpacker.trackProducer =
'simCsctfTrackDigis' 58 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis' 59 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF" 60 l1GtPack.DaqGtInputTag =
'simGtDigis' 61 l1GtPack.MuGmtInputTag =
'simGmtDigis' 66 gctDigiToRaw.gctInputLabel =
'simCaloStage1LegacyFormatDigis' 67 gctDigiToRaw.rctInputLabel =
'simRctDigis' 69 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+l1GtPack+caloStage1Raw)
74 if stage2L1Trigger.isChosen():
82 L1TDigiToRaw = cms.Sequence(caloLayer1Raw + caloStage2Raw + bmtfStage2Raw + omtfStage2Raw + gmtStage2Raw + gtStage2Raw)