parameters: (proc, recoJA, runOnMC)
return_statement: return proc
docstring: Store an AK8 CHS jet collection for JEC studies.
docstring_summary: Store an AK8 CHS jet collection for JEC studies.
docstring_tokens: Store an AK8 CHS jet collection for JEC studies .
function: def AddNewAK8CHSJets(proc, recoJA, runOnMC):
    """
    Store an AK8 CHS jet collection for JEC studies.
    """
    print("custom_jme_cff::AddNewAK8CHSJets: Make a new AK8 PF CHS jet collection for JEC studies")
  
    #
    # Recluster AK8 CHS jets
    #
    cfg = {
      "jet" : "ak8pfchs",
      "inputCollection" : "",
      "genJetsCollection": "AK8GenJetsNoNu",
      "minPtFastjet" : 0., # Remove any pt threshold at the jet clustering stage.
    }
    recoJetInfo = recoJA.addRecoJetCollection(proc, **cfg)
  
    jetName = recoJetInfo.jetUpper
    payload = recoJetInfo.jetCorrPayload
  
    patJetFinalColl = recoJetInfo.patJetFinalCollection
    jetTablePrefix  = "FatJetCHS"
    jetTableDoc     = "AK8 PF CHS jets with JECs applied. Reclustered for JEC studies so only minimal info stored."
    ptcut           = ""# No need to specify ptcut. Use default in SavePatJets function
  
    SavePatJets(proc,
      jetName, payload, patJetFinalColl, jetTablePrefix, jetTableDoc, doPF=True,
      doCalo=False, ptcut=ptcut, doPUIDVar=False, doQGL=False, doBTag=False, runOnMC=runOnMC
    )
  
    return proc
function_tokens: def AddNewAK8CHSJets ( proc , recoJA , runOnMC ) : print ( "custom_jme_cff::AddNewAK8CHSJets: Make a new AK8 PF CHS jet collection for JEC studies" ) # # Recluster AK8 CHS jets # cfg = { "jet" : "ak8pfchs" , "inputCollection" : "" , "genJetsCollection" : "AK8GenJetsNoNu" , "minPtFastjet" : 0. , # Remove any pt threshold at the jet clustering stage. } recoJetInfo = recoJA . addRecoJetCollection ( proc , * * cfg ) jetName = recoJetInfo . jetUpper payload = recoJetInfo . jetCorrPayload patJetFinalColl = recoJetInfo . patJetFinalCollection jetTablePrefix = "FatJetCHS" jetTableDoc = "AK8 PF CHS jets with JECs applied. Reclustered for JEC studies so only minimal info stored." ptcut = "" # No need to specify ptcut. Use default in SavePatJets function SavePatJets ( proc , jetName , payload , patJetFinalColl , jetTablePrefix , jetTableDoc , doPF = True , doCalo = False , ptcut = ptcut , doPUIDVar = False , doQGL = False , doBTag = False , runOnMC = runOnMC ) return proc