CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JPTRecoTauProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
3 
5 TCTauJetPlusTrackZSPCorJetAntiKt5 = copy.deepcopy(JetPlusTrackZSPCorJetAntiKt5)
6 TCTauJetPlusTrackZSPCorJetAntiKt5.UseZSP = cms.bool(False)
7 TCTauJetPlusTrackZSPCorJetAntiKt5.ResponseMap = 'CondFormats/JetMETObjects/data/CMSSW_362_resptowers.txt'
8 TCTauJetPlusTrackZSPCorJetAntiKt5.UseEfficiency = cms.bool(False)
9 
12 caloRecoTauTagInfoProducer.CaloJetTracksAssociatorProducer = cms.InputTag('JPTAntiKt5JetTracksAssociatorAtVertex')
13 JPTCaloRecoTauProducer = copy.deepcopy(caloRecoTauProducer)
14 
15 # Anti-Kt
17 
18 JPTAntiKt5JetTracksAssociatorAtVertex = ak4JetTracksAssociatorAtVertex.clone()
19 JPTAntiKt5JetTracksAssociatorAtVertex.jets = cms.InputTag("TCTauJetPlusTrackZSPCorJetAntiKt5")
20 
21 JPTAntiKt5JetTracksAssociatorAtCaloFace = ak4JetTracksAssociatorAtCaloFace.clone()
22 JPTAntiKt5JetTracksAssociatorAtCaloFace.jets = cms.InputTag("TCTauJetPlusTrackZSPCorJetAntiKt5")
23 
24 JPTAntiKt5JetExtender = ak4JetExtender.clone()
25 JPTAntiKt5JetExtender.jets = cms.InputTag("ak4CaloJets")
26 JPTAntiKt5JetExtender.jet2TracksAtCALO = cms.InputTag("JPTAntiKt5JetTracksAssociatorAtCaloFace")
27 JPTAntiKt5JetExtender.jet2TracksAtVX = cms.InputTag("JPTAntiKt5JetTracksAssociatorAtVertex")
28 
29 
30 jptRecoTauProducer = cms.Sequence(
31  JPTeidTight *
32  TCTauJetPlusTrackZSPCorJetAntiKt5 *
33  JPTAntiKt5JetTracksAssociatorAtVertex *
34  caloRecoTauTagInfoProducer *
35  JPTCaloRecoTauProducer
36 )
37