Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-24 02:12:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from SimGeneral.HepPDTESSource.pythiapdt_cfi import *
0004 
0005 # random numbers initialization service
0006 from IOMC.RandomEngine.IOMC_cff import *
0007 
0008 # DQM store service
0009 from DQMServices.Core.DQMStore_cfi import *
0010 
0011 # load ProcessAccelerators (that set the e.g. the necessary CUDA
0012 # stuff) when the "gpu" or "pixelNtupletFit" modifiers are enabled
0013 def _addProcessAccelerators(process):
0014     process.load("Configuration.StandardSequences.Accelerators_cff")
0015 
0016 from Configuration.ProcessModifiers.gpu_cff import gpu
0017 from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
0018 modifyConfigurationStandardSequencesServicesAddProcessAccelerators_ = (gpu | pixelNtupletFit).makeProcessModifier(_addProcessAccelerators)
0019 
0020 # load TritonService when SONIC workflow is enabled
0021 def _addTritonService(process):
0022     process.load("HeterogeneousCore.SonicTriton.TritonService_cff")
0023 from Configuration.ProcessModifiers.enableSonicTriton_cff import enableSonicTriton
0024 modifyConfigurationStandardSequencesServicesAddTritonService_ = enableSonicTriton.makeProcessModifier(_addTritonService)