CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 CUDA services when the "gpu" or "pixelNtupletFit" modifiers are enabled
12 def _addCUDAServices(process):
13  process.load("HeterogeneousCore.CUDAServices.CUDAService_cfi")
14  process.load("FWCore.MessageService.MessageLogger_cfi")
15  process.MessageLogger.CUDAService = cms.untracked.PSet()
16 
17 from Configuration.ProcessModifiers.gpu_cff import gpu
18 from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
19 modifyConfigurationStandardSequencesServicesAddCUDAServices_ = (gpu | pixelNtupletFit).makeProcessModifier(_addCUDAServices)
20 
21 # load TritonService when SONIC workflow is enabled
22 def _addTritonService(process):
23  process.load("HeterogeneousCore.SonicTriton.TritonService_cff")
24 from Configuration.ProcessModifiers.enableSonicTriton_cff import enableSonicTriton
25 modifyConfigurationStandardSequencesServicesAddTritonService_ = enableSonicTriton.makeProcessModifier(_addTritonService)
def _addTritonService
Definition: Services_cff.py:22
def _addCUDAServices
Definition: Services_cff.py:12