1 import FWCore.ParameterSet.Config
as cms
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 process.user_step.insert(0, process.hcalCalibHLTFilter)
39 process.NANOAODoutput_step.insert(0, process.hcalCalibHLTFilter)
53 process.load(
"FWCore.MessageService.MessageLogger_cfi")
54 process.MessageLogger.cout.threshold =
"DEBUG" 55 process.MessageLogger.cerr.threshold =
"DEBUG" 57 process.MessageLogger.debugModules = [
"*"]
def customiseHcalCalib(process)