File indexing completed on 2024-08-27 22:59:23
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def IslandClusterProducer(**kwargs):
0004 mod = cms.EDProducer('IslandClusterProducer',
0005 VerbosityLevel = cms.string('ERROR'),
0006 barrelHits = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0007 endcapHits = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0008 barrelClusterCollection = cms.string('islandBarrelBasicClusters'),
0009 endcapClusterCollection = cms.string('islandEndcapBasicClusters'),
0010 IslandBarrelSeedThr = cms.double(0.5),
0011 IslandEndcapSeedThr = cms.double(0.18),
0012 posCalcParameters = cms.PSet(
0013 LogWeighted = cms.bool(True),
0014 T0_barl = cms.double(7.4),
0015 T0_endc = cms.double(3.1),
0016 T0_endcPresh = cms.double(1.2),
0017 W0 = cms.double(4.2),
0018 X0 = cms.double(0.89)
0019 ),
0020 clustershapecollectionEE = cms.string('islandEndcapShape'),
0021 clustershapecollectionEB = cms.string('islandBarrelShape'),
0022 barrelShapeAssociation = cms.string('islandBarrelShapeAssoc'),
0023 endcapShapeAssociation = cms.string('islandEndcapShapeAssoc'),
0024 SeedRecHitFlagToBeExcludedEB = cms.vstring(),
0025 SeedRecHitFlagToBeExcludedEE = cms.vstring(),
0026 RecHitFlagToBeExcludedEB = cms.vstring(),
0027 RecHitFlagToBeExcludedEE = cms.vstring(),
0028 mightGet = cms.optional.untracked.vstring
0029 )
0030 for k,v in kwargs.items():
0031 setattr(mod, k, v)
0032 return mod