File indexing completed on 2024-04-06 12:23:55
0001 import FWCore.ParameterSet.Config as cms
0002 import PhysicsTools.PatAlgos.PATElectronProducer_cfi as _mod
0003
0004 patElectrons = _mod.PATElectronProducer.clone(
0005
0006 electronSource = "gedGsfElectrons",
0007
0008
0009 pfElectronSource = "particleFlow",
0010 pfCandidateMap = "particleFlow:electrons",
0011
0012
0013 addMVAVariables = True,
0014 reducedBarrelRecHitCollection = "reducedEcalRecHitsEB",
0015 reducedEndcapRecHitCollection = "reducedEcalRecHitsEE",
0016
0017
0018 userData = dict(
0019
0020 userClasses = cms.PSet(
0021 src = cms.VInputTag('')
0022 ),
0023
0024 userFloats = cms.PSet(
0025 src = cms.VInputTag('')
0026 ),
0027
0028 userInts = cms.PSet(
0029 src = cms.VInputTag('')
0030 ),
0031
0032 userCands = cms.PSet(
0033 src = cms.VInputTag('')
0034 ),
0035
0036 userFunctions = [],
0037 userFunctionLabels = []
0038 ),
0039
0040
0041 embedGsfElectronCore = True,
0042 embedGsfTrack = False,
0043 embedSuperCluster = True,
0044 embedPflowSuperCluster = True,
0045 embedSeedCluster = True,
0046 embedBasicClusters = True,
0047 embedPreshowerClusters = True,
0048 embedPflowBasicClusters = True,
0049 embedPflowPreshowerClusters = True,
0050 embedPFCandidate = True,
0051 embedTrack = True,
0052 embedRecHits = True,
0053
0054
0055 isoDeposits = cms.PSet(),
0056
0057
0058
0059
0060 userIsolation = dict(),
0061
0062
0063 addElectronID = False,
0064 electronIDSources = cms.PSet(),
0065
0066
0067 addGenMatch = True,
0068 embedGenMatch = True,
0069 genParticleMatch = "electronMatch",
0070
0071
0072 addEfficiencies = False,
0073 efficiencies = dict(),
0074
0075
0076 addResolutions = False,
0077 resolutions = dict(),
0078
0079
0080 embedHighLevelSelection = True,
0081 beamLineSrc = "offlineBeamSpot",
0082 pvSrc = "offlinePrimaryVertices",
0083
0084
0085 addPFClusterIso = False,
0086 ecalPFClusterIsoMap = "",
0087 hcalPFClusterIsoMap = "",
0088 addPuppiIsolation = False,
0089
0090
0091
0092
0093
0094 computeMiniIso = False,
0095 pfCandsForMiniIso = "packedPFCandidates",
0096
0097 miniIsoParamsE = [0.05, 0.2, 10.0, 0.0, 0.015, 0.015, 0.08, 0.0, 0.0],
0098 miniIsoParamsB = [0.05, 0.2, 10.0, 0.0, 0.000, 0.000, 0.00, 0.0, 0.0],
0099
0100 )
0101 del patElectrons.electronIDSource