File indexing completed on 2024-08-27 22:59:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EgammaHLTNxNClusterProducer(**kwargs):
0004 mod = cms.EDProducer('EgammaHLTNxNClusterProducer',
0005 doBarrel = cms.bool(True),
0006 doEndcaps = cms.bool(True),
0007 barrelHitProducer = cms.InputTag('hltEcalRegionalPi0EtaRecHit', 'EcalRecHitsEB'),
0008 endcapHitProducer = cms.InputTag('hltEcalRegionalPi0EtaRecHit', 'EcalRecHitsEE'),
0009 clusEtaSize = cms.int32(3),
0010 clusPhiSize = cms.int32(3),
0011 barrelClusterCollection = cms.string('Simple3x3ClustersBarrel'),
0012 endcapClusterCollection = cms.string('Simple3x3ClustersEndcap'),
0013 clusSeedThr = cms.double(0.5),
0014 clusSeedThrEndCap = cms.double(1),
0015 useRecoFlag = cms.bool(False),
0016 flagLevelRecHitsToUse = cms.int32(1),
0017 useDBStatus = cms.bool(True),
0018 statusLevelRecHitsToUse = cms.int32(1),
0019 posCalcParameters = cms.PSet(
0020 T0_barl = cms.double(7.4),
0021 T0_endc = cms.double(3.1),
0022 T0_endcPresh = cms.double(1.2),
0023 W0 = cms.double(4.2),
0024 X0 = cms.double(0.89),
0025 LogWeighted = cms.bool(True)
0026 ),
0027 maxNumberofSeeds = cms.int32(1000),
0028 maxNumberofClusters = cms.int32(200),
0029 debugLevel = cms.int32(0),
0030 mightGet = cms.optional.untracked.vstring
0031 )
0032 for k,v in kwargs.items():
0033 setattr(mod, k, v)
0034 return mod