76 " Add all of the MVA inputs discriminators to the tauID inputs of a patTau Producer "
77 print "Embedding MVA inputs into PAT Tau producer "
78 patTauIDConfig = thePatTauProducer.tauIDSources
79 for tancInputInfo
in produceTancMVAInputDiscriminators.discriminants:
80 name = tancInputInfo.name.value()
81 if hasattr(tancInputInfo,
"indices"):
83 for index
in tancInputInfo.indices:
84 collectionName = name + str(index)
85 setattr(patTauIDConfig,
"TaNC"+collectionName, cms.InputTag(
86 "produceTancMVAInputDiscriminators", collectionName))
89 setattr(patTauIDConfig,
"TaNC"+name, cms.InputTag(
90 "produceTancMVAInputDiscriminators", name))