CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoTauTag/RecoTau/python/JPTRecoTauProducer_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 import copy
00003 
00004 from RecoJets.JetPlusTracks.JetPlusTrackCorrections_cff import *
00005 TCTauJetPlusTrackZSPCorJetAntiKt5 = copy.deepcopy(JetPlusTrackZSPCorJetAntiKt5)
00006 TCTauJetPlusTrackZSPCorJetAntiKt5.UseZSP = cms.bool(False)
00007 TCTauJetPlusTrackZSPCorJetAntiKt5.ResponseMap   = 'CondFormats/JetMETObjects/data/CMSSW_362_resptowers.txt'
00008 TCTauJetPlusTrackZSPCorJetAntiKt5.UseEfficiency = cms.bool(False)
00009 
00010 from RecoTauTag.RecoTau.CaloRecoTauTagInfoProducer_cfi import *
00011 from RecoTauTag.RecoTau.CaloRecoTauProducer_cfi import *
00012 caloRecoTauTagInfoProducer.CaloJetTracksAssociatorProducer = cms.InputTag('JPTAntiKt5JetTracksAssociatorAtVertex')
00013 JPTCaloRecoTauProducer = copy.deepcopy(caloRecoTauProducer)
00014 
00015 # Anti-Kt
00016 from RecoJets.JetAssociationProducers.ak5JTA_cff import*
00017 
00018 JPTAntiKt5JetTracksAssociatorAtVertex = ak5JetTracksAssociatorAtVertex.clone()
00019 JPTAntiKt5JetTracksAssociatorAtVertex.jets = cms.InputTag("TCTauJetPlusTrackZSPCorJetAntiKt5")
00020 
00021 JPTAntiKt5JetTracksAssociatorAtCaloFace = ak5JetTracksAssociatorAtCaloFace.clone()
00022 JPTAntiKt5JetTracksAssociatorAtCaloFace.jets = cms.InputTag("TCTauJetPlusTrackZSPCorJetAntiKt5")
00023 
00024 JPTAntiKt5JetExtender = ak5JetExtender.clone()
00025 JPTAntiKt5JetExtender.jets = cms.InputTag("ak5CaloJets")
00026 JPTAntiKt5JetExtender.jet2TracksAtCALO = cms.InputTag("JPTAntiKt5JetTracksAssociatorAtCaloFace")
00027 JPTAntiKt5JetExtender.jet2TracksAtVX = cms.InputTag("JPTAntiKt5JetTracksAssociatorAtVertex")
00028 
00029 
00030 jptRecoTauProducer = cms.Sequence(
00031         JPTeidTight *
00032         TCTauJetPlusTrackZSPCorJetAntiKt5 *
00033         JPTAntiKt5JetTracksAssociatorAtVertex *
00034         caloRecoTauTagInfoProducer *
00035         JPTCaloRecoTauProducer
00036 )
00037