File indexing completed on 2024-11-23 03:28:20
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def HGCalPhotonIDValueMapProducer(*args, **kwargs):
0004 mod = cms.EDProducer('HGCalPhotonIDValueMapProducer',
0005 photons = cms.InputTag('photonsHGC'),
0006 pcaRadius = cms.double(3),
0007 variables = cms.vstring(
0008 'seedEt',
0009 'seedEnergy',
0010 'seedEnergyEE',
0011 'seedEnergyFH',
0012 'seedEnergyBH',
0013 'pcaEig1',
0014 'pcaEig2',
0015 'pcaEig3',
0016 'pcaSig1',
0017 'pcaSig2',
0018 'pcaSig3',
0019 'sigmaUU',
0020 'sigmaVV',
0021 'sigmaEE',
0022 'sigmaPP',
0023 'nLayers',
0024 'firstLayer',
0025 'lastLayer',
0026 'e4oEtot',
0027 'layerEfrac10',
0028 'layerEfrac90',
0029 'measuredDepth',
0030 'expectedDepth',
0031 'expectedSigma',
0032 'depthCompatibility',
0033 'caloIsoRing0',
0034 'caloIsoRing1',
0035 'caloIsoRing2',
0036 'caloIsoRing3',
0037 'caloIsoRing4'
0038 ),
0039 dEdXWeights = cms.required.vdouble,
0040 isoNRings = cms.uint32(5),
0041 isoDeltaR = cms.double(0.15),
0042 isoDeltaRmin = cms.double(0),
0043 EERecHits = cms.InputTag('HGCalRecHit', 'HGCEERecHits'),
0044 FHRecHits = cms.InputTag('HGCalRecHit', 'HGCHEFRecHits'),
0045 BHRecHits = cms.InputTag('HGCalRecHit', 'HGCHEBRecHits'),
0046 hitMapTag = cms.InputTag('recHitMapProducer', 'hgcalRecHitMap'),
0047 mightGet = cms.optional.untracked.vstring
0048 )
0049 for a in args:
0050 mod.update_(a)
0051 mod.update_(kwargs)
0052 return mod