6 input_files = process.source.fileNames
7 max_events = process.maxEvents.input
8 process.source = cms.Source(
"HcalTBSource",
9 fileNames = input_files,
10 maxEvents = max_events,
11 firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID([]),
13 process.hcalDigis.InputLabel = cms.InputTag(
'source')
17 if hasattr(process,
"hcalDigiSortedTableTask"):
18 process.hcalDigiSortedTable.nTS_HB = cms.untracked.uint32(8)
19 process.hcalDigiSortedTable.nTS_HE = cms.untracked.uint32(8)
20 process.hcalDigiSortedTable.nTS_HF = cms.untracked.uint32(6)
21 process.hcalDigiSortedTable.nTS_HO = cms.untracked.uint32(10)
23 process.load(
"DPGAnalysis.HcalNanoAOD.hcalUMNioTable_cff")
24 if hasattr(process,
"hcalNanoTask"):
25 process.hcalNanoTask.add(process.uMNioTable)
26 if hasattr(process,
"hcalNanoDigiTask"):
27 process.hcalNanoDigiTask.add(process.uMNioTable)
30 def customiseHcalLocal(process)