File indexing completed on 2024-04-06 12:25:38
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007
0008 def customizeHcalOnlyForProfilingGPUOnly(process):
0009
0010 process.consumer = cms.EDAnalyzer("GenericConsumer",
0011 eventProducts = cms.untracked.vstring('hbheRecHitProducerGPU')
0012 )
0013
0014 process.consume_step = cms.EndPath(process.consumer)
0015
0016 process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
0017
0018 return process
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 def customizeHcalOnlyForProfilingGPUWithHostCopy(process):
0030
0031 process.consumer = cms.EDAnalyzer("GenericConsumer",
0032 eventProducts = cms.untracked.vstring('hbheprereco')
0033 )
0034
0035 process.consume_step = cms.EndPath(process.consumer)
0036
0037 process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
0038
0039 return process
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050 def customizeHcalOnlyForProfiling(process):
0051
0052 process.consumer = cms.EDAnalyzer("GenericConsumer",
0053 eventProducts = cms.untracked.vstring('hbheprereco')
0054 )
0055
0056 process.consume_step = cms.EndPath(process.consumer)
0057
0058 process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
0059
0060 return process