File indexing completed on 2025-02-20 03:45:01
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CTPPSOpticalFunctionsESSource(*args, **kwargs):
0004 mod = cms.ESSource('CTPPSOpticalFunctionsESSource',
0005 label = cms.string(''),
0006 configuration = cms.VPSet(
0007 template = cms.PSetTemplate(
0008 validityRange = cms.EventRange('0:18446744073709551615-0:18446744073709551615'),
0009 opticalFunctions = cms.VPSet(
0010 template = cms.PSetTemplate(
0011 xangle = cms.required.double,
0012 fileName = cms.required.FileInPath
0013 )
0014 ),
0015 scoringPlanes = cms.VPSet(
0016 template = cms.PSetTemplate(
0017 rpId = cms.required.uint32,
0018 dirName = cms.required.string,
0019 z = cms.required.double
0020 )
0021 )
0022 )
0023 ),
0024 appendToDataLabel = cms.string('')
0025 )
0026 for a in args:
0027 mod.update_(a)
0028 mod.update_(kwargs)
0029 return mod