1 import FWCore.ParameterSet.Config
as cms
3 from RecoTauTag.RecoTau.PFRecoTauPFJetInputs_cfi
import PFRecoTauPFJetInputs
4 from RecoTauTag.RecoTau.RecoTauCombinatoricProducer_cfi
import combinatoricRecoTaus
7 Configuration for 'shrinkingCone' PFTau Producer 9 See PFT-08-001 for a description of the algorithm. 13 _shrinkingConeRecoTausConfig = cms.PSet(
14 name = cms.string(
"shrinkingCone"),
15 qualityCuts = PFTauQualityCuts,
17 usePFLeptons = cms.bool(
True),
18 pfCandSrc = cms.InputTag(
"particleFlow"),
19 plugin = cms.string(
"RecoTauBuilderConePlugin"),
20 leadObjectPt = cms.double(5.0),
21 matchingCone = cms.string(
'0.3'),
22 signalConeChargedHadrons = cms.string(
'min(max(5.0/et(), 0.07), 0.15)'),
23 isoConeChargedHadrons = cms.string(
'0.4'),
24 signalConePiZeros = cms.string(
'0.15'),
25 isoConePiZeros = cms.string(
'0.4'),
26 signalConeNeutralHadrons = cms.string(
'0.15'),
27 isoConeNeutralHadrons = cms.string(
'0.4'),
28 maxSignalConeChargedHadrons = cms.int32(-1),
29 minAbsPhotonSumPt_insideSignalCone = cms.double(2.5),
30 minRelPhotonSumPt_insideSignalCone = cms.double(0.10),
31 verbosity = cms.int32(0)
34 shrinkingConeRecoTaus = combinatoricRecoTaus.clone(
35 jetSrc = PFRecoTauPFJetInputs.inputJetCollection,
36 piZeroSrc = cms.InputTag(
"ak4PFJetsRecoTauPiZeros"),
37 jetRegionSrc = cms.InputTag(
"recoTauAK4PFJets08Region"),
38 chargedHadronSrc = cms.InputTag(
'ak4PFJetsRecoTauChargedHadrons'),
39 minJetPt = cms.double(-1.0),
40 maxJetAbsEta = cms.double(99.0),
42 _shrinkingConeRecoTausConfig
45 buildNullTaus = cms.bool(
True),
46 modifiers = cms.VPSet(
49 name = cms.string(
"shrinkingConeElectronRej"),
50 plugin = cms.string(
"RecoTauElectronRejectionPlugin"),
52 ElectronPreIDProducer = cms.InputTag(
"elecpreid"),
53 EcalStripSumE_deltaPhiOverQ_minValue = cms.double(-0.1),
54 EcalStripSumE_deltaPhiOverQ_maxValue = cms.double(0.5),
55 EcalStripSumE_minClusEnergy = cms.double(0.1),
56 EcalStripSumE_deltaEta = cms.double(0.03),
57 ElecPreIDLeadTkMatch_maxDR = cms.double(0.01),
58 maximumForElectrionPreIDOutput = cms.double(-0.1),
59 DataType = cms.string(
"AOD"),