7 process.load(
"DPGAnalysis.HcalNanoAOD.hcalUMNioTable_cff")
8 process.hcalNanoTask.add(process.uMNioTable)
9 process.hcalNanoDigiTask.add(process.uMNioTable)
11 process.load(
"DPGAnalysis.HcalNanoAOD.hcalUHTRTable_cff")
12 process.hcalNanoTask.add(process.uHTRTable)
13 process.hcalNanoDigiTask.add(process.uHTRTable)
16 process.hcalDigis.InputLabel = cms.InputTag(
'hltHcalCalibrationRaw')
17 process.uHTRTable.InputLabel = process.hcalDigis.InputLabel
21 process.hcalCalibHLTFilter = cms.EDFilter(
"TriggerResultsFilter",
22 triggerConditions = cms.vstring(
23 'HLT_HcalCalibration_v* / 1'),
24 hltResults = cms.InputTag(
"TriggerResults",
"",
"HLT" ),
25 l1tResults = cms.InputTag(
"" ),
26 l1tIgnoreMask = cms.bool(
False ),
27 l1techIgnorePrescales = cms.bool(
False ),
28 daqPartitions = cms.uint32( 1 ),
29 throw = cms.bool(
True )
33 process.RawToDigiTask.remove(process.hcalDigis)
34 process.hcalCalibDigiSequence = cms.Sequence(process.hcalCalibHLTFilter + process.hcalDigis)
35 process.raw2digi_step = cms.Path(process.hcalCalibDigiSequence, process.RawToDigiTask)
38 for path
in process.paths.values()+process.endpaths.values():
39 path.insert(0, process.hcalCalibHLTFilter)
42 def customiseHcalCalib(process)