CMS 3D CMS Logo

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

Functions

def customizePixelOnlyForProfiling
 
def customizePixelOnlyForProfilingGPUOnly
 
def customizePixelOnlyForProfilingGPUWithHostCopy
 

Function Documentation

def customizePixelOnlyForProfiling.customizePixelOnlyForProfiling (   process)

Definition at line 49 of file customizePixelOnlyForProfiling.py.

49 
51 
52  process.consumer = cms.EDAnalyzer("GenericConsumer",
53  eventProducts = cms.untracked.vstring('pixelTracks', 'pixelVertices')
54  )
55 
56  process.consume_step = cms.EndPath(process.consumer)
57 
58  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
59 
60  return process
def customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUOnly (   process)

Definition at line 6 of file customizePixelOnlyForProfiling.py.

6 
8 
9  process.consumer = cms.EDAnalyzer("GenericConsumer",
10  eventProducts = cms.untracked.vstring('pixelTracksCUDA', 'pixelVerticesCUDA')
11  )
12 
13  process.consume_step = cms.EndPath(process.consumer)
14 
15  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
16 
17  return process
18 
19 
20 # Customise the Pixel-only reconstruction to run on GPU, and copy the data to the host
21 #
22 # Run the unpacker, clustering, ntuplets, track fit and vertex reconstruction on GPU,
23 # and copy all the products to the host in SoA format.
24 #
25 # The same customisation can be also used on the SoA CPU workflow, running up to the
# tracks and vertices on the CPU in SoA format, without conversion to legacy format.
def customizePixelOnlyForProfiling.customizePixelOnlyForProfilingGPUWithHostCopy (   process)

Definition at line 26 of file customizePixelOnlyForProfiling.py.

26 
28 
29  #? process.siPixelRecHitSoAFromLegacy.convertToLegacy = False
30 
31  process.consumer = cms.EDAnalyzer("GenericConsumer",
32  eventProducts = cms.untracked.vstring('pixelTracksSoA', 'pixelVerticesSoA')
33  )
34 
35  process.consume_step = cms.EndPath(process.consumer)
36 
37  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
38 
39  return process
40 
41 
42 # Customise the Pixel-only reconstruction to run on GPU, copy the data to the host,
43 # and convert to legacy format
44 #
45 # Run the unpacker, clustering, ntuplets, track fit and vertex reconstruction on GPU;
46 # copy all the products to the host in SoA format; and convert them to legacy format.
47 #
48 # The same customisation can be also used on the CPU workflow, running up to the
# tracks and vertices on the CPU.