8 import FWCore.ParameterSet.Config
as cms
9 from Configuration.StandardSequences.Eras
import eras
13 eras.stage1L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage1Raw")) )
14 eras.stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"caloStage2Raw")) )
15 eras.stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gmtStage2Raw")) )
16 eras.stage2L1Trigger.toModify( rawDataCollector.RawCollectionList, func =
lambda list: list.append(cms.InputTag(
"gtStage2Raw")) )
21 if not (eras.stage1L1Trigger.isChosen()
or eras.stage2L1Trigger.isChosen()):
22 print "L1TDigiToRaw Sequence configured for Run1 (Legacy) trigger. "
29 csctfpacker.lctProducer =
"simCscTriggerPrimitiveDigis:MPCSORTED"
30 csctfpacker.trackProducer =
'simCsctfTrackDigis'
31 dttfpacker.DTDigi_Source =
'simDtTriggerPrimitiveDigis'
32 dttfpacker.DTTracks_Source =
"simDttfDigis:DTTF"
33 gctDigiToRaw.rctInputLabel =
'simRctDigis'
34 gctDigiToRaw.gctInputLabel =
'simGctDigis'
35 l1GtPack.DaqGtInputTag =
'simGtDigis'
36 l1GtPack.MuGmtInputTag =
'simGmtDigis'
37 l1GtEvmPack.EvmGtInputTag =
'simGtDigis'
38 L1TDigiToRaw = cms.Sequence(csctfpacker+dttfpacker+gctDigiToRaw+l1GtPack+l1GtEvmPack)
42 if eras.stage1L1Trigger.isChosen()
and not eras.stage2L1Trigger.isChosen():
43 print "L1TDigiToRaw Sequence configured for Stage-1 (2015) trigger. "
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 eras.stage2L1Trigger.isChosen():
68 print "L1TDigiToRaw Sequence configured for Stage-2 (2016) trigger. "
72 L1TDigiToRaw = cms.Sequence(caloStage2Raw + gmtStage2Raw + gtStage2Raw)