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
 
 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
 
 src_ext
 
 storeLHEParticles
 
 storeUnprefireableBit
 
 strings
 
 sysTypes
 
 tag
 
 tauName
 
 taus
 
 tauSel
 
 variables
 
 weightFiles
 

Function Documentation

◆ nanoAOD_activateVID()

def nano_cff.nanoAOD_activateVID (   process)

Definition at line 205 of file nano_cff.py.

205 def nanoAOD_activateVID(process):
206  switchOnVIDElectronIdProducer(process,DataFormat.MiniAOD)
207  for modname in electron_id_modules_WorkingPoints_nanoAOD.modules:
208  setupAllVIDIdsInModule(process,modname,setupVIDElectronSelection)
209  process.electronSequence.insert(process.electronSequence.index(process.bitmapVIDForEle),process.egmGsfElectronIDSequence)
210  for modifier in run2_miniAOD_80XLegacy, :
211  modifier.toModify(process.electronMVAValueMapProducer, src = "slimmedElectronsUpdated")
212  modifier.toModify(process.egmGsfElectronIDs, physicsObjectSrc = "slimmedElectronsUpdated")
213  for modifier in run2_nanoAOD_94XMiniAODv1,run2_nanoAOD_94XMiniAODv2,run2_nanoAOD_94X2016 ,run2_nanoAOD_102Xv1:
214  modifier.toModify(process.electronMVAValueMapProducer, src = "slimmedElectronsTo106X")
215  modifier.toModify(process.egmGsfElectronIDs, physicsObjectSrc = "slimmedElectronsTo106X")
216 
217 
218 
219  switchOnVIDPhotonIdProducer(process,DataFormat.MiniAOD) # do not call this to avoid resetting photon IDs in VID, if called before inside makePuppiesFromMiniAOD
220  for modname in photon_id_modules_WorkingPoints_nanoAOD.modules:
221  setupAllVIDIdsInModule(process,modname,setupVIDPhotonSelection)
222  process.photonSequence.insert(process.photonSequence.index(bitmapVIDForPho),process.egmPhotonIDSequence)
223  for modifier in run2_miniAOD_80XLegacy,run2_nanoAOD_94XMiniAODv1,run2_nanoAOD_94XMiniAODv2,run2_nanoAOD_94X2016 ,run2_nanoAOD_102Xv1:
224  modifier.toModify(process.photonMVAValueMapProducer, src = "slimmedPhotonsTo106X")
225  modifier.toModify(process.egmPhotonIDs, physicsObjectSrc = "slimmedPhotonsTo106X")
226  return process
227 

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

Referenced by nanoAOD_customizeCommon().

◆ nanoAOD_addDeepInfo()

def nano_cff.nanoAOD_addDeepInfo (   process,
  addDeepBTag,
  addDeepFlavour 
)

Definition at line 157 of file nano_cff.py.

157 def nanoAOD_addDeepInfo(process,addDeepBTag,addDeepFlavour):
158  _btagDiscriminators=[]
159  if addDeepBTag:
160  print("Updating process to run DeepCSV btag")
161  _btagDiscriminators += ['pfDeepCSVJetTags:probb','pfDeepCSVJetTags:probbb','pfDeepCSVJetTags:probc']
162  if addDeepFlavour:
163  print("Updating process to run DeepFlavour btag")
164  _btagDiscriminators += ['pfDeepFlavourJetTags:probb','pfDeepFlavourJetTags:probbb','pfDeepFlavourJetTags:problepb','pfDeepFlavourJetTags:probc']
165  if len(_btagDiscriminators)==0: return process
166  print("Will recalculate the following discriminators: "+", ".join(_btagDiscriminators))
167  updateJetCollection(
168  process,
169  jetSource = cms.InputTag('slimmedJets'),
170  jetCorrections = ('AK4PFchs', cms.vstring(['L1FastJet', 'L2Relative', 'L3Absolute','L2L3Residual']), 'None'),
171  btagDiscriminators = _btagDiscriminators,
172  postfix = 'WithDeepInfo',
173  )
174  process.load("Configuration.StandardSequences.MagneticField_cff")
175  process.jetCorrFactorsNano.src="selectedUpdatedPatJetsWithDeepInfo"
176  process.updatedJets.jetSource="selectedUpdatedPatJetsWithDeepInfo"
177  return process
178 

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

Referenced by nanoAOD_customizeCommon().

◆ nanoAOD_addDeepInfoAK8()

def nano_cff.nanoAOD_addDeepInfoAK8 (   process,
  addDeepBTag,
  addDeepBoostedJet,
  addDeepDoubleX,
  jecPayload 
)

Definition at line 228 of file nano_cff.py.

228 def nanoAOD_addDeepInfoAK8(process,addDeepBTag,addDeepBoostedJet, addDeepDoubleX, jecPayload):
229  _btagDiscriminators=[]
230  if addDeepBTag:
231  print("Updating process to run DeepCSV btag to AK8 jets")
232  _btagDiscriminators += ['pfDeepCSVJetTags:probb','pfDeepCSVJetTags:probbb']
233  if addDeepBoostedJet:
234  print("Updating process to run DeepBoostedJet on datasets before 103X")
235  from RecoBTag.ONNXRuntime.pfDeepBoostedJet_cff import _pfDeepBoostedJetTagsAll as pfDeepBoostedJetTagsAll
236  _btagDiscriminators += pfDeepBoostedJetTagsAll
237  if addDeepDoubleX:
238  print("Updating process to run DeepDoubleX on datasets before 104X")
239  _btagDiscriminators += ['pfDeepDoubleBvLJetTags:probHbb', \
240  'pfDeepDoubleCvLJetTags:probHcc', \
241  'pfDeepDoubleCvBJetTags:probHcc', \
242  'pfMassIndependentDeepDoubleBvLJetTags:probHbb', 'pfMassIndependentDeepDoubleCvLJetTags:probHcc', 'pfMassIndependentDeepDoubleCvBJetTags:probHcc']
243  if len(_btagDiscriminators)==0: return process
244  print("Will recalculate the following discriminators on AK8 jets: "+", ".join(_btagDiscriminators))
245  updateJetCollection(
246  process,
247  jetSource = cms.InputTag('slimmedJetsAK8'),
248  pvSource = cms.InputTag('offlineSlimmedPrimaryVertices'),
249  svSource = cms.InputTag('slimmedSecondaryVertices'),
250  rParam = 0.8,
251  jetCorrections = (jecPayload.value(), cms.vstring(['L1FastJet', 'L2Relative', 'L3Absolute', 'L2L3Residual']), 'None'),
252  btagDiscriminators = _btagDiscriminators,
253  postfix='AK8WithDeepInfo',
254  printWarning = False
255  )
256  process.jetCorrFactorsAK8.src="selectedUpdatedPatJetsAK8WithDeepInfo"
257  process.updatedJetsAK8.jetSource="selectedUpdatedPatJetsAK8WithDeepInfo"
258  return process
259 

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

Referenced by nanoAOD_customizeCommon().

◆ nanoAOD_addTauIds()

def nano_cff.nanoAOD_addTauIds (   process)

Definition at line 147 of file nano_cff.py.

147 def nanoAOD_addTauIds(process):
148  updatedTauName = "slimmedTausUpdated"
149  tauIdEmbedder = tauIdConfig.TauIDEmbedder(process, debug = False, updatedTauName = updatedTauName,
150  toKeep = [ "deepTau2017v2p1" ])
151  tauIdEmbedder.runTauID()
152  process.patTauMVAIDsSeq.insert(process.patTauMVAIDsSeq.index(getattr(process, updatedTauName)),
153  process.rerunMvaIsolationSequence)
154  return process
155 

Referenced by nanoAOD_customizeCommon().

◆ nanoAOD_customizeCommon()

def nano_cff.nanoAOD_customizeCommon (   process)

Definition at line 268 of file nano_cff.py.

268 def nanoAOD_customizeCommon(process):
269 # makePuppiesFromMiniAOD(process,True) # call this here as it calls switchOnVIDPhotonIdProducer
270  process = nanoAOD_activateVID(process)
271  nanoAOD_addDeepInfo_switch = cms.PSet(
272  nanoAOD_addDeepBTag_switch = cms.untracked.bool(False),
273  nanoAOD_addDeepFlavourTag_switch = cms.untracked.bool(False),
274  )
275  run2_miniAOD_80XLegacy.toModify(nanoAOD_addDeepInfo_switch, nanoAOD_addDeepBTag_switch = cms.untracked.bool(True))
276  for modifier in run2_miniAOD_80XLegacy, run2_nanoAOD_94X2016, run2_nanoAOD_94XMiniAODv1, run2_nanoAOD_94XMiniAODv2:
277  modifier.toModify(nanoAOD_addDeepInfo_switch, nanoAOD_addDeepFlavourTag_switch = cms.untracked.bool(True))
278  process = nanoAOD_addDeepInfo(process,
279  addDeepBTag=nanoAOD_addDeepInfo_switch.nanoAOD_addDeepBTag_switch,
280  addDeepFlavour=nanoAOD_addDeepInfo_switch.nanoAOD_addDeepFlavourTag_switch)
281  nanoAOD_addDeepInfoAK8_switch = cms.PSet(
282  nanoAOD_addDeepBTag_switch = cms.untracked.bool(False),
283  nanoAOD_addDeepBoostedJet_switch = cms.untracked.bool(True), # will deactivate this in future miniAOD releases
284  nanoAOD_addDeepDoubleX_switch = cms.untracked.bool(True),
285  jecPayload = cms.untracked.string('AK8PFPuppi')
286  )
287  # deepAK8 should not run on 80X, that contains ak8PFJetsCHS jets
288  run2_miniAOD_80XLegacy.toModify(nanoAOD_addDeepInfoAK8_switch,
289  nanoAOD_addDeepBTag_switch = cms.untracked.bool(True),
290  nanoAOD_addDeepBoostedJet_switch = cms.untracked.bool(False),
291  nanoAOD_addDeepDoubleX_switch = cms.untracked.bool(False),
292  jecPayload = cms.untracked.string('AK8PFchs'))
293  process = nanoAOD_addDeepInfoAK8(process,
294  addDeepBTag=nanoAOD_addDeepInfoAK8_switch.nanoAOD_addDeepBTag_switch,
295  addDeepBoostedJet=nanoAOD_addDeepInfoAK8_switch.nanoAOD_addDeepBoostedJet_switch,
296  addDeepDoubleX=nanoAOD_addDeepInfoAK8_switch.nanoAOD_addDeepDoubleX_switch,
297  jecPayload=nanoAOD_addDeepInfoAK8_switch.jecPayload)
298  (run2_nanoAOD_94XMiniAODv1 | run2_nanoAOD_94X2016 | run2_nanoAOD_94XMiniAODv2 | run2_nanoAOD_102Xv1 | run2_nanoAOD_106Xv1).toModify(process, lambda p : nanoAOD_addTauIds(p))
299  return process
300 

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

Referenced by nanoAOD_customizeData(), and nanoAOD_customizeMC().

◆ nanoAOD_customizeData()

def nano_cff.nanoAOD_customizeData (   process)

Definition at line 301 of file nano_cff.py.

301 def nanoAOD_customizeData(process):
302  process = nanoAOD_customizeCommon(process)
303  process = nanoAOD_recalibrateMETs(process,isData=True)
304  for modifier in run2_nanoAOD_94XMiniAODv1, run2_nanoAOD_94XMiniAODv2:
305  modifier.toModify(process, lambda p: nanoAOD_runMETfixEE2017(p,isData=True))
306  return process
307 

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

◆ nanoAOD_customizeMC()

def nano_cff.nanoAOD_customizeMC (   process)

Definition at line 308 of file nano_cff.py.

308 def nanoAOD_customizeMC(process):
309  process = nanoAOD_customizeCommon(process)
310  process = nanoAOD_recalibrateMETs(process,isData=False)
311  for modifier in run2_nanoAOD_94XMiniAODv1, run2_nanoAOD_94XMiniAODv2:
312  modifier.toModify(process, lambda p: nanoAOD_runMETfixEE2017(p,isData=False))
313  return process
314 

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

◆ nanoAOD_recalibrateMETs()

def nano_cff.nanoAOD_recalibrateMETs (   process,
  isData 
)

Definition at line 181 of file nano_cff.py.

181 def nanoAOD_recalibrateMETs(process,isData):
182  runMetCorAndUncFromMiniAOD(process,isData=isData)
183  process.nanoSequenceCommon.insert(process.nanoSequenceCommon.index(process.jetSequence),cms.Sequence(process.fullPatMetSequence))
184  process.basicJetsForMetForT1METNano = process.basicJetsForMet.clone(
185  src = process.updatedJetsWithUserData.src,
186  skipEM = False,
187  type1JetPtThreshold = 0.0,
188  calcMuonSubtrRawPtAsValueMap = cms.bool(True),
189  )
190  process.jetSequence.insert(process.jetSequence.index(process.updatedJetsWithUserData),cms.Sequence(process.basicJetsForMetForT1METNano))
191  process.updatedJetsWithUserData.userFloats.muonSubtrRawPt = cms.InputTag("basicJetsForMetForT1METNano:MuonSubtrRawPt")
192  process.corrT1METJetTable.src = process.finalJets.src
193  process.corrT1METJetTable.cut = "pt<15 && abs(eta)<9.9"
194  for table in process.jetTable, process.corrT1METJetTable:
195  table.variables.muonSubtrFactor = Var("1-userFloat('muonSubtrRawPt')/(pt()*jecFactor('Uncorrected'))",float,doc="1-(muon-subtracted raw pt)/(raw pt)",precision=6)
196  process.metTables += process.corrT1METJetTable
197 # makePuppiesFromMiniAOD(process,True) # call this before in the global customizer otherwise it would reset photon IDs in VID
198 # runMetCorAndUncFromMiniAOD(process,isData=isData,metType="Puppi",postfix="Puppi",jetFlavor="AK4PFPuppi")
199 # process.puppiNoLep.useExistingWeights = False
200 # process.puppi.useExistingWeights = False
201 # process.nanoSequenceCommon.insert(process.nanoSequenceCommon.index(jetSequence),cms.Sequence(process.puppiMETSequence+process.fullPatMetSequencePuppi))
202  return process
203 

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

Referenced by nanoAOD_customizeData(), and nanoAOD_customizeMC().

◆ nanoAOD_runMETfixEE2017()

def nano_cff.nanoAOD_runMETfixEE2017 (   process,
  isData 
)

Definition at line 261 of file nano_cff.py.

261 def nanoAOD_runMETfixEE2017(process,isData):
262  runMetCorAndUncFromMiniAOD(process,isData=isData,
263  fixEE2017 = True,
264  fixEE2017Params = {'userawPt': True, 'ptThreshold':50.0, 'minEtaThreshold':2.65, 'maxEtaThreshold': 3.139},
265  postfix = "FixEE2017")
266  process.nanoSequenceCommon.insert(process.nanoSequenceCommon.index(jetSequence),process.fullPatMetSequenceFixEE2017)
267 

References runMETCorrectionsAndUncertainties.runMetCorAndUncFromMiniAOD().

Referenced by nanoAOD_customizeData(), and nanoAOD_customizeMC().

Variable Documentation

◆ _102x_sequence

nano_cff._102x_sequence
private

Definition at line 326 of file nano_cff.py.

◆ _80x_sequence

nano_cff._80x_sequence
private

Era dependent customization.

Definition at line 316 of file nano_cff.py.

◆ bool

nano_cff.bool

Definition at line 143 of file nano_cff.py.

◆ btagSFdir

nano_cff.btagSFdir

Definition at line 58 of file nano_cff.py.

◆ btagWeightTable

nano_cff.btagWeightTable

Definition at line 60 of file nano_cff.py.

◆ cut

nano_cff.cut

Definition at line 62 of file nano_cff.py.

◆ debug

nano_cff.debug

Definition at line 113 of file nano_cff.py.

◆ discNames

nano_cff.discNames

Definition at line 63 of file nano_cff.py.

◆ discShortNames

nano_cff.discShortNames

Definition at line 68 of file nano_cff.py.

◆ doc

nano_cff.doc

Definition at line 43 of file nano_cff.py.

◆ electronName

nano_cff.electronName

Definition at line 54 of file nano_cff.py.

◆ electrons

nano_cff.electrons

Definition at line 36 of file nano_cff.py.

◆ electronSel

nano_cff.electronSel

Definition at line 51 of file nano_cff.py.

◆ extraFlagsTable

nano_cff.extraFlagsTable

Definition at line 142 of file nano_cff.py.

◆ Flag_ecalBadCalibFilterV2

nano_cff.Flag_ecalBadCalibFilterV2

Definition at line 143 of file nano_cff.py.

◆ genEvent

nano_cff.genEvent

◆ genLumiInfoHeader

nano_cff.genLumiInfoHeader

◆ genWeightsTable

nano_cff.genWeightsTable

Definition at line 96 of file nano_cff.py.

◆ jetName

nano_cff.jetName

Definition at line 54 of file nano_cff.py.

◆ jets

nano_cff.jets

Definition at line 34 of file nano_cff.py.

◆ jetSel

nano_cff.jetSel

Definition at line 49 of file nano_cff.py.

◆ l1bits

nano_cff.l1bits

Definition at line 121 of file nano_cff.py.

◆ legacyL1

nano_cff.legacyL1

Definition at line 121 of file nano_cff.py.

◆ lhaid

nano_cff.lhaid

◆ lheInfo

nano_cff.lheInfo

◆ lheInfoTable

nano_cff.lheInfoTable

Definition at line 115 of file nano_cff.py.

◆ lheWeightPrecision

nano_cff.lheWeightPrecision

Definition at line 111 of file nano_cff.py.

◆ linkedObjects

nano_cff.linkedObjects

Definition at line 33 of file nano_cff.py.

◆ maxPdfWeights

nano_cff.maxPdfWeights

Definition at line 112 of file nano_cff.py.

◆ measurementTypesB

nano_cff.measurementTypesB

Definition at line 79 of file nano_cff.py.

◆ measurementTypesC

nano_cff.measurementTypesC

Definition at line 80 of file nano_cff.py.

◆ measurementTypesUDSG

nano_cff.measurementTypesUDSG

Definition at line 81 of file nano_cff.py.

◆ muonName

nano_cff.muonName

Definition at line 54 of file nano_cff.py.

Referenced by main().

◆ muons

nano_cff.muons

Definition at line 35 of file nano_cff.py.

◆ muonSel

nano_cff.muonSel

Definition at line 50 of file nano_cff.py.

◆ name

nano_cff.name

Definition at line 42 of file nano_cff.py.

◆ namedWeightIDs

nano_cff.namedWeightIDs

Definition at line 109 of file nano_cff.py.

◆ namedWeightLabels

nano_cff.namedWeightLabels

Definition at line 110 of file nano_cff.py.

◆ nanoMetadata

nano_cff.nanoMetadata

Definition at line 27 of file nano_cff.py.

◆ nanoSequence

nano_cff.nanoSequence

Definition at line 133 of file nano_cff.py.

◆ nanoSequenceCommon

nano_cff.nanoSequenceCommon

Definition at line 125 of file nano_cff.py.

◆ nanoSequenceFS

nano_cff.nanoSequenceFS

Definition at line 135 of file nano_cff.py.

◆ nanoSequenceMC

nano_cff.nanoSequenceMC

Definition at line 137 of file nano_cff.py.

◆ nanoSequenceOnlyFullSim

nano_cff.nanoSequenceOnlyFullSim

Definition at line 131 of file nano_cff.py.

◆ operatingPoints

nano_cff.operatingPoints

Definition at line 78 of file nano_cff.py.

◆ photonName

nano_cff.photonName

Definition at line 55 of file nano_cff.py.

◆ photons

nano_cff.photons

Definition at line 38 of file nano_cff.py.

◆ photonSel

nano_cff.photonSel

Definition at line 53 of file nano_cff.py.

◆ precision

nano_cff.precision

Definition at line 117 of file nano_cff.py.

◆ preferredPDFs

nano_cff.preferredPDFs

Definition at line 100 of file nano_cff.py.

◆ simpleCleanerTable

nano_cff.simpleCleanerTable

Definition at line 41 of file nano_cff.py.

◆ src

nano_cff.src

Definition at line 61 of file nano_cff.py.

◆ src_ext

nano_cff.src_ext

Definition at line 122 of file nano_cff.py.

◆ storeLHEParticles

nano_cff.storeLHEParticles

Definition at line 118 of file nano_cff.py.

◆ storeUnprefireableBit

nano_cff.storeUnprefireableBit

Definition at line 122 of file nano_cff.py.

◆ strings

nano_cff.strings

◆ sysTypes

nano_cff.sysTypes

Definition at line 82 of file nano_cff.py.

◆ tag

nano_cff.tag

Definition at line 29 of file nano_cff.py.

◆ tauName

nano_cff.tauName

Definition at line 55 of file nano_cff.py.

◆ taus

nano_cff.taus

Definition at line 37 of file nano_cff.py.

◆ tauSel

nano_cff.tauSel

Definition at line 52 of file nano_cff.py.

◆ variables

nano_cff.variables

Definition at line 142 of file nano_cff.py.

◆ weightFiles

nano_cff.weightFiles

Definition at line 73 of file nano_cff.py.

nano_cff.nanoAOD_customizeData
def nanoAOD_customizeData(process)
Definition: nano_cff.py:301
vid_id_tools.switchOnVIDElectronIdProducer
def switchOnVIDElectronIdProducer(process, dataFormat, task=None)
Electrons.
Definition: vid_id_tools.py:66
nano_cff.nanoAOD_addTauIds
def nanoAOD_addTauIds(process)
Definition: nano_cff.py:147
pfDeepBoostedJet_cff
join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
nano_cff.nanoAOD_recalibrateMETs
def nanoAOD_recalibrateMETs(process, isData)
Definition: nano_cff.py:181
common_cff.Var
def Var(expr, valtype, compression=None, doc=None, mcOnly=False, precision=-1)
Definition: common_cff.py:20
nano_cff.nanoAOD_customizeMC
def nanoAOD_customizeMC(process)
Definition: nano_cff.py:308
nano_cff.nanoAOD_activateVID
def nanoAOD_activateVID(process)
Definition: nano_cff.py:205
nano_cff.nanoAOD_addDeepInfo
def nanoAOD_addDeepInfo(process, addDeepBTag, addDeepFlavour)
Definition: nano_cff.py:157
nano_cff.nanoAOD_addDeepInfoAK8
def nanoAOD_addDeepInfoAK8(process, addDeepBTag, addDeepBoostedJet, addDeepDoubleX, jecPayload)
Definition: nano_cff.py:228
nano_cff.nanoAOD_runMETfixEE2017
def nanoAOD_runMETfixEE2017(process, isData)
Definition: nano_cff.py:261
edm::print
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66
runMETCorrectionsAndUncertainties.runMetCorAndUncFromMiniAOD
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="")
Definition: runMETCorrectionsAndUncertainties.py:2013
vid_id_tools.setupAllVIDIdsInModule
def setupAllVIDIdsInModule(process, id_module_name, setupFunction, patProducer=None, addUserData=True, task=None)
Definition: vid_id_tools.py:49
vid_id_tools.switchOnVIDPhotonIdProducer
def switchOnVIDPhotonIdProducer(process, dataFormat, task=None)
Photons.
Definition: vid_id_tools.py:158
nano_cff.nanoAOD_customizeCommon
def nanoAOD_customizeCommon(process)
Definition: nano_cff.py:268