CMS 3D CMS Logo

tauProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # prepare reco information
7 # CV: do **not** load PhysicsTools/PatAlgos/python/recoLayer0/tauJetCorrections_cff
8 # in order to avoid triggering FileInPath to SQLlite file
9 # CondFormats/JetMETObjects/data/TauJec11_V1.db
10 # (which is not included in all _4_2_x/4_3_x/4_4_x CMSSW releases yet)
11 #from PhysicsTools.PatAlgos.recoLayer0.tauJetCorrections_cff import *
12 
13 # add PAT specifics
17 
18 # produce object
20 
21 makePatTausTask = cms.Task(
22  # reco pre-production
23  patPFCandidateIsoDepositSelectionTask,
24  patPFTauIsolationTask,
25  # pat specifics
26  tauMatch,
27  tauGenJets,
28  tauGenJetsSelectorAllHadrons,
29  tauGenJetMatch,
30  # object production
31  patTaus,
32 )
33 makePatTaus = cms.Sequence(makePatTausTask)