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  patHPSPFTauDiscriminationTask,
24  patPFCandidateIsoDepositSelectionTask,
25  patPFTauIsolationTask,
26  #patTauJetCorrections *
27  # pat specifics
28  tauMatch,
29  tauGenJets,
30  tauGenJetsSelectorAllHadrons,
31  tauGenJetMatch,
32  # object production
33  patTaus,
34 )
35 makePatTaus = cms.Sequence(makePatTausTask)