CMS 3D CMS Logo

patCandidates_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
9 
10 ## module to count objects
11 patCandidateSummary = cms.EDAnalyzer("CandidateSummaryTable",
12  logName = cms.untracked.string("patCandidates|PATSummaryTables"),
13  candidates = cms.VInputTag(
14  cms.InputTag("patElectrons"),
15  cms.InputTag("patMuons"),
16  cms.InputTag("patTaus"),
17  cms.InputTag("patPhotons"),
18  cms.InputTag("patJets"),
19  cms.InputTag("patMETs"),
20  )
21 )
22 
23 patCandidatesTask = cms.Task(
24  makePatElectronsTask,
25  makePatMuonsTask,
26  makePatTausTask,
27  makePatPhotonsTask,
28  makePatJetsTask,
29  makePatMETsTask
30 )
31 patCandidates = cms.Sequence(patCandidateSummary, patCandidatesTask)