CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
customizeHcalOnlyForProfiling Namespace Reference

Functions

def customizeHcalOnlyForProfiling
 
def customizeHcalOnlyForProfilingGPUOnly
 
def customizeHcalOnlyForProfilingGPUWithHostCopy
 

Function Documentation

def customizeHcalOnlyForProfiling.customizeHcalOnlyForProfiling (   process)

Definition at line 50 of file customizeHcalOnlyForProfiling.py.

50 
52 
53  process.consumer = cms.EDAnalyzer("GenericConsumer",
54  eventProducts = cms.untracked.vstring('hbheprereco')
55  )
56 
57  process.consume_step = cms.EndPath(process.consumer)
58 
59  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
60 
61  return process
def customizeHcalOnlyForProfiling.customizeHcalOnlyForProfilingGPUOnly (   process)

Definition at line 8 of file customizeHcalOnlyForProfiling.py.

8 
10 
11  process.consumer = cms.EDAnalyzer("GenericConsumer",
12  eventProducts = cms.untracked.vstring('hbheRecHitProducerGPU')
13  )
14 
15  process.consume_step = cms.EndPath(process.consumer)
16 
17  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
18 
19  return process
20 
21 
22 # Customise the HCAL-only reconstruction to run on GPU, and copy the data to the host
23 #
24 # Currently, this means:
25 # - running the unpacker on CPU, converting the digis into SoA format and copying them to GPU;
26 # - running the HBHE local reconstruction, including MAHI, on GPU;
27 # - copying the rechits to CPU and converting them to legacy format.
28 #
# (this is equivalent to customizeHcalOnlyForProfiling, as the copy and conversion is done by the same module)
def customizeHcalOnlyForProfiling.customizeHcalOnlyForProfilingGPUWithHostCopy (   process)

Definition at line 29 of file customizeHcalOnlyForProfiling.py.

29 
31 
32  process.consumer = cms.EDAnalyzer("GenericConsumer",
33  eventProducts = cms.untracked.vstring('hbheprereco')
34  )
35 
36  process.consume_step = cms.EndPath(process.consumer)
37 
38  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
39 
40  return process
41 
42 
43 # Customise the HCAL-only reconstruction to run on GPU, copy the data to the host, and convert to legacy format
44 #
45 # Currently, this means:
46 # - running the unpacker on CPU, converting the digis into SoA format and copying them to GPU;
47 # - running the HBHE local reconstruction, including MAHI, on GPU;
48 # - copying the rechits to CPU and converting them to legacy format.
49 #
# The same customisation can be also used on the CPU workflow, running up to the rechits on CPU.