File indexing completed on 2025-02-07 14:24:04
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFECALSuperClusterProducer(*args, **kwargs):
0004 mod = cms.EDProducer('PFECALSuperClusterProducer',
0005 PFSuperClusterCollectionEndcap = cms.string('particleFlowSuperClusterECALEndcap'),
0006 doSatelliteClusterMerge = cms.bool(False),
0007 thresh_PFClusterBarrel = cms.double(0),
0008 PFBasicClusterCollectionBarrel = cms.string('particleFlowBasicClusterECALBarrel'),
0009 useRegression = cms.bool(True),
0010 satelliteMajorityFraction = cms.double(0.5),
0011 thresh_PFClusterEndcap = cms.double(0),
0012 ESAssociation = cms.InputTag('particleFlowClusterECAL'),
0013 PFBasicClusterCollectionPreshower = cms.string('particleFlowBasicClusterECALPreshower'),
0014 verbose = cms.untracked.bool(False),
0015 thresh_SCEt = cms.double(4),
0016 etawidth_SuperClusterEndcap = cms.double(0.04),
0017 phiwidth_SuperClusterEndcap = cms.double(0.6),
0018 useDynamicDPhiWindow = cms.bool(True),
0019 PFSuperClusterCollectionBarrel = cms.string('particleFlowSuperClusterECALBarrel'),
0020 regressionConfig = cms.PSet(
0021 isHLT = cms.bool(False),
0022 isPhaseII = cms.bool(False),
0023 regTrainedWithPS = cms.bool(True),
0024 applySigmaIetaIphiBug = cms.bool(False),
0025 ecalRecHitsEE = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0026 ecalRecHitsEB = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0027 regressionKeyEB = cms.string('pfscecal_EBCorrection_offline_v2'),
0028 regressionKeyEE = cms.string('pfscecal_EECorrection_offline_v2'),
0029 uncertaintyKeyEB = cms.string('pfscecal_EBUncertainty_offline_v2'),
0030 uncertaintyKeyEE = cms.string('pfscecal_EEUncertainty_offline_v2'),
0031 regressionMinEB = cms.double(0.2),
0032 regressionMaxEB = cms.double(2),
0033 regressionMinEE = cms.double(0.2),
0034 regressionMaxEE = cms.double(2),
0035 uncertaintyMinEB = cms.double(0.0002),
0036 uncertaintyMaxEB = cms.double(0.5),
0037 uncertaintyMinEE = cms.double(0.0002),
0038 uncertaintyMaxEE = cms.double(0.5),
0039 vertexCollection = cms.InputTag('offlinePrimaryVertices'),
0040 eRecHitThreshold = cms.double(1),
0041 hgcalRecHits = cms.InputTag(''),
0042 hgcalCylinderR = cms.double(2.7999999523162842)
0043 ),
0044 applyCrackCorrections = cms.bool(False),
0045 satelliteClusterSeedThreshold = cms.double(50),
0046 etawidth_SuperClusterBarrel = cms.double(0.04),
0047 PFBasicClusterCollectionEndcap = cms.string('particleFlowBasicClusterECALEndcap'),
0048 PFClusters = cms.InputTag('particleFlowClusterECAL'),
0049 thresh_PFClusterSeedBarrel = cms.double(1),
0050 EnergyWeight = cms.string('Raw'),
0051 BeamSpot = cms.InputTag('offlineBeamSpot'),
0052 thresh_PFClusterSeedEndcap = cms.double(1),
0053 phiwidth_SuperClusterBarrel = cms.double(0.6),
0054 thresh_PFClusterES = cms.double(0),
0055 seedThresholdIsET = cms.bool(True),
0056 isOOTCollection = cms.bool(False),
0057 barrelRecHits = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0058 endcapRecHits = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0059 PFSuperClusterCollectionEndcapWithPreshower = cms.string('particleFlowSuperClusterECALEndcapWithPreshower'),
0060 dropUnseedable = cms.bool(False),
0061 ClusteringType = cms.string('Mustache'),
0062 mightGet = cms.optional.untracked.vstring
0063 )
0064 for a in args:
0065 mod.update_(a)
0066 mod.update_(kwargs)
0067 return mod