CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoTauTag/RecoTau/python/RecoTauShrinkingConeProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
00003 
00004 '''
00005 
00006 Configuration for 'shrinkingCone' PFTau Producer
00007 
00008 See PFT-08-001 for a description of the algorithm.
00009 
00010 '''
00011 
00012 _shrinkingConeRecoTausConfig = cms.PSet(
00013     name = cms.string("shrinkingCone"),
00014     qualityCuts = PFTauQualityCuts,
00015     # If true, consider PFLeptons (e/mu) as charged hadrons.
00016     usePFLeptons = cms.bool(True),
00017     pfCandSrc = cms.InputTag("particleFlow"),
00018     plugin = cms.string("RecoTauBuilderConePlugin"),
00019     leadObjectPt = cms.double(5.0),
00020     matchingCone = cms.string('0.1'),
00021     signalConeChargedHadrons = cms.string('min(max(5.0/et(), 0.07), 0.15)'),
00022     isoConeChargedHadrons = cms.string('0.5'),
00023     signalConePiZeros = cms.string('0.15'),
00024     isoConePiZeros = cms.string('0.5'),
00025     signalConeNeutralHadrons = cms.string('0.15'),
00026     isoConeNeutralHadrons = cms.string('0.5'),
00027 )
00028 
00029 shrinkingConeRecoTaus = cms.EDProducer(
00030     "RecoTauProducer",
00031     jetSrc = cms.InputTag("ak5PFJets"),
00032     piZeroSrc = cms.InputTag("ak5PFJetsRecoTauPiZeros"),
00033     jetRegionSrc = cms.InputTag("recoTauAK5PFJets08Region"),
00034     builders = cms.VPSet(
00035         _shrinkingConeRecoTausConfig
00036     ),
00037     # Build an empty tau in the case that a jet does not have any tracks
00038     buildNullTaus = cms.bool(True),
00039     modifiers = cms.VPSet(
00040         #cms.PSet(
00041             #name = cms.string('twoprong'),
00042             #plugin = cms.string("RecoTauTwoProngFilter"),
00043             #minPtFractionForSecondProng = cms.double(0.1),
00044         #),
00045         #cms.PSet(
00046             #name = cms.string('filterphotons'),
00047             #plugin = cms.string("RecoTauPhotonFilter"),
00048             #minPtFractionSinglePhotons  = cms.double(0.10),
00049             #minPtFractionPiZeroes       = cms.double(0.15),
00050         #),
00051         # Electron rejection
00052         cms.PSet(
00053             name = cms.string("shrinkingConeElectronRej"),
00054             plugin = cms.string("RecoTauElectronRejectionPlugin"),
00055             #Electron rejection parameters
00056             ElectronPreIDProducer                = cms.InputTag("elecpreid"),
00057             EcalStripSumE_deltaPhiOverQ_minValue = cms.double(-0.1),
00058             EcalStripSumE_deltaPhiOverQ_maxValue = cms.double(0.5),
00059             EcalStripSumE_minClusEnergy          = cms.double(0.1),
00060             EcalStripSumE_deltaEta               = cms.double(0.03),
00061             ElecPreIDLeadTkMatch_maxDR           = cms.double(0.01),
00062             maximumForElectrionPreIDOutput       = cms.double(-0.1),
00063             DataType = cms.string("AOD"),
00064         ),
00065     ),
00066 )