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