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