Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:15:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 hcalRawDataVME = cms.EDProducer("HcalDigiToRaw",
0005     HBHE = cms.untracked.InputTag("simHcalDigis"),
0006     HF = cms.untracked.InputTag("simHcalDigis"),
0007     HO = cms.untracked.InputTag("simHcalDigis"),
0008     ZDC = cms.untracked.InputTag("simHcalUnsuppressedDigis"),
0009     TRIG =  cms.untracked.InputTag("simHcalTriggerPrimitiveDigis")
0010 )
0011 
0012 hcalRawDataTask = cms.Task(hcalRawDataVME)
0013 hcalRawData = cms.Sequence(hcalRawDataTask)
0014 
0015 from EventFilter.HcalRawToDigi.hcalDigiToRawuHTR_cfi import hcalDigiToRawuHTR as hcalRawDatauHTR
0016 
0017 _phase1_hcalRawDataTask = hcalRawDataTask.copy()
0018 _phase1_hcalRawDataTask.add(hcalRawDatauHTR)
0019 
0020 from Configuration.Eras.Modifier_run2_HCAL_2017_cff import run2_HCAL_2017
0021 run2_HCAL_2017.toModify( hcalRawDataVME,
0022     HBHE = cms.untracked.InputTag(""),
0023     HF = cms.untracked.InputTag(""),
0024     TRIG = cms.untracked.InputTag("")
0025 )
0026 run2_HCAL_2017.toReplaceWith(hcalRawDataTask,_phase1_hcalRawDataTask)