|
||||
File indexing completed on 2024-04-06 12:23:59
0001 ## import skeleton process 0002 from PhysicsTools.PatAlgos.patTemplate_cfg import * 0003 0004 #process.Tracer = cms.Service("Tracer") 0005 0006 ## load tau sequences up to selectedPatElectrons 0007 process.load("PhysicsTools.PatAlgos.producersLayer1.electronProducer_cff") 0008 patAlgosToolsTask.add(process.makePatElectronsTask) 0009 0010 process.load("PhysicsTools.PatAlgos.selectionLayer1.electronSelector_cfi") 0011 patAlgosToolsTask.add(process.selectedPatElectrons) 0012 0013 ## make sure to keep the created objects 0014 process.out.outputCommands = ['keep *_selectedPat*_*_*'] 0015 0016 ## ------------------------------------------------------ 0017 # In addition you usually want to change the following 0018 # parameters: 0019 ## ------------------------------------------------------ 0020 # 0021 # process.GlobalTag.globaltag = ... ## (according to https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions) 0022 # ## 0023 from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValProdTTbarAODSIM 0024 process.source.fileNames = filesRelValProdTTbarAODSIM 0025 # ## 0026 process.maxEvents.input = 100 0027 # ## 0028 # process.out.outputCommands = [ ... ] ## (e.g. taken from PhysicsTools/PatAlgos/python/patEventContent_cff.py) 0029 # ## 0030 process.out.fileName = 'patTuple_onlyElectrons.root' 0031 # ## 0032 # process.options.wantSummary = False ## (to suppress the long output at the end of the job)
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |