CMS 3D CMS Logo

DigiToRawDM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 #
5 # Re-define inputs to look at the DataMixer output
6 #
7 siPixelRawData.InputLabel = cms.InputTag("mixData:siPixelDigisDM")
8 SiStripDigiToRaw.InputModuleLabel = cms.string('mixData')
9 SiStripDigiToRaw.InputDigiLabel = cms.string('siStripDigisDM')
10 #
11 ecalPacker.Label = 'DMEcalDigis'
12 ecalPacker.InstanceEB = 'ebDigis'
13 ecalPacker.InstanceEE = 'eeDigis'
14 ecalPacker.labelEBSRFlags = "DMEcalDigis:ebSrFlags"
15 ecalPacker.labelEESRFlags = "DMEcalDigis:eeSrFlags"
16 ecalPacker.labelTT = cms.InputTag('DMEcalTriggerPrimitiveDigis')
17 esDigiToRaw.Label = cms.string('DMEcalPreshowerDigis')
18 #
19 hcalRawDataVME.HBHE = cms.untracked.InputTag("DMHcalDigis")
20 hcalRawDataVME.HF = cms.untracked.InputTag("DMHcalDigis")
21 hcalRawDataVME.HO = cms.untracked.InputTag("DMHcalDigis")
22 hcalRawDataVME.ZDC = cms.untracked.InputTag("mixData")
23 hcalRawDataVME.TRIG = cms.untracked.InputTag("DMHcalTriggerPrimitiveDigis")
24 #
25 cscpacker.wireDigiTag = cms.InputTag("mixData","MuonCSCWireDigisDM")
26 cscpacker.stripDigiTag = cms.InputTag("mixData","MuonCSCStripDigisDM")
27 cscpacker.comparatorDigiTag = cms.InputTag("mixData","MuonCSCComparatorDigisDM")
28 dtpacker.digiColl = cms.InputTag('mixData')
29 #dtpacker.digiColl = cms.InputTag('simMuonDTDigis')
30 rpcpacker.InputLabel = cms.InputTag("mixData")
31 
32 DigiToRaw.remove(castorRawData)
33 
34 #castorRawData.CASTOR = cms.untracked.InputTag("castorDigis")
35 #
36 
37 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
38 run2_HCAL_2017.toModify( hcalRawDataVME,
39  HBHE = cms.untracked.InputTag(""),
40  HF = cms.untracked.InputTag(""),
41  TRIG = cms.untracked.InputTag(""),
42 )
43 run2_HCAL_2017.toModify( hcalRawDatauHTR,
44  HBHEqie8 = cms.InputTag("DMHcalDigis"),
45  HFqie8 = cms.InputTag("DMHcalDigis"),
46  QIE10 = cms.InputTag("DMHcalDigis","HFQIE10DigiCollection"),
47  QIE11 = cms.InputTag("DMHcalDigis","HBHEQIE11DigiCollection"),
48  TP = cms.InputTag("DMHcalTriggerPrimitiveDigis"),
49 )
50 
51 
52 if 'caloLayer1RawFed1354' in globals():
53  from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
54 
55  stage2L1Trigger.toModify(caloLayer1RawFed1354,
56  ecalDigis= cms.InputTag("DMEcalTriggerPrimitiveDigis"),
57  hcalDigis= cms.InputTag("DMHcalTriggerPrimitiveDigis")
58  )
59  stage2L1Trigger.toModify(caloLayer1RawFed1356,
60  ecalDigis= cms.InputTag("DMEcalTriggerPrimitiveDigis"),
61  hcalDigis= cms.InputTag("DMHcalTriggerPrimitiveDigis")
62  )
63  stage2L1Trigger.toModify(caloLayer1RawFed1358,
64  ecalDigis= cms.InputTag("DMEcalTriggerPrimitiveDigis"),
65  hcalDigis= cms.InputTag("DMHcalTriggerPrimitiveDigis")
66  )