CMS 3D CMS Logo

Functions | Variables
nano_cff Namespace Reference

Functions

def nanoAOD_activateVID (process)
 
def nanoAOD_addDeepInfo (process, addDeepBTag, addDeepFlavour)
 
def nanoAOD_addDeepInfoAK8 (process, addDeepBTag, addDeepBoostedJet, addDeepDoubleX, jecPayload)
 
def nanoAOD_addTauIds (process)
 
def nanoAOD_customizeCommon (process)
 
def nanoAOD_customizeData (process)
 
def nanoAOD_customizeMC (process)
 
def nanoAOD_recalibrateMETs (process, isData)
 
def nanoAOD_runMETfixEE2017 (process, isData)
 

Variables

 _102x_sequence
 
 _80x_sequence
 Era dependent customization. More...
 
 bool
 
 btagSFdir
 
 btagWeightTable
 
 cut
 
 debug
 
 discNames
 
 discShortNames
 
 doc
 
 electronName
 
 electrons
 
 electronSel
 
 extraFlagsTable
 
 Flag_ecalBadCalibFilterV2
 
 genEvent
 
 genLumiInfoHeader
 
 genWeightsTable
 
 jetName
 
 jets
 
 jetSel
 
 keepAllPSWeights
 
 l1bits
 
 legacyL1
 
 lhaid
 
 lheInfo
 
 lheInfoTable
 
 lheWeightPrecision
 
 linkedObjects
 
 maxPdfWeights
 
 measurementTypesB
 
 measurementTypesC
 
 measurementTypesUDSG
 
 muonName
 
 muons
 
 muonSel
 
 name
 
 namedWeightIDs
 
 namedWeightLabels
 
 nanoMetadata
 
 nanoSequence
 
 nanoSequenceCommon
 
 nanoSequenceFS
 
 nanoSequenceMC
 
 nanoSequenceOnlyFullSim
 
 operatingPoints
 
 photonName
 
 photons
 
 photonSel
 
 precision
 
 preferredPDFs
 
 simpleCleanerTable
 
 src
 
 storeLHEParticles
 
 strings
 
 sysTypes
 
 tag
 
 tauName
 
 taus
 
 tauSel
 
 variables
 
 weightFiles
 

Function Documentation

def nano_cff.nanoAOD_activateVID (   process)

Definition at line 206 of file nano_cff.py.

References vid_id_tools.setupAllVIDIdsInModule(), vid_id_tools.switchOnVIDElectronIdProducer(), and vid_id_tools.switchOnVIDPhotonIdProducer().

Referenced by nanoAOD_customizeCommon().

206 def nanoAOD_activateVID(process):
207  switchOnVIDElectronIdProducer(process,DataFormat.MiniAOD)
208  for modname in electron_id_modules_WorkingPoints_nanoAOD.modules:
209  setupAllVIDIdsInModule(process,modname,setupVIDElectronSelection)
210  process.electronSequence.insert(process.electronSequence.index(bitmapVIDForEle),process.egmGsfElectronIDSequence)
211  for modifier in run2_miniAOD_80XLegacy, :
212  modifier.toModify(process.electronMVAValueMapProducer, srcMiniAOD = "slimmedElectronsUpdated")
213  modifier.toModify(process.electronMVAVariableHelper, srcMiniAOD = "slimmedElectronsUpdated")
214  modifier.toModify(process.egmGsfElectronIDs, physicsObjectSrc = "slimmedElectronsUpdated")
215  if hasattr(process,"heepIDVarValueMaps"):
216  modifier.toModify(process.heepIDVarValueMaps, elesMiniAOD = "slimmedElectronsUpdated")
217  switchOnVIDPhotonIdProducer(process,DataFormat.MiniAOD) # do not call this to avoid resetting photon IDs in VID, if called before inside makePuppiesFromMiniAOD
218  for modname in photon_id_modules_WorkingPoints_nanoAOD.modules:
219  setupAllVIDIdsInModule(process,modname,setupVIDPhotonSelection)
220  process.photonSequence.insert(process.photonSequence.index(bitmapVIDForPho),process.egmPhotonIDSequence)
221  return process
222 
def switchOnVIDElectronIdProducer(process, dataFormat, task=None)
Electrons.
Definition: vid_id_tools.py:66
def setupAllVIDIdsInModule(process, id_module_name, setupFunction, patProducer=None, addUserData=True, task=None)
Definition: vid_id_tools.py:49
def nanoAOD_activateVID(process)
Definition: nano_cff.py:206
def switchOnVIDPhotonIdProducer(process, dataFormat, task=None)
Photons.
def nano_cff.nanoAOD_addDeepInfo (   process,
  addDeepBTag,
  addDeepFlavour 
)

Definition at line 155 of file nano_cff.py.

References join(), and edm.print().

Referenced by nanoAOD_customizeCommon().

155 def nanoAOD_addDeepInfo(process,addDeepBTag,addDeepFlavour):
156  _btagDiscriminators=[]
157  if addDeepBTag:
158  print("Updating process to run DeepCSV btag")
159  _btagDiscriminators += ['pfDeepCSVJetTags:probb','pfDeepCSVJetTags:probbb','pfDeepCSVJetTags:probc']
160  if addDeepFlavour:
161  print("Updating process to run DeepFlavour btag")
162  _btagDiscriminators += ['pfDeepFlavourJetTags:probb','pfDeepFlavourJetTags:probbb','pfDeepFlavourJetTags:problepb','pfDeepFlavourJetTags:probc']
163  if len(_btagDiscriminators)==0: return process
164  print("Will recalculate the following discriminators: "+", ".join(_btagDiscriminators))
165  updateJetCollection(
166  process,
167  jetSource = cms.InputTag('slimmedJets'),
168  jetCorrections = ('AK4PFchs', cms.vstring(['L1FastJet', 'L2Relative', 'L3Absolute','L2L3Residual']), 'None'),
169  btagDiscriminators = _btagDiscriminators,
170  postfix = 'WithDeepInfo',
171  )
172  process.load("Configuration.StandardSequences.MagneticField_cff")
173  process.jetCorrFactorsNano.src="selectedUpdatedPatJetsWithDeepInfo"
174  process.updatedJets.jetSource="selectedUpdatedPatJetsWithDeepInfo"
175  if addDeepFlavour:
176  process.pfDeepFlavourJetTagsWithDeepInfo.graph_path = 'RecoBTag/Combined/data/DeepFlavourV03_10X_training/constant_graph.pb'
177  process.pfDeepFlavourJetTagsWithDeepInfo.lp_names = ["cpf_input_batchnorm/keras_learning_phase"]
178  return process
179 
def nanoAOD_addDeepInfo(process, addDeepBTag, addDeepFlavour)
Definition: nano_cff.py:155
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:65
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def nano_cff.nanoAOD_addDeepInfoAK8 (   process,
  addDeepBTag,
  addDeepBoostedJet,
  addDeepDoubleX,
  jecPayload 
)

Definition at line 223 of file nano_cff.py.

References join(), and edm.print().

Referenced by nanoAOD_customizeCommon().

223 def nanoAOD_addDeepInfoAK8(process,addDeepBTag,addDeepBoostedJet, addDeepDoubleX, jecPayload):
224  _btagDiscriminators=[]
225  if addDeepBTag:
226  print("Updating process to run DeepCSV btag to AK8 jets")
227  _btagDiscriminators += ['pfDeepCSVJetTags:probb','pfDeepCSVJetTags:probbb']
228  if addDeepBoostedJet:
229  print("Updating process to run DeepBoostedJet on datasets before 103X")
230  from RecoBTag.MXNet.pfDeepBoostedJet_cff import pfDeepBoostedJetTags, pfMassDecorrelatedDeepBoostedJetTags
231  from RecoBTag.MXNet.pfDeepBoostedDiscriminatorsJetTags_cfi import pfDeepBoostedDiscriminatorsJetTags
232  from RecoBTag.MXNet.pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags_cfi import pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags
233  from RecoBTag.MXNet.Parameters.V02.pfDeepBoostedJetPreprocessParams_cfi import pfDeepBoostedJetPreprocessParams as pfDeepBoostedJetPreprocessParamsV02
234  from RecoBTag.MXNet.Parameters.V02.pfMassDecorrelatedDeepBoostedJetPreprocessParams_cfi import pfMassDecorrelatedDeepBoostedJetPreprocessParams as pfMassDecorrelatedDeepBoostedJetPreprocessParamsV02
235  pfDeepBoostedJetTags.preprocessParams = pfDeepBoostedJetPreprocessParamsV02
236  pfDeepBoostedJetTags.model_path = 'RecoBTag/Combined/data/DeepBoostedJet/V02/full/resnet-symbol.json'
237  pfDeepBoostedJetTags.param_path = 'RecoBTag/Combined/data/DeepBoostedJet/V02/full/resnet-0000.params'
238  pfMassDecorrelatedDeepBoostedJetTags.preprocessParams = pfMassDecorrelatedDeepBoostedJetPreprocessParamsV02
239  pfMassDecorrelatedDeepBoostedJetTags.model_path = 'RecoBTag/Combined/data/DeepBoostedJet/V02/decorrelated/resnet-symbol.json'
240  pfMassDecorrelatedDeepBoostedJetTags.param_path = 'RecoBTag/Combined/data/DeepBoostedJet/V02/decorrelated/resnet-0000.params'
241  # build sequence of taggers and discriminators as in RecoBTag.MXNet.pfDeepBoostedJet_cff
242  pfDeepBoostedJetTagsProbs = ['pfDeepBoostedJetTags:' + flav_name
243  for flav_name in pfDeepBoostedJetTags.flav_names]
244  pfDeepBoostedJetTagsMetaDiscrs = ['pfDeepBoostedDiscriminatorsJetTags:' + disc.name.value()
245  for disc in pfDeepBoostedDiscriminatorsJetTags.discriminators]
246  pfMassDecorrelatedDeepBoostedJetTagsProbs = ['pfMassDecorrelatedDeepBoostedJetTags:' + flav_name
247  for flav_name in pfMassDecorrelatedDeepBoostedJetTags.flav_names]
248  pfMassDecorrelatedDeepBoostedJetTagsMetaDiscrs = ['pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags:' + disc.name.value()
249  for disc in pfMassDecorrelatedDeepBoostedDiscriminatorsJetTags.discriminators]
250  pfDeepBoostedJetTagsAll = pfDeepBoostedJetTagsProbs + pfDeepBoostedJetTagsMetaDiscrs + \
251  pfMassDecorrelatedDeepBoostedJetTagsProbs + pfMassDecorrelatedDeepBoostedJetTagsMetaDiscrs
252  _btagDiscriminators += pfDeepBoostedJetTagsAll
253  if addDeepDoubleX:
254  print("Updating process to run DeepDoubleX on datasets before 104X")
255  _btagDiscriminators += ['pfDeepDoubleBvLJetTags:probHbb', \
256  'pfDeepDoubleCvLJetTags:probHcc', \
257  'pfDeepDoubleCvBJetTags:probHcc', \
258  'pfMassIndependentDeepDoubleBvLJetTags:probHbb', 'pfMassIndependentDeepDoubleCvLJetTags:probHcc', 'pfMassIndependentDeepDoubleCvBJetTags:probHcc']
259  if len(_btagDiscriminators)==0: return process
260  print("Will recalculate the following discriminators on AK8 jets: "+", ".join(_btagDiscriminators))
261  updateJetCollection(
262  process,
263  jetSource = cms.InputTag('slimmedJetsAK8'),
264  pvSource = cms.InputTag('offlineSlimmedPrimaryVertices'),
265  svSource = cms.InputTag('slimmedSecondaryVertices'),
266  rParam = 0.8,
267  jetCorrections = (jecPayload.value(), cms.vstring(['L1FastJet', 'L2Relative', 'L3Absolute', 'L2L3Residual']), 'None'),
268  btagDiscriminators = _btagDiscriminators,
269  postfix='AK8WithDeepInfo',
270  printWarning = False
271  )
272  process.jetCorrFactorsAK8.src="selectedUpdatedPatJetsAK8WithDeepInfo"
273  process.updatedJetsAK8.jetSource="selectedUpdatedPatJetsAK8WithDeepInfo"
274  return process
275 
def nanoAOD_addDeepInfoAK8(process, addDeepBTag, addDeepBoostedJet, addDeepDoubleX, jecPayload)
Definition: nano_cff.py:223
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:65
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def nano_cff.nanoAOD_addTauIds (   process)

Definition at line 145 of file nano_cff.py.

Referenced by nanoAOD_customizeCommon().

145 def nanoAOD_addTauIds(process):
146  updatedTauName = "slimmedTausUpdated"
147  tauIdEmbedder = tauIdConfig.TauIDEmbedder(process, cms, debug = False, updatedTauName = updatedTauName,
148  toKeep = [ "deepTau2017v2p1" ])
149  tauIdEmbedder.runTauID()
150  process.patTauMVAIDsSeq.insert(process.patTauMVAIDsSeq.index(getattr(process, updatedTauName)),
151  process.rerunMvaIsolationSequence)
152  return process
153 
def nanoAOD_addTauIds(process)
Definition: nano_cff.py:145
def nano_cff.nanoAOD_customizeCommon (   process)

Definition at line 284 of file nano_cff.py.

References nanoAOD_activateVID(), nanoAOD_addDeepInfo(), nanoAOD_addDeepInfoAK8(), and nanoAOD_addTauIds().

Referenced by nanoAOD_customizeData(), and nanoAOD_customizeMC().

285 # makePuppiesFromMiniAOD(process,True) # call this here as it calls switchOnVIDPhotonIdProducer
286  process = nanoAOD_activateVID(process)
287  nanoAOD_addDeepInfo_switch = cms.PSet(
288  nanoAOD_addDeepBTag_switch = cms.untracked.bool(False),
289  nanoAOD_addDeepFlavourTag_switch = cms.untracked.bool(False),
290  )
291  run2_miniAOD_80XLegacy.toModify(nanoAOD_addDeepInfo_switch, nanoAOD_addDeepBTag_switch = cms.untracked.bool(True))
292  for modifier in run2_miniAOD_80XLegacy, run2_nanoAOD_94X2016, run2_nanoAOD_94XMiniAODv1, run2_nanoAOD_94XMiniAODv2:
293  modifier.toModify(nanoAOD_addDeepInfo_switch, nanoAOD_addDeepFlavourTag_switch = cms.untracked.bool(True))
294  process = nanoAOD_addDeepInfo(process,
295  addDeepBTag=nanoAOD_addDeepInfo_switch.nanoAOD_addDeepBTag_switch,
296  addDeepFlavour=nanoAOD_addDeepInfo_switch.nanoAOD_addDeepFlavourTag_switch)
297  nanoAOD_addDeepInfoAK8_switch = cms.PSet(
298  nanoAOD_addDeepBTag_switch = cms.untracked.bool(False),
299  nanoAOD_addDeepBoostedJet_switch = cms.untracked.bool(True), # will deactivate this in future miniAOD releases
300  nanoAOD_addDeepDoubleX_switch = cms.untracked.bool(True),
301  jecPayload = cms.untracked.string('AK8PFPuppi')
302  )
303  # deepAK8 should not run on 80X, that contains ak8PFJetsCHS jets
304  run2_miniAOD_80XLegacy.toModify(nanoAOD_addDeepInfoAK8_switch,
305  nanoAOD_addDeepBTag_switch = cms.untracked.bool(True),
306  nanoAOD_addDeepBoostedJet_switch = cms.untracked.bool(False),
307  nanoAOD_addDeepDoubleX_switch = cms.untracked.bool(False),
308  jecPayload = cms.untracked.string('AK8PFchs'))
309  process = nanoAOD_addDeepInfoAK8(process,
310  addDeepBTag=nanoAOD_addDeepInfoAK8_switch.nanoAOD_addDeepBTag_switch,
311  addDeepBoostedJet=nanoAOD_addDeepInfoAK8_switch.nanoAOD_addDeepBoostedJet_switch,
312  addDeepDoubleX=nanoAOD_addDeepInfoAK8_switch.nanoAOD_addDeepDoubleX_switch,
313  jecPayload=nanoAOD_addDeepInfoAK8_switch.jecPayload)
314  (~run2_miniAOD_80XLegacy).toModify(process, lambda p : nanoAOD_addTauIds(p))
315  return process
316 
def nanoAOD_addDeepInfo(process, addDeepBTag, addDeepFlavour)
Definition: nano_cff.py:155
def nanoAOD_addDeepInfoAK8(process, addDeepBTag, addDeepBoostedJet, addDeepDoubleX, jecPayload)
Definition: nano_cff.py:223
def nanoAOD_activateVID(process)
Definition: nano_cff.py:206
def nanoAOD_customizeCommon(process)
Definition: nano_cff.py:284
def nanoAOD_addTauIds(process)
Definition: nano_cff.py:145
def nano_cff.nanoAOD_customizeData (   process)

Definition at line 317 of file nano_cff.py.

References nanoAOD_customizeCommon(), nanoAOD_recalibrateMETs(), and nanoAOD_runMETfixEE2017().

318  process = nanoAOD_customizeCommon(process)
319  process = nanoAOD_recalibrateMETs(process,isData=True)
320  for modifier in run2_nanoAOD_94XMiniAODv1, run2_nanoAOD_94XMiniAODv2:
321  modifier.toModify(process, lambda p: nanoAOD_runMETfixEE2017(p,isData=True))
322  return process
323 
def nanoAOD_customizeCommon(process)
Definition: nano_cff.py:284
def nanoAOD_recalibrateMETs(process, isData)
Definition: nano_cff.py:182
def nanoAOD_runMETfixEE2017(process, isData)
Definition: nano_cff.py:277
def nanoAOD_customizeData(process)
Definition: nano_cff.py:317
def nano_cff.nanoAOD_customizeMC (   process)

Definition at line 324 of file nano_cff.py.

References nanoAOD_customizeCommon(), nanoAOD_recalibrateMETs(), and nanoAOD_runMETfixEE2017().

324 def nanoAOD_customizeMC(process):
325  process = nanoAOD_customizeCommon(process)
326  process = nanoAOD_recalibrateMETs(process,isData=False)
327  for modifier in run2_nanoAOD_94XMiniAODv1, run2_nanoAOD_94XMiniAODv2:
328  modifier.toModify(process, lambda p: nanoAOD_runMETfixEE2017(p,isData=False))
329  return process
330 
def nanoAOD_customizeMC(process)
Definition: nano_cff.py:324
def nanoAOD_customizeCommon(process)
Definition: nano_cff.py:284
def nanoAOD_recalibrateMETs(process, isData)
Definition: nano_cff.py:182
def nanoAOD_runMETfixEE2017(process, isData)
Definition: nano_cff.py:277
def nano_cff.nanoAOD_recalibrateMETs (   process,
  isData 
)

Definition at line 182 of file nano_cff.py.

References runMETCorrectionsAndUncertainties.runMetCorAndUncFromMiniAOD(), and common_cff.Var().

Referenced by nanoAOD_customizeData(), and nanoAOD_customizeMC().

182 def nanoAOD_recalibrateMETs(process,isData):
183  runMetCorAndUncFromMiniAOD(process,isData=isData)
184  process.nanoSequenceCommon.insert(process.nanoSequenceCommon.index(process.jetSequence),cms.Sequence(process.fullPatMetSequence))
185  process.basicJetsForMetForT1METNano = process.basicJetsForMet.clone(
186  src = process.updatedJetsWithUserData.src,
187  skipEM = False,
188  type1JetPtThreshold = 0.0,
189  calcMuonSubtrRawPtAsValueMap = cms.bool(True),
190  )
191  process.jetSequence.insert(process.jetSequence.index(process.updatedJetsWithUserData),cms.Sequence(process.basicJetsForMetForT1METNano))
192  process.updatedJetsWithUserData.userFloats.muonSubtrRawPt = cms.InputTag("basicJetsForMetForT1METNano:MuonSubtrRawPt")
193  process.corrT1METJetTable.src = process.finalJets.src
194  process.corrT1METJetTable.cut = "pt<15 && abs(eta)<9.9"
195  for table in process.jetTable, process.corrT1METJetTable:
196  table.variables.muonSubtrFactor = Var("1-userFloat('muonSubtrRawPt')/(pt()*jecFactor('Uncorrected'))",float,doc="1-(muon-subtracted raw pt)/(raw pt)",precision=6)
197  process.metTables += process.corrT1METJetTable
198 # makePuppiesFromMiniAOD(process,True) # call this before in the global customizer otherwise it would reset photon IDs in VID
199 # runMetCorAndUncFromMiniAOD(process,isData=isData,metType="Puppi",postfix="Puppi",jetFlavor="AK4PFPuppi")
200 # process.puppiNoLep.useExistingWeights = False
201 # process.puppi.useExistingWeights = False
202 # process.nanoSequenceCommon.insert(process.nanoSequenceCommon.index(jetSequence),cms.Sequence(process.puppiMETSequence+process.fullPatMetSequencePuppi))
203  return process
204 
def Var(expr, valtype, compression=None, doc=None, mcOnly=False, precision=-1)
Definition: common_cff.py:20
def nanoAOD_recalibrateMETs(process, isData)
Definition: nano_cff.py:182
def runMetCorAndUncFromMiniAOD(process, metType="PF", jetCollUnskimmed="slimmedJets", photonColl="slimmedPhotons", electronColl="slimmedElectrons", muonColl="slimmedMuons", tauColl="slimmedTaus", pfCandColl="packedPFCandidates", jetFlavor="AK4PFchs", jetCleaning="LepClean", isData=False, manualJetConfig=False, reclusterJets=None, jetSelection="pt>15 && abs(eta)<9.9", recoMetFromPFCs=None, jetCorLabelL3="ak4PFCHSL1FastL2L3Corrector", jetCorLabelRes="ak4PFCHSL1FastL2L3ResidualCorrector", CHS=False, reapplyJEC=True, jecUncFile="", computeMETSignificance=True, fixEE2017=False, fixEE2017Params=None, postfix="")
def nano_cff.nanoAOD_runMETfixEE2017 (   process,
  isData 
)

Definition at line 277 of file nano_cff.py.

References runMETCorrectionsAndUncertainties.runMetCorAndUncFromMiniAOD().

Referenced by nanoAOD_customizeData(), and nanoAOD_customizeMC().

277 def nanoAOD_runMETfixEE2017(process,isData):
278  runMetCorAndUncFromMiniAOD(process,isData=isData,
279  fixEE2017 = True,
280  fixEE2017Params = {'userawPt': True, 'ptThreshold':50.0, 'minEtaThreshold':2.65, 'maxEtaThreshold': 3.139},
281  postfix = "FixEE2017")
282  process.nanoSequenceCommon.insert(process.nanoSequenceCommon.index(jetSequence),process.fullPatMetSequenceFixEE2017)
283 
def nanoAOD_runMETfixEE2017(process, isData)
Definition: nano_cff.py:277
def runMetCorAndUncFromMiniAOD(process, metType="PF", jetCollUnskimmed="slimmedJets", photonColl="slimmedPhotons", electronColl="slimmedElectrons", muonColl="slimmedMuons", tauColl="slimmedTaus", pfCandColl="packedPFCandidates", jetFlavor="AK4PFchs", jetCleaning="LepClean", isData=False, manualJetConfig=False, reclusterJets=None, jetSelection="pt>15 && abs(eta)<9.9", recoMetFromPFCs=None, jetCorLabelL3="ak4PFCHSL1FastL2L3Corrector", jetCorLabelRes="ak4PFCHSL1FastL2L3ResidualCorrector", CHS=False, reapplyJEC=True, jecUncFile="", computeMETSignificance=True, fixEE2017=False, fixEE2017Params=None, postfix="")

Variable Documentation

nano_cff._102x_sequence
private

Definition at line 342 of file nano_cff.py.

nano_cff._80x_sequence
private

Era dependent customization.

Definition at line 332 of file nano_cff.py.

nano_cff.bool

Definition at line 141 of file nano_cff.py.

nano_cff.btagSFdir

Definition at line 57 of file nano_cff.py.

nano_cff.btagWeightTable

Definition at line 59 of file nano_cff.py.

nano_cff.cut

Definition at line 61 of file nano_cff.py.

nano_cff.debug

Definition at line 113 of file nano_cff.py.

nano_cff.discNames

Definition at line 62 of file nano_cff.py.

nano_cff.discShortNames

Definition at line 67 of file nano_cff.py.

nano_cff.doc

Definition at line 42 of file nano_cff.py.

nano_cff.electronName

Definition at line 53 of file nano_cff.py.

nano_cff.electrons

Definition at line 35 of file nano_cff.py.

Referenced by ElectronIDAnalyzer.analyze(), PatElectronAnalyzer.analyze(), ElectronMcSignalValidatorMiniAOD.analyze(), PatBasicAnalyzer.analyze(), TtSemiLepSignalSelMVATrainer.analyze(), HiggsToZZ4LeptonsSkimEff.analyze(), ResolutionCreator.analyze(), SiStripElectronAnalyzer.analyze(), B2GSingleLeptonHLTValidation.analyze(), B2GDoubleLeptonHLTValidation.analyze(), TopSingleLeptonHLTValidation.analyze(), TopDiLeptonHLTValidation.analyze(), ObjMonitor.analyze(), TopMonitor.analyze(), PhotonMonitor.analyze(), MuonMonitor.analyze(), GenPurposeSkimmerData.analyze(), METMonitor.analyze(), HTMonitor.analyze(), ZCounting.analyzeElectrons(), EgammaObjects.analyzeElectrons(), RPixDetClusterizer.buildClusters(), pat::LeptonJetIsolationAngle.calculate(), RPixDetClusterizer.calibrate(), PixelThresholdClusterizer.calibrate(), HLTTauRefProducer.doElectrons(), pat::DuplicatedElectronRemover.duplicatesToRemove(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >.EGExtraInfoModifierFromValueMaps(), EGFull5x5ShowerShapeModifierFromValueMaps.EGFull5x5ShowerShapeModifierFromValueMaps(), EGPfIsolationModifierFromValueMaps.EGPfIsolationModifierFromValueMaps(), EGRegressionModifierV1.EGRegressionModifierV1(), EGRegressionModifierV2.EGRegressionModifierV2(), pat::DuplicatedPhotonRemover.electronsBySeed(), pat::DuplicatedPhotonRemover.electronsBySuperCluster(), AdHocNTupler.fill(), EwkElecTauHistManager.fillHistograms(), pat::PATLeptonCountFilter.filter(), HiggsToWW2LeptonsSkim.filter(), HiggsToZZ4LeptonsSkim.filter(), ElectronIdFilter.filter(), LeptonSkimming.filter(), pat::PATMHTProducer.getElectrons(), CSCWireHitSim.getIonizationClusters(), DeepTauId.getPredictions(), DeepTauId.getPredictionsV1(), HGCalHitCalibration.HGCalHitCalibration(), HLTPMDocaFilter.hltFilter(), HLTFiltCand.hltFilter(), HLTElectronMuonInvMassFilter.hltFilter(), HLTPMMassFilter.hltFilter(), HLTTauRefProducer.HLTTauRefProducer(), pat::DuplicatedPhotonRemover::EqualBySuperCluster.operator()(), pat::DuplicatedElectronRemover::BestEoverP.operator()(), GsfElectronCoreEcalDrivenProducer.produce(), GEDGsfElectronCoreProducer.produce(), GsfElectronCoreProducer.produce(), LowPtGsfElectronCoreProducer.produce(), TtDilepEvtSolutionMaker.produce(), StEvtSolutionMaker.produce(), ElectronMatchedCandidateProducer.produce(), TtFullLepKinSolutionProducer.produce(), ElectronIDExternalProducer< algo >.produce(), TtSemiLepSignalSelMVAComputer.produce(), TtSemiEvtSolutionMaker.produce(), pat::DuplicatedElectronCleaner.produce(), ElectronMVAVariableHelper< ParticleType >.produce(), pat::PATConversionProducer.produce(), pat::__class__Producer.produce(), edm::GenericSelectorByValueMap< T, C >.produce(), PATObjectCrossLinker.produce(), pat::PATElectronProducer.produce(), MuonFSRProducer.produce(), HLTJetsCleanedFromLeadingLeptons< JetType >.produce(), BoostedTopProducer.produce(), SelectedElectronFEDListProducer< TEle, TCand >.produce(), ElectronIDSelector< algo >.select(), pf2pat::ElectronIDPFCandidateSelectorDefinition.select(), uniqueElectronFinder(), CSCGasCollisions.writeSummary(), and pat::ElectronSelector.~ElectronSelector().

nano_cff.electronSel

Definition at line 50 of file nano_cff.py.

nano_cff.extraFlagsTable

Definition at line 140 of file nano_cff.py.

nano_cff.Flag_ecalBadCalibFilterV2

Definition at line 141 of file nano_cff.py.

nano_cff.genEvent
nano_cff.genLumiInfoHeader
nano_cff.genWeightsTable

Definition at line 95 of file nano_cff.py.

nano_cff.jetName

Definition at line 53 of file nano_cff.py.

nano_cff.jets

Definition at line 33 of file nano_cff.py.

nano_cff.jetSel

Definition at line 48 of file nano_cff.py.

nano_cff.keepAllPSWeights

Definition at line 111 of file nano_cff.py.

nano_cff.l1bits

Definition at line 121 of file nano_cff.py.

nano_cff.legacyL1

Definition at line 121 of file nano_cff.py.

nano_cff.lhaid
nano_cff.lheInfo
nano_cff.lheInfoTable

Definition at line 115 of file nano_cff.py.

nano_cff.lheWeightPrecision

Definition at line 110 of file nano_cff.py.

nano_cff.linkedObjects

Definition at line 32 of file nano_cff.py.

nano_cff.maxPdfWeights

Definition at line 112 of file nano_cff.py.

nano_cff.measurementTypesB

Definition at line 78 of file nano_cff.py.

nano_cff.measurementTypesC

Definition at line 79 of file nano_cff.py.

nano_cff.measurementTypesUDSG

Definition at line 80 of file nano_cff.py.

nano_cff.muonName

Definition at line 53 of file nano_cff.py.

Referenced by main().

nano_cff.muons

Definition at line 34 of file nano_cff.py.

nano_cff.muonSel

Definition at line 49 of file nano_cff.py.

nano_cff.name

Definition at line 41 of file nano_cff.py.

nano_cff.namedWeightIDs

Definition at line 108 of file nano_cff.py.

nano_cff.namedWeightLabels

Definition at line 109 of file nano_cff.py.

nano_cff.nanoMetadata

Definition at line 26 of file nano_cff.py.

nano_cff.nanoSequence

Definition at line 131 of file nano_cff.py.

nano_cff.nanoSequenceCommon

Definition at line 123 of file nano_cff.py.

nano_cff.nanoSequenceFS

Definition at line 133 of file nano_cff.py.

nano_cff.nanoSequenceMC

Definition at line 135 of file nano_cff.py.

nano_cff.nanoSequenceOnlyFullSim

Definition at line 129 of file nano_cff.py.

nano_cff.operatingPoints

Definition at line 77 of file nano_cff.py.

nano_cff.photonName

Definition at line 54 of file nano_cff.py.

nano_cff.photons

Definition at line 37 of file nano_cff.py.

nano_cff.photonSel

Definition at line 52 of file nano_cff.py.

nano_cff.precision

Definition at line 117 of file nano_cff.py.

nano_cff.preferredPDFs

Definition at line 99 of file nano_cff.py.

nano_cff.simpleCleanerTable

Definition at line 40 of file nano_cff.py.

nano_cff.src

Definition at line 60 of file nano_cff.py.

nano_cff.storeLHEParticles

Definition at line 118 of file nano_cff.py.

nano_cff.strings
nano_cff.sysTypes

Definition at line 81 of file nano_cff.py.

nano_cff.tag

Definition at line 28 of file nano_cff.py.

nano_cff.tauName

Definition at line 54 of file nano_cff.py.

nano_cff.taus

Definition at line 36 of file nano_cff.py.

Referenced by HLTTauDQML1Plotter.analyze(), TopTauAnalyzer.analyze(), PatBasicAnalyzer.analyze(), l1t::L1TStage2CaloAnalyzer.analyze(), ResolutionCreator.analyze(), l1t::GtInputDump.analyze(), l1t::L1TGlobalAnalyzer.analyze(), l1t::GtRecordDump.analyze(), L1TTauOffline.analyze(), HPSPFRecoTauAlgorithm.buildOneProng(), HPSPFRecoTauAlgorithm.buildOneProngStrip(), HPSPFRecoTauAlgorithm.buildOneProngTwoStrips(), HPSPFRecoTauAlgorithm.buildThreeProngs(), l1t::GtRecordDump.dumpTestVectors(), L1RCTJetSummaryCard.fillTauBits(), pat::PATLeptonCountFilter.filter(), L1RCT.getRegions(), deep_tau::DeepTauBase.globalEndJob(), HLTPFTauPairLeadTrackDzMatchFilter.hltFilter(), HLTFiltCand.hltFilter(), L1TSummary.L1TSummary(), L1UpgradeTreeProducer.L1UpgradeTreeProducer(), deep_tau::DeepTauBase::Output.Output(), l1t::stage2::TauPacker.pack(), l1t::stage1::TauPacker.pack(), l1t::stage1::IsoTauPacker.pack(), TtDilepEvtSolutionMaker.produce(), PFJetsTauOverlapRemoval.produce(), RecoTauPiZeroUnembedder.produce(), PFTauL1TJetsMatching.produce(), pat::__class__Producer.produce(), l1t::FakeInputProducer.produce(), RecoTauProducer.produce(), PATObjectCrossLinker.produce(), NanoAODBaseCrossCleaner.produce(), L1TStage2Layer2Producer.produce(), TauDiscriminationProducerBase< TauType, TauDiscriminator >.produce(), l1t::BXVectorInputProducer.produce(), l1t::GenToInputProducer.produce(), L1TStage1Layer2Producer.produce(), deep_tau::DeepTauBase.produce(), HepMCValidationHelper.removeIsolatedLeptons(), HLTL1TSeed.seedsL1TriggerObjectMaps(), and TauJetCorrector::ParametrizationTauJet.value().

nano_cff.tauSel

Definition at line 51 of file nano_cff.py.

nano_cff.variables

Definition at line 140 of file nano_cff.py.

nano_cff.weightFiles

Definition at line 72 of file nano_cff.py.