CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTauTag/RecoTau/python/PFRecoTauDecayModeDeterminator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 import copy
00003 
00004 """
00005         Defintions used in PFTauDecayModeDeterminator
00006         Purpose: Reconstruct the correct tau decay mode of reco::PFTaus
00007         Author: Evan K. Friis, UC Davis (friis@physics.ucdavis.edu)
00008 """
00009 
00010 standardDecayModeParams = cms.PSet(
00011     maxPiZeroMass               = cms.double(0.2),  # Max mass of photon pairs that can be merged into a pi0
00012     refitTracks                 = cms.bool(False),  # Fit vertex for 3-prongs? (Not available on AOD data)
00013     mergeLowPtPhotonsFirst      = cms.bool(True),   # as opposed to highest pt first (only when mergeByBestMatch = false)
00014     mergeByBestMatch            = cms.bool(True),   # Compare each candidate pair of photons and merge the best one
00015     setMergedPi0Mass            = cms.bool(True),   # Set mass for merged photons?
00016     setChargedPionMass          = cms.bool(True),   # Set tracks mass to M_pi+?
00017     setPi0Mass                  = cms.bool(True),   # Set unmerged photons to M_pi0?
00018     filterPhotons               = cms.bool(True),   # Remove unmerged/merged gammas by the following two criteria:
00019     minPtFractionSinglePhotons  = cms.double(0.10), # Minimum pt fraction for unmerged photons to be included
00020     minPtFractionPiZeroes       = cms.double(0.15), # Minimum pt fraction for merged photons to be included
00021     maxPhotonsToMerge           = cms.uint32(2),    # Number of photons that can be put in a candidate pi0
00022     filterTwoProngs             = cms.bool(True),   # Filter two prongs
00023     minPtFractionForSecondProng = cms.double(0.1),  # second prong pt/lead track pt fraction when filterTwoProngs == True
00024     maxDistance                 = cms.double(0.01), # passed to vertex fitter when refitTracks is true
00025     maxNbrOfIterations          = cms.int32(10)     # passed to vertex fitter when refitTracks is true
00026 )
00027 
00028 pfTauDecayMode = cms.EDProducer("PFRecoTauDecayModeDeterminator",
00029       standardDecayModeParams,
00030       PFTauProducer = cms.InputTag("pfRecoTauProducer"),
00031 )
00032 pfTauDecayModeHighEfficiency = cms.EDProducer("PFRecoTauDecayModeDeterminator",
00033     standardDecayModeParams,
00034     PFTauProducer = cms.InputTag("pfRecoTauProducerHighEfficiency"),
00035 )
00036 pfTauDecayModeInsideOut = cms.EDProducer("PFRecoTauDecayModeDeterminator",
00037     standardDecayModeParams,
00038     PFTauProducer = cms.InputTag("pfRecoTauProducerInsideOut"),
00039 )