CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PFRecoTauDecayModeIndexProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from RecoTauTag.RecoTau.TauDiscriminatorTools import noPrediscriminants
3 
4 """
5  Produces a PFTauDiscriminator (Association<PFTau, float>) that maps
6  PFTaus with the decay mode as determined by the PFTauDecayMode object.
7  The mapping of the index to real decay modes is given in
8  DataFormats/TauReco/interface/PFTauDecayMode.h
9 """
10 
11 pfTauDecayModeIndexProducer = cms.EDProducer("PFRecoTauDecayModeIndexProducer",
12  PFTauProducer = cms.InputTag("pfRecoTauProducer"),
13  PFTauDecayModeProducer = cms.InputTag("pfRecoTauDecayModeProducer"),
14 
15  # This discriminator automatically handles cases where the tau is
16  # empty, or has no lead track. No prediscriminants are needed.
17  Prediscriminants = noPrediscriminants,
18 )