CMS 3D CMS Logo

Services_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # random numbers initialization service
6 from IOMC.RandomEngine.IOMC_cff import *
7 
8 # DQM store service
10 
11 # load ProcessAccelerators (that set the e.g. the necessary CUDA
12 # stuff) when the "gpu" or "pixelNtupletFit" modifiers are enabled
14  process.load("Configuration.StandardSequences.Accelerators_cff")
15 
17 from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
18 modifyConfigurationStandardSequencesServicesAddProcessAccelerators_ = (gpu | pixelNtupletFit).makeProcessModifier(_addProcessAccelerators)
19 
20 # load TritonService when SONIC workflow is enabled
21 def _addTritonService(process):
22  process.load("HeterogeneousCore.SonicTriton.TritonService_cff")
23 from Configuration.ProcessModifiers.enableSonicTriton_cff import enableSonicTriton
24 modifyConfigurationStandardSequencesServicesAddTritonService_ = enableSonicTriton.makeProcessModifier(_addTritonService)
def _addTritonService(process)
Definition: Services_cff.py:21
def _addProcessAccelerators(process)
Definition: Services_cff.py:13