Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # prepare reco information
0004 from PhysicsTools.PatAlgos.recoLayer0.pfCandidateIsoDepositSelection_cff import *
0005 from PhysicsTools.PatAlgos.recoLayer0.tauIsolation_cff import *
0006 from PhysicsTools.PatAlgos.recoLayer0.tauDiscriminators_cff import *
0007 # CV: do **not** load PhysicsTools/PatAlgos/python/recoLayer0/tauJetCorrections_cff
0008 #     in order to avoid triggering FileInPath to SQLlite file
0009 #       CondFormats/JetMETObjects/data/TauJec11_V1.db
0010 #    (which is not included in all _4_2_x/4_3_x/4_4_x CMSSW releases yet)
0011 #from PhysicsTools.PatAlgos.recoLayer0.tauJetCorrections_cff import *
0012 
0013 # add PAT specifics
0014 from PhysicsTools.JetMCAlgos.TauGenJets_cfi import *
0015 from PhysicsTools.JetMCAlgos.TauGenJetsDecayModeSelectorAllHadrons_cfi import *
0016 from PhysicsTools.PatAlgos.mcMatchLayer0.tauMatch_cfi import *
0017 
0018 # produce object
0019 from PhysicsTools.PatAlgos.producersLayer1.tauProducer_cfi import *
0020 
0021 makePatTausTask = cms.Task(
0022     # reco pre-production
0023     patPFCandidateIsoDepositSelectionTask,
0024     patPFTauIsolationTask,
0025     # pat specifics
0026     tauMatch,
0027     tauGenJets,
0028     tauGenJetsSelectorAllHadrons,
0029     tauGenJetMatch,
0030     # object production
0031     patTaus,
0032 )
0033 makePatTaus = cms.Sequence(makePatTausTask)