CMS 3D CMS Logo

Functions
customizeEcalOnlyForProfiling Namespace Reference

Functions

def customizeEcalOnlyForProfiling (process)
 
def customizeEcalOnlyForProfilingGPUOnly (process)
 
def customizeEcalOnlyForProfilingGPUWithHostCopy (process)
 

Function Documentation

◆ customizeEcalOnlyForProfiling()

def customizeEcalOnlyForProfiling.customizeEcalOnlyForProfiling (   process)

Definition at line 41 of file customizeEcalOnlyForProfiling.py.

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

◆ customizeEcalOnlyForProfilingGPUOnly()

def customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUOnly (   process)

Definition at line 6 of file customizeEcalOnlyForProfiling.py.

7 
8  process.consumer = cms.EDAnalyzer("GenericConsumer",
9  eventProducts = cms.untracked.vstring('ecalMultiFitUncalibRecHitGPU')
10  )
11 
12  process.consume_step = cms.EndPath(process.consumer)
13 
14  process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.consume_step)
15 
16  return process
17 
18 
19 # Customise the ECAL-only reconstruction to run on GPU, and copy the data to the host
20 #
21 # Currently, this means running only the unpacker and multifit, up to the uncalbrated rechits

◆ customizeEcalOnlyForProfilingGPUWithHostCopy()

def customizeEcalOnlyForProfiling.customizeEcalOnlyForProfilingGPUWithHostCopy (   process)

Definition at line 22 of file customizeEcalOnlyForProfiling.py.

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