3 Change the jets with which the PFTau collections are built.
5 Author: Evan K. Friis, UC Davis
11 for producer
in [
'combinatoricRecoTaus',
'shrinkingConePFTauProducer']:
13 tauProducer = getattr(process, producer)
14 tauProducer.jetSrc = jetSrc
15 piZeroProdName = getattr(tauProducer,
'piZeroSrc').
value()
16 piZeroProducer = getattr(process, piZeroProdName)
17 piZeroProducer.src = jetSrc
19 process.ak4PFJetTracksAssociatorAtVertex.jets = jetSrc