Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def alpaka_rocm_async_PFClusterParamsESProducer(*args, **kwargs):
0004   mod = cms.ESProducer('alpaka_rocm_async::PFClusterParamsESProducer',
0005     seedFinder = cms.PSet(
0006       nNeighbours = cms.int32(4),
0007       thresholdsByDetector = cms.VPSet(
0008         cms.PSet(
0009           detector = cms.string('HCAL_BARREL1'),
0010           seedingThreshold = cms.vdouble(
0011             0.125,
0012             0.25,
0013             0.35,
0014             0.35
0015           ),
0016           seedingThresholdPt = cms.double(0)
0017         ),
0018         cms.PSet(
0019           detector = cms.string('HCAL_ENDCAP'),
0020           seedingThreshold = cms.vdouble(
0021             0.1375,
0022             0.275,
0023             0.275,
0024             0.275,
0025             0.275,
0026             0.275,
0027             0.275
0028           ),
0029           seedingThresholdPt = cms.double(0)
0030         )
0031       )
0032     ),
0033     initialClusteringStep = cms.PSet(
0034       thresholdsByDetector = cms.VPSet(
0035         cms.PSet(
0036           detector = cms.string('HCAL_BARREL1'),
0037           gatheringThreshold = cms.vdouble(
0038             0.1,
0039             0.2,
0040             0.3,
0041             0.3
0042           )
0043         ),
0044         cms.PSet(
0045           detector = cms.string('HCAL_ENDCAP'),
0046           gatheringThreshold = cms.vdouble(
0047             0.1,
0048             0.2,
0049             0.2,
0050             0.2,
0051             0.2,
0052             0.2,
0053             0.2
0054           )
0055         )
0056       )
0057     ),
0058     pfClusterBuilder = cms.PSet(
0059       maxIterations = cms.uint32(50),
0060       minFracTot = cms.double(1e-20),
0061       minFractionToKeep = cms.double(1e-07),
0062       excludeOtherSeeds = cms.bool(True),
0063       showerSigma = cms.double(10),
0064       stoppingTolerance = cms.double(1e-08),
0065       recHitEnergyNorms = cms.VPSet(
0066         cms.PSet(
0067           detector = cms.string('HCAL_BARREL1'),
0068           recHitEnergyNorm = cms.vdouble(
0069             0.1,
0070             0.2,
0071             0.3,
0072             0.3
0073           )
0074         ),
0075         cms.PSet(
0076           detector = cms.string('HCAL_ENDCAP'),
0077           recHitEnergyNorm = cms.vdouble(
0078             0.1,
0079             0.2,
0080             0.2,
0081             0.2,
0082             0.2,
0083             0.2,
0084             0.2
0085           )
0086         )
0087       ),
0088       positionCalc = cms.PSet(
0089         minFractionInCalc = cms.double(1e-09),
0090         minAllowedNormalization = cms.double(1e-09)
0091       ),
0092       timeResolutionCalcBarrel = cms.PSet(
0093         corrTermLowE = cms.double(0),
0094         threshLowE = cms.double(6),
0095         noiseTerm = cms.double(21.86),
0096         constantTermLowE = cms.double(4.24),
0097         noiseTermLowE = cms.double(8),
0098         threshHighE = cms.double(15),
0099         constantTerm = cms.double(2.82)
0100       ),
0101       timeResolutionCalcEndcap = cms.PSet(
0102         corrTermLowE = cms.double(0),
0103         threshLowE = cms.double(6),
0104         noiseTerm = cms.double(21.86),
0105         constantTermLowE = cms.double(4.24),
0106         noiseTermLowE = cms.double(8),
0107         threshHighE = cms.double(15),
0108         constantTerm = cms.double(2.82)
0109       )
0110     ),
0111     appendToDataLabel = cms.string(''),
0112     alpaka = cms.untracked.PSet(
0113       backend = cms.untracked.string('')
0114     )
0115   )
0116   for a in args:
0117     mod.update_(a)
0118   mod.update_(kwargs)
0119   return mod