CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/producersLayer1/patCandidates_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Build the Objects from AOD (Jets, Muons, Electrons, METs, Taus)
00004 from PhysicsTools.PatAlgos.producersLayer1.electronProducer_cff import *
00005 from PhysicsTools.PatAlgos.producersLayer1.muonProducer_cff import *
00006 from PhysicsTools.PatAlgos.producersLayer1.tauProducer_cff import *
00007 from PhysicsTools.PatAlgos.producersLayer1.photonProducer_cff import *
00008 from PhysicsTools.PatAlgos.producersLayer1.jetProducer_cff import *
00009 from PhysicsTools.PatAlgos.producersLayer1.metProducer_cff import *
00010 from PhysicsTools.PatAlgos.producersLayer1.mhtProducer_cff import *
00011 
00012 # One module to count objects
00013 patCandidateSummary = cms.EDAnalyzer("CandidateSummaryTable",
00014     logName = cms.untracked.string("patCandidates|PATSummaryTables"),
00015     candidates = cms.VInputTag(
00016         cms.InputTag("patElectrons"),
00017         cms.InputTag("patMuons"),
00018         cms.InputTag("patTaus"),
00019         cms.InputTag("patPhotons"),
00020         cms.InputTag("patJets"),
00021         cms.InputTag("patMETs"),
00022 #       cms.InputTag("patMHTs")
00023     )
00024 )
00025 
00026 patCandidates = cms.Sequence(
00027     makePatElectrons +
00028     makePatMuons     +
00029     makePatTaus      +
00030     makePatPhotons   +
00031     makePatJets      +
00032     makePatMETs      +
00033 #   makePatMHTs      +    
00034     patCandidateSummary
00035 )