CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Variables
lowPtElectrons_cff Namespace Reference

Variables

tuple _modifiers
 Modifiers. More...
 
tuple finalLowPtElectrons
 
tuple isoForLowPtEle
 
tuple lowPtElectronMCTable
 
tuple lowPtElectronMCTask
 
tuple lowPtElectronsMCMatchForTable
 
tuple lowPtElectronsMCMatchForTableAlt
 
tuple lowPtElectronTable
 electronTable More...
 
tuple lowPtElectronTablesTask = cms.Task(lowPtElectronTable)
 
tuple lowPtElectronTask
 Tasks. More...
 
tuple lowPtPATElectronID
 
tuple matchingLowPtElecPhoton
 electronTable (MC) More...
 
tuple modifiedLowPtElectrons
 
tuple updatedLowPtElectrons
 
tuple updatedLowPtElectronsWithUserData
 

Variable Documentation

tuple lowPtElectrons_cff._modifiers
Initial value:
1 = ( run2_miniAOD_80XLegacy |
2  run2_nanoAOD_94XMiniAODv1 |
3  run2_nanoAOD_94XMiniAODv2 |
4  run2_nanoAOD_94X2016 |
5  run2_nanoAOD_102Xv1 |
6  run2_nanoAOD_106Xv1 )

Modifiers.

Definition at line 197 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.finalLowPtElectrons
Initial value:
1 = cms.EDFilter(
2  "PATElectronRefSelector",
3  src = cms.InputTag("updatedLowPtElectronsWithUserData"),
4  cut = cms.string("pt > 1. && userFloat('ID') > -0.25"),
5 )

Definition at line 64 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.isoForLowPtEle
Initial value:
1 = cms.EDProducer(
2  "EleIsoValueMapProducer",
3  src = cms.InputTag("updatedLowPtElectrons"),
4  relative = cms.bool(True),
5  rho_MiniIso = cms.InputTag("fixedGridRhoFastjetAll"),
6  rho_PFIso = cms.InputTag("fixedGridRhoFastjetAll"),
7  EAFile_MiniIso = cms.FileInPath("RecoEgamma/ElectronIdentification/data/Fall17/effAreaElectrons_cone03_pfNeuHadronsAndPhotons_94X.txt"),
8  EAFile_PFIso = cms.FileInPath("RecoEgamma/ElectronIdentification/data/Fall17/effAreaElectrons_cone03_pfNeuHadronsAndPhotons_94X.txt"),
9 )

Definition at line 41 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronMCTable
Initial value:
1 = cms.EDProducer(
2  "CandMCMatchTableProducer",
3  src = lowPtElectronTable.src,
4  mcMapDressedLep = cms.InputTag("lowPtElectronsMCMatchForTableAlt"),
5  mcMap = cms.InputTag("lowPtElectronsMCMatchForTable"),
6  mapTauAnc = cms.InputTag("matchingLowPtElecPhoton:hasTauAnc"),
7  objName = lowPtElectronTable.name,
8  objType = electronMCTable.objType,
9  branchName = cms.string("genPart"),
10  docString = cms.string("MC matching to status==1 electrons or photons"),
11  genparticles = cms.InputTag("finalGenParticles"),
12 )

Definition at line 161 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronMCTask
Initial value:
1 = cms.Task(
2  matchingLowPtElecPhoton,
3  lowPtElectronsMCMatchForTable,
4  lowPtElectronsMCMatchForTableAlt,
5  lowPtElectronMCTable)

Definition at line 187 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronsMCMatchForTable
Initial value:
1 = cms.EDProducer(
2  "MCMatcher", # cut on deltaR, deltaPt/Pt; pick best by deltaR
3  src = lowPtElectronTable.src, # final reco collection
4  matched = cms.InputTag("finalGenParticles"), # final mc-truth particle collection
5  mcPdgId = cms.vint32(11), # one or more PDG ID (11 = ele); absolute values (see below)
6  checkCharge = cms.bool(False), # True = require RECO and MC objects to have the same charge
7  mcStatus = cms.vint32(1), # PYTHIA status code (1 = stable, 2 = shower, 3 = hard scattering)
8  maxDeltaR = cms.double(0.3), # Minimum deltaR for the match
9  maxDPtRel = cms.double(0.5), # Minimum deltaPt/Pt for the match
10  resolveAmbiguities = cms.bool(True), # Forbid two RECO objects to match to the same GEN object
11  resolveByMatchQuality = cms.bool(True), # False = just match input in order; True = pick lowest deltaR pair first
12 )

Definition at line 147 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronsMCMatchForTableAlt
Initial value:
1 = cms.EDProducer(
2  "GenJetMatcherDRPtByDR", # cut on deltaR, deltaPt/Pt; pick best by deltaR
3  src = lowPtElectronTable.src, # final reco collection
4  matched = cms.InputTag("matchingLowPtElecPhoton:merged"), # final mc-truth particle collection
5  mcPdgId = cms.vint32(11,22), # one or more PDG ID (11 = el, 22 = pho); absolute values (see below)
6  checkCharge = cms.bool(False), # True = require RECO and MC objects to have the same charge
7  mcStatus = cms.vint32(),
8  maxDeltaR = cms.double(0.3), # Minimum deltaR for the match
9  maxDPtRel = cms.double(0.5), # Minimum deltaPt/Pt for the match
10  resolveAmbiguities = cms.bool(True), # Forbid two RECO objects to match to the same GEN object
11  resolveByMatchQuality = cms.bool(True), # False = just match input in order; True = pick lowest deltaR pair first
12 )

Definition at line 134 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronTable

electronTable

Definition at line 74 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronTablesTask = cms.Task(lowPtElectronTable)

Definition at line 185 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtElectronTask
Initial value:
1 = cms.Task(modifiedLowPtElectrons,
2  updatedLowPtElectrons,
3  lowPtPATElectronID,
4  isoForLowPtEle,
5  updatedLowPtElectronsWithUserData,
6  finalLowPtElectrons)

Tasks.

Definition at line 178 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.lowPtPATElectronID
Initial value:
1 = lowPtGsfElectronID.clone(
2  usePAT = True,
3  electrons = "updatedLowPtElectrons",
4  unbiased = "",
5  ModelWeights = [
6  'RecoEgamma/ElectronIdentification/data/LowPtElectrons/LowPtElectrons_ID_2020Nov28.root',
7  ],
8 )

Definition at line 32 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.matchingLowPtElecPhoton
Initial value:
1 = cms.EDProducer(
2  "GenJetGenPartMerger",
3  srcJet =cms.InputTag("particleLevel:leptons"),
4  srcPart=cms.InputTag("particleLevel:photons"),
5  cut = cms.string(""),
6  hasTauAnc=cms.InputTag("tautaggerForMatching"),
7 )

electronTable (MC)

Definition at line 126 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.modifiedLowPtElectrons
Initial value:
1 = cms.EDProducer(
2  "ModifiedElectronProducer",
3  src = cms.InputTag("slimmedLowPtElectrons"),
4  modifierConfig = cms.PSet(
5  modifications = cms.VPSet(lowPtElectronModifier,lowPtRegressionModifier)
6  )
7 )

Definition at line 11 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.updatedLowPtElectrons
Initial value:
1 = cms.EDProducer(
2  "PATElectronUpdater",
3  src = cms.InputTag("modifiedLowPtElectrons"),
4  vertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
5  computeMiniIso = cms.bool(True),
6  fixDxySign = cms.bool(False),
7  pfCandsForMiniIso = cms.InputTag("packedPFCandidates"),
8  miniIsoParamsB = PhysicsTools.PatAlgos.producersLayer1.electronProducer_cfi.patElectrons.miniIsoParamsB,
9  miniIsoParamsE = PhysicsTools.PatAlgos.producersLayer1.electronProducer_cfi.patElectrons.miniIsoParamsE,
10 )

Definition at line 20 of file lowPtElectrons_cff.py.

tuple lowPtElectrons_cff.updatedLowPtElectronsWithUserData
Initial value:
1 = cms.EDProducer(
2  "PATElectronUserDataEmbedder",
3  src = cms.InputTag("updatedLowPtElectrons"),
4  userFloats = cms.PSet(
5  ID = cms.InputTag("lowPtPATElectronID"),
6  miniIsoChg = cms.InputTag("isoForLowPtEle:miniIsoChg"),
7  miniIsoAll = cms.InputTag("isoForLowPtEle:miniIsoAll"),
8  ),
9  userIntFromBools = cms.PSet(),
10  userInts = cms.PSet(),
11  userCands = cms.PSet(),
12 )

Definition at line 51 of file lowPtElectrons_cff.py.