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 = "mixData:siPixelDigisDM"
8 SiStripDigiToRaw.InputDigis = "mixData:siStripDigisDM"
9 #
10 ecalPacker.Label = 'DMEcalDigis'
11 ecalPacker.InstanceEB = 'ebDigis'
12 ecalPacker.InstanceEE = 'eeDigis'
13 ecalPacker.labelEBSRFlags = "DMEcalDigis:ebSrFlags"
14 ecalPacker.labelEESRFlags = "DMEcalDigis:eeSrFlags"
15 ecalPacker.labelTT = 'DMEcalTriggerPrimitiveDigis'
16 esDigiToRaw.Label = 'DMEcalPreshowerDigis'
17 #
18 hcalRawDataVME.HBHE = "DMHcalDigis"
19 hcalRawDataVME.HF = "DMHcalDigis"
20 hcalRawDataVME.HO = "DMHcalDigis"
21 hcalRawDataVME.ZDC = "mixData"
22 hcalRawDataVME.TRIG = "DMHcalTriggerPrimitiveDigis"
23 #
24 cscpacker.wireDigiTag = "mixData:MuonCSCWireDigisDM"
25 cscpacker.stripDigiTag = "mixData:MuonCSCStripDigisDM"
26 cscpacker.comparatorDigiTag = "mixData:MuonCSCComparatorDigisDM"
27 dtpacker.digiColl = 'mixData'
28 #dtpacker.digiColl = 'simMuonDTDigis'
29 rpcpacker.InputLabel = "mixData"
30 
31 DigiToRaw.remove(castorRawData)
32 
33 #castorRawData.CASTOR = cms.untracked.InputTag("castorDigis")
34 #
35 
36 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
37 run2_HCAL_2017.toModify( hcalRawDataVME,
38  HBHE = "",
39  HF = "",
40  TRIG = "",
41 )
42 run2_HCAL_2017.toModify( hcalRawDatauHTR,
43  HBHEqie8 = "DMHcalDigis",
44  HFqie8 = "DMHcalDigis",
45  QIE10 = "DMHcalDigis:HFQIE10DigiCollection",
46  QIE11 = "DMHcalDigis:HBHEQIE11DigiCollection",
47  TP = "DMHcalTriggerPrimitiveDigis",
48 )
49 
50 
51 if 'caloLayer1RawFed1354' in globals():
52  from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
53 
54  stage2L1Trigger.toModify(caloLayer1RawFed1354,
55  ecalDigis= "DMEcalTriggerPrimitiveDigis",
56  hcalDigis= "DMHcalTriggerPrimitiveDigis"
57  )
58  stage2L1Trigger.toModify(caloLayer1RawFed1356,
59  ecalDigis= "DMEcalTriggerPrimitiveDigis",
60  hcalDigis= "DMHcalTriggerPrimitiveDigis"
61  )
62  stage2L1Trigger.toModify(caloLayer1RawFed1358,
63  ecalDigis= "DMEcalTriggerPrimitiveDigis",
64  hcalDigis= "DMHcalTriggerPrimitiveDigis"
65  )