Functions | |
def | AddBTaggingScores |
def | AddDeepJetGluonLQuarkScores |
def | AddJetID |
def | AddNewAK8CHSJets |
def | AddNewAK8GenJetsForJEC |
def | AddNewAK8PuppiJetsForJEC |
def | AddNewGenJets |
def | AddNewPatJets |
def | AddParticleNetAK4Scores |
def | AddPileUpJetIDVars |
def | AddQGLTaggerVars |
def | AddVariablesForAK4GenJets |
def | AddVariablesForAK8GenJets |
def | AddVariablesForAK8PuppiJets |
def | PrepJMECustomNanoAOD |
def | PrepJMECustomNanoAOD_Data |
def | PrepJMECustomNanoAOD_MC |
def | ReclusterAK4CHSJets |
def | ReclusterAK4GenJets |
def | RemoveAllJetPtCuts |
def | SaveGenJets |
def | SavePatJets |
Variables | |
list | bTagCSVV2 = ['pfCombinedInclusiveSecondaryVertexV2BJetTags'] |
list | btagDDX |
list | btagDDXV2 |
list | bTagDeepCSV = ['pfDeepCSVJetTags:probb','pfDeepCSVJetTags:probbb','pfDeepCSVJetTags:probc'] |
list | bTagDeepJet |
bTagDiscriminatorsForAK4 = bTagCSVV2+bTagDeepCSV+bTagDeepJet+_pfParticleNetAK4JetTagsAll | |
list | btagHbb = ['pfBoostedDoubleSecondaryVertexAK8BJetTags'] |
tuple | BTAGVARS |
tuple | CALOJETVARS |
list | config_genjets |
list | config_recojets |
tuple | DEEPJETVARS |
tuple | GENJETVARS |
dictionary | nanoInfo_genjets |
dictionary | nanoInfo_recojets |
tuple | PARTICLENETAK4VARS |
tuple | PFJETVARS |
tuple | PUIDVARS |
tuple | QGLVARS |
def custom_jme_cff.AddBTaggingScores | ( | proc, | |
jetTableName = "" |
|||
) |
Store b-tagging scores from various algortihm
Definition at line 386 of file custom_jme_cff.py.
Referenced by SavePatJets().
def custom_jme_cff.AddDeepJetGluonLQuarkScores | ( | proc, | |
jetTableName = "" |
|||
) |
Store DeepJet raw score in jetTable for gluon and light quark
Definition at line 401 of file custom_jme_cff.py.
Referenced by SavePatJets().
def custom_jme_cff.AddJetID | ( | proc, | |
jetName = "" , |
|||
jetSrc = "" , |
|||
jetTableName = "" , |
|||
jetSequenceName = "" |
|||
) |
Setup modules to calculate PF jet ID
Definition at line 216 of file custom_jme_cff.py.
References filterCSVwithJSON.copy, edm::eventsetup::heterocontainer.insert(), and common_cff.Var().
Referenced by SavePatJets().
def custom_jme_cff.AddNewAK8CHSJets | ( | proc, | |
recoJA, | |||
runOnMC | |||
) |
Store an AK8 CHS jet collection for JEC studies.
Definition at line 800 of file custom_jme_cff.py.
References print(), and SavePatJets().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddNewAK8GenJetsForJEC | ( | proc, | |
genJA | |||
) |
Make a separate AK8 Gen jet collection for JEC studies.
Definition at line 964 of file custom_jme_cff.py.
References print(), and SaveGenJets().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddNewAK8PuppiJetsForJEC | ( | proc, | |
recoJA, | |||
runOnMC | |||
) |
Store a separate AK8 Puppi jet collection for JEC studies. Only minimal info are stored
Definition at line 767 of file custom_jme_cff.py.
References print(), and SavePatJets().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddNewGenJets | ( | proc, | |
genJetInfo | |||
) |
Add genJet into custom nanoAOD
Definition at line 864 of file custom_jme_cff.py.
References SaveGenJets().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddNewPatJets | ( | proc, | |
recoJetInfo, | |||
runOnMC | |||
) |
Add patJet into custom nanoAOD
Definition at line 425 of file custom_jme_cff.py.
References SavePatJets().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddParticleNetAK4Scores | ( | proc, | |
jetTableName = "" |
|||
) |
Store ParticleNetAK4 scores in jetTable
Definition at line 412 of file custom_jme_cff.py.
Referenced by SavePatJets().
def custom_jme_cff.AddPileUpJetIDVars | ( | proc, | |
jetName = "" , |
|||
jetSrc = "" , |
|||
jetTableName = "" , |
|||
jetSequenceName = "" |
|||
) |
Setup modules to calculate pileup jet ID input variables for PF jet
Definition at line 286 of file custom_jme_cff.py.
References edm::eventsetup::heterocontainer.insert().
Referenced by ReclusterAK4CHSJets(), and SavePatJets().
def custom_jme_cff.AddQGLTaggerVars | ( | proc, | |
jetName = "" , |
|||
jetSrc = "" , |
|||
jetTableName = "" , |
|||
jetSequenceName = "" , |
|||
calculateQGLVars = False |
|||
) |
Schedule the QGTagger module to calculate input variables to the QG likelihood
Definition at line 353 of file custom_jme_cff.py.
References edm::eventsetup::heterocontainer.insert().
Referenced by SavePatJets().
def custom_jme_cff.AddVariablesForAK4GenJets | ( | proc | ) |
Definition at line 990 of file custom_jme_cff.py.
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddVariablesForAK8GenJets | ( | proc | ) |
Definition at line 994 of file custom_jme_cff.py.
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.AddVariablesForAK8PuppiJets | ( | proc | ) |
Add more variables for AK8 PFPUPPI jets
Definition at line 832 of file custom_jme_cff.py.
References common_cff.Var().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.PrepJMECustomNanoAOD | ( | process, | |
runOnMC | |||
) |
Definition at line 1022 of file custom_jme_cff.py.
References AddNewAK8CHSJets(), AddNewAK8GenJetsForJEC(), AddNewAK8PuppiJetsForJEC(), AddNewGenJets(), AddNewPatJets(), AddVariablesForAK4GenJets(), AddVariablesForAK8GenJets(), AddVariablesForAK8PuppiJets(), ReclusterAK4CHSJets(), ReclusterAK4GenJets(), and RemoveAllJetPtCuts().
Referenced by PrepJMECustomNanoAOD_Data(), and PrepJMECustomNanoAOD_MC().
def custom_jme_cff.PrepJMECustomNanoAOD_Data | ( | process | ) |
Definition at line 1105 of file custom_jme_cff.py.
References PrepJMECustomNanoAOD().
def custom_jme_cff.PrepJMECustomNanoAOD_MC | ( | process | ) |
def custom_jme_cff.ReclusterAK4CHSJets | ( | proc, | |
recoJA, | |||
runOnMC | |||
) |
Recluster AK4 CHS jets and replace slimmedJets that is used as default to save AK4 CHS jets in NanoAODs.
Definition at line 596 of file custom_jme_cff.py.
References AddPileUpJetIDVars(), print(), and common_cff.Var().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.ReclusterAK4GenJets | ( | proc, | |
genJA | |||
) |
Recluster AK4 Gen jets and replace slimmedGenJets that is used as default to save AK4 Gen jets in NanoAODs.
Definition at line 924 of file custom_jme_cff.py.
References print().
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.RemoveAllJetPtCuts | ( | proc | ) |
Remove default pt cuts for all jets set in jets_cff.py
Definition at line 1003 of file custom_jme_cff.py.
Referenced by PrepJMECustomNanoAOD().
def custom_jme_cff.SaveGenJets | ( | proc, | |
genJetName, | |||
genJetAlgo, | |||
genJetSizeNr, | |||
genJetFinalColl, | |||
genJetTablePrefix, | |||
genJetTableDoc, | |||
runOnMC = False |
|||
) |
Schedule modules for a given genJet collection and save its variables into custom NanoAOD
Definition at line 881 of file custom_jme_cff.py.
Referenced by AddNewAK8GenJetsForJEC(), and AddNewGenJets().
def custom_jme_cff.SavePatJets | ( | proc, | |
jetName, | |||
payload, | |||
patJetFinalColl, | |||
jetTablePrefix, | |||
jetTableDoc, | |||
doPF, | |||
doCalo, | |||
ptcut = "" , |
|||
doPUIDVar = False , |
|||
doQGL = False , |
|||
doBTag = False , |
|||
runOnMC = False |
|||
) |
Schedule modules for a given patJet collection and save its variables into custom NanoAOD
Definition at line 452 of file custom_jme_cff.py.
References AddBTaggingScores(), AddDeepJetGluonLQuarkScores(), AddJetID(), AddParticleNetAK4Scores(), AddPileUpJetIDVars(), AddQGLTaggerVars(), and common_cff.Var().
Referenced by AddNewAK8CHSJets(), AddNewAK8PuppiJetsForJEC(), and AddNewPatJets().
list custom_jme_cff.bTagCSVV2 = ['pfCombinedInclusiveSecondaryVertexV2BJetTags'] |
Definition at line 20 of file custom_jme_cff.py.
list custom_jme_cff.btagDDX |
Definition at line 33 of file custom_jme_cff.py.
list custom_jme_cff.btagDDXV2 |
Definition at line 41 of file custom_jme_cff.py.
list custom_jme_cff.bTagDeepCSV = ['pfDeepCSVJetTags:probb','pfDeepCSVJetTags:probbb','pfDeepCSVJetTags:probc'] |
Definition at line 21 of file custom_jme_cff.py.
list custom_jme_cff.bTagDeepJet |
Definition at line 22 of file custom_jme_cff.py.
custom_jme_cff.bTagDiscriminatorsForAK4 = bTagCSVV2+bTagDeepCSV+bTagDeepJet+_pfParticleNetAK4JetTagsAll |
Definition at line 27 of file custom_jme_cff.py.
list custom_jme_cff.btagHbb = ['pfBoostedDoubleSecondaryVertexAK8BJetTags'] |
Definition at line 32 of file custom_jme_cff.py.
tuple custom_jme_cff.BTAGVARS |
Definition at line 179 of file custom_jme_cff.py.
tuple custom_jme_cff.CALOJETVARS |
Definition at line 202 of file custom_jme_cff.py.
tuple custom_jme_cff.config_genjets |
Definition at line 53 of file custom_jme_cff.py.
tuple custom_jme_cff.config_recojets |
Definition at line 76 of file custom_jme_cff.py.
tuple custom_jme_cff.DEEPJETVARS |
Definition at line 185 of file custom_jme_cff.py.
tuple custom_jme_cff.GENJETVARS |
Definition at line 135 of file custom_jme_cff.py.
dictionary custom_jme_cff.nanoInfo_genjets |
Definition at line 63 of file custom_jme_cff.py.
dictionary custom_jme_cff.nanoInfo_recojets |
Definition at line 110 of file custom_jme_cff.py.
tuple custom_jme_cff.PARTICLENETAK4VARS |
Definition at line 194 of file custom_jme_cff.py.
tuple custom_jme_cff.PFJETVARS |
Definition at line 138 of file custom_jme_cff.py.
tuple custom_jme_cff.PUIDVARS |
Definition at line 159 of file custom_jme_cff.py.
tuple custom_jme_cff.QGLVARS |
Definition at line 174 of file custom_jme_cff.py.