Go to the documentation of this file.00001 '''
00002
00003 Change the jets with which the PFTau collections are built.
00004
00005 Author: Evan K. Friis, UC Davis
00006
00007 '''
00008
00009 def changePFTauJetSource(process, jetSrc):
00010
00011 for producer in ['combinatoricRecoTaus', 'shrinkingConePFTauProducer']:
00012
00013 tauProducer = getattr(process, producer)
00014 tauProducer.jetSrc = jetSrc
00015 piZeroProdName = getattr(tauProducer, 'piZeroSrc').value()
00016 piZeroProducer = getattr(process, piZeroProdName)
00017 piZeroProducer.src = jetSrc
00018
00019 process.ak5PFJetTracksAssociatorAtVertex.jets = jetSrc
00020
00021
00022
00023
00024
00025
00026
00027