CMS 3D CMS Logo

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

Functions

def customizeEcalOnlyForProfiling
 
def customizeEcalOnlyForProfilingGPUOnly
 
def customizeEcalOnlyForProfilingGPUWithHostCopy
 

Function Documentation

def customizeEcalOnlyForProfiling.customizeEcalOnlyForProfiling (   process)

Definition at line 41 of file customizeEcalOnlyForProfiling.py.

41 
43 
44  process.consumer = cms.EDAnalyzer("GenericConsumer",
45  eventProducts = cms.untracked.vstring('ecalRecHit')
46  )
47 
48  process.consume_step = cms.EndPath(process.consumer)
49 
50  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
51 
52  return process
def customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUOnly (   process)

Definition at line 6 of file customizeEcalOnlyForProfiling.py.

6 
8 
9  process.consumer = cms.EDAnalyzer("GenericConsumer",
10  eventProducts = cms.untracked.vstring('ecalMultiFitUncalibRecHitGPU')
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 ECAL-only reconstruction to run on GPU, and copy the data to the host
21 #
# Currently, this means running only the unpacker and multifit, up to the uncalbrated rechits
def customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUWithHostCopy (   process)

Definition at line 22 of file customizeEcalOnlyForProfiling.py.

22 
24 
25  process.consumer = cms.EDAnalyzer("GenericConsumer",
26  eventProducts = cms.untracked.vstring('ecalMultiFitUncalibRecHitSoA')
27  )
28 
29  process.consume_step = cms.EndPath(process.consumer)
30 
31  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
32 
33  return process
34 
35 
36 # Customise the ECAL-only reconstruction to run on GPU, copy the data to the host, and convert to legacy format
37 #
38 # Currently, this means running only the unpacker and multifit, up to the uncalbrated rechits, on the GPU
39 # and the rechits producer on the CPU
40 #
# The same customisation can be also used on the CPU workflow, running up to the rechits on CPU.