Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:23:59

0001 ## import skeleton process
0002 from PhysicsTools.PatAlgos.patTemplate_cfg import cms, process, patAlgosToolsTask
0003 
0004 #process.Tracer = cms.Service("Tracer")
0005 
0006 process.load("PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff")
0007 patAlgosToolsTask.add(process.patCandidatesTask)
0008 #Temporary customize to the unit tests that fail due to old input samples
0009 process.patTaus.skipMissingTauID = True
0010 
0011 process.load("PhysicsTools.PatAlgos.selectionLayer1.selectedPatCandidates_cff")
0012 patAlgosToolsTask.add(process.selectedPatCandidatesTask)
0013 
0014 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0015 process.load("RecoVertex.AdaptiveVertexFinder.inclusiveVertexing_cff")
0016 patAlgosToolsTask.add(process.inclusiveVertexingTask)
0017 patAlgosToolsTask.add(process.inclusiveCandidateVertexingTask)
0018 patAlgosToolsTask.add(process.inclusiveCandidateVertexingCvsLTask)
0019 
0020 process.load("PhysicsTools.PatAlgos.slimming.slimming_cff")
0021 patAlgosToolsTask.add(process.slimmingTask)
0022 
0023 from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeCommon, miniAOD_customizeMC
0024 miniAOD_customizeCommon(process)
0025 miniAOD_customizeMC(process)
0026 
0027 ## ------------------------------------------------------
0028 #  In addition you usually want to change the following
0029 #  parameters:
0030 ## ------------------------------------------------------
0031 #
0032 #   process.GlobalTag.globaltag =  ...    ##  (according to https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions)
0033 #                                         ##
0034 from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValZeeGENSIMRECO
0035 process.source.fileNames = filesRelValZeeGENSIMRECO
0036 #from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValTTbarGENSIMRECO
0037 #process.source.fileNames = filesRelValTTbarGENSIMRECO
0038 
0039 #                                         ##
0040 process.maxEvents.input = 500
0041 #                                         ##
0042 process.out.outputCommands = process.MicroEventContentMC.outputCommands
0043 from PhysicsTools.PatAlgos.slimming.miniAOD_tools import miniAOD_customizeOutput
0044 miniAOD_customizeOutput(process.out)
0045 #                                         ##
0046 #   process.options.wantSummary = False   ##  (to suppress the long output at the end of the job)
0047 #                                         ##
0048 process.out.fileName = 'patMiniAOD_standard.root'
0049 #
0050