49 process.load(
"DPGAnalysis.HcalNanoAOD.hcalUMNioTable_cff")
50 process.hcalNanoTask.add(process.uMNioTable)
51 process.hcalNanoDigiTask.add(process.uMNioTable)
54 process.hcalDigis.InputLabel = cms.InputTag(
'hltHcalCalibrationRaw')
58 process.hcalCalibHLTFilter = cms.EDFilter(
"TriggerResultsFilter",
59 triggerConditions = cms.vstring(
60 'HLT_HcalCalibration_v* / 1'),
61 hltResults = cms.InputTag(
"TriggerResults",
"",
"HLT" ),
62 l1tResults = cms.InputTag(
"" ),
63 l1tIgnoreMask = cms.bool(
False ),
64 l1techIgnorePrescales = cms.bool(
False ),
65 daqPartitions = cms.uint32( 1 ),
66 throw = cms.bool(
True )
70 process.RawToDigiTask.remove(process.hcalDigis)
71 process.hcalCalibDigiSequence = cms.Sequence(process.hcalCalibHLTFilter + process.hcalDigis)
72 process.raw2digi_step = cms.Path(process.hcalCalibDigiSequence, process.RawToDigiTask)
75 process.user_step.insert(0, process.hcalCalibHLTFilter)
76 process.NANOAODoutput_step.insert(0, process.hcalCalibHLTFilter)
def customiseHcalCalib(process)