CMS 3D CMS Logo

Variables
patTuple_standard_cfg Namespace Reference

Variables

 p
 

NOTE: you can use a bunch of core tools of PAT to taylor your PAT configuration; for a few examples

uncomment the lines below

from PhysicsTools.PatAlgos.tools.coreTools import * More...
 

Variable Documentation

patTuple_standard_cfg.p


NOTE: you can use a bunch of core tools of PAT to taylor your PAT configuration; for a few examples

uncomment the lines below

from PhysicsTools.PatAlgos.tools.coreTools import *

remove MC matching from the default sequence removeMCMatching(process, ['Muons']) remove certain objects from the default sequence removeAllPATObjectsBut(process, ['Muons']) removeSpecificPATObjects(process, ['Electrons', 'Muons', 'Taus']) ---------------------------------------————— NOTE: you can still run PAT in the 36X version on input files produced within the 35X series. This implies some reconfigurations, example are given

below.

from PhysicsTools.PatAlgos.tools.cmsswVersionTools import * uncomment this line to run on an 35X input sample run36xOn35xInput(process) uncomment the following lines to add jets from a 35X input sample addJetCollection35X(process,cms.InputTag('ak7CaloJets'), 'AK7', 'Calo', doJTA = True, doBTagging = False, jetCorrLabel = ('AK7', 'Calo'), doType1MET = True, doL1Cleaning = True, doL1Counters = False, genJetCollection=cms.InputTag("ak7GenJets"), doJetID = True, jetIdLabel = "ak7" ) uncomment the following lines to switch the jet collection from a 35X input sample switchJetCollection35X(process,cms.InputTag('ak5PFJets'), doJTA = True, doBTagging = True, jetCorrLabel = None, doType1MET = True, genJetCollection=cms.InputTag("ak5GenJets"), doJetID = True ) let it run

Definition at line 62 of file patTuple_standard_cfg.py.