Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.StandardSequences.DigiToRaw_cff import *
0004 
0005 # Re-define inputs to look at the DataMixer output
0006 #
0007 # In premixing stage2, need to use the original ones for muons
0008 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0009 #
0010 siPixelRawData.InputLabel = "mixData:siPixelDigisDM"
0011 SiStripDigiToRaw.InputDigis = "mixData:siStripDigisDM"
0012 #
0013 ecalPacker.Label = 'DMEcalDigis'
0014 ecalPacker.InstanceEB = 'ebDigis'
0015 ecalPacker.InstanceEE = 'eeDigis'
0016 ecalPacker.labelEBSRFlags = "DMEcalDigis:ebSrFlags"
0017 ecalPacker.labelEESRFlags = "DMEcalDigis:eeSrFlags"
0018 ecalPacker.labelTT = 'DMEcalTriggerPrimitiveDigis'
0019 esDigiToRaw.Label = 'DMEcalPreshowerDigis'
0020 #
0021 hcalRawDataVME.HBHE = "DMHcalDigis"
0022 hcalRawDataVME.HF = "DMHcalDigis"
0023 hcalRawDataVME.HO = "DMHcalDigis"
0024 hcalRawDataVME.ZDC = "mixData"
0025 hcalRawDataVME.TRIG = "DMHcalTriggerPrimitiveDigis"
0026 #
0027 (~premix_stage2).toModify(cscpacker,
0028     wireDigiTag = "mixData:MuonCSCWireDigisDM",
0029     stripDigiTag = "mixData:MuonCSCStripDigisDM",
0030     comparatorDigiTag = "mixData:MuonCSCComparatorDigisDM"
0031 )
0032 (~premix_stage2).toModify(dtpacker, digiColl = 'mixData')
0033 (~premix_stage2).toModify(rpcpacker, InputLabel = "mixData")
0034 
0035 DigiToRawTask.remove(castorRawData)
0036 
0037 #castorRawData.CASTOR = cms.untracked.InputTag("castorDigis")
0038 #
0039 
0040 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
0041 run2_HCAL_2017.toModify( hcalRawDataVME,
0042     HBHE = "",
0043     HF = "",
0044     TRIG = "",
0045 )
0046 run2_HCAL_2017.toModify( hcalRawDatauHTR,
0047     HBHEqie8 = "DMHcalDigis",
0048     HFqie8 = "DMHcalDigis",
0049     QIE10 = "DMHcalDigis:HFQIE10DigiCollection",
0050     QIE11 = "DMHcalDigis:HBHEQIE11DigiCollection",
0051     TP = "DMHcalTriggerPrimitiveDigis",
0052 )
0053 
0054 
0055 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0056 stage2L1Trigger.toModify(caloLayer1RawFed1354,
0057                          ecalDigis= "DMEcalTriggerPrimitiveDigis",
0058                          hcalDigis= "DMHcalTriggerPrimitiveDigis"
0059                          )
0060 stage2L1Trigger.toModify(caloLayer1RawFed1356,
0061                          ecalDigis= "DMEcalTriggerPrimitiveDigis",
0062                          hcalDigis= "DMHcalTriggerPrimitiveDigis"
0063                          )
0064 stage2L1Trigger.toModify(caloLayer1RawFed1358,
0065                          ecalDigis= "DMEcalTriggerPrimitiveDigis",
0066                          hcalDigis= "DMHcalTriggerPrimitiveDigis"
0067                          )