6 nanoMetadata = cms.EDProducer(
"UniqueStringProducer",
8 tag = cms.string(
"untagged"),
12 hcalNanoTask = cms.Task(
15 hcalDigiSortedTableTask,
19 hcalNanoDigiTask = cms.Task(
22 hcalDigiSortedTableTask,
25 hcalNanoRecHitTask = cms.Task(
32 hcalNanoPhiSymTask = cms.Task(
39 hcalNanoIsoTrkTask = cms.Task(
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)
83 input_files = process.source.fileNames
84 max_events = process.maxEvents.input
85 process.source = cms.Source(
"HcalTBSource",
86 fileNames = input_files,
87 maxEvents = max_events,
88 firstLuminosityBlockForEachRun = cms.untracked.VLuminosityBlockID([]),
90 process.hcalDigis.InputLabel = cms.InputTag(
'source')
96 if hasattr(process,
"hcalDigiSortedTableTask"):
97 process.hcalDigiSortedTable.nTS_HB = cms.untracked.uint32(8)
98 process.hcalDigiSortedTable.nTS_HE = cms.untracked.uint32(8)
99 process.hcalDigiSortedTable.nTS_HF = cms.untracked.uint32(6)
100 process.hcalDigiSortedTable.nTS_HO = cms.untracked.uint32(10)
102 process.load(
"DPGAnalysis.HcalNanoAOD.hcalUMNioTable_cff")
103 if hasattr(process,
"hcalNanoTask"):
104 process.hcalNanoTask.add(process.uMNioTable)
105 if hasattr(process,
"hcalNanoDigiTask"):
106 process.hcalNanoDigiTask.add(process.uMNioTable)
def customiseHcalCalib(process)
def customiseHcalLocal(process)