4 from RecoTauTag.RecoTau.RecoTauEnergyRecoveryPlugin2_cfi
import pfTauEnergyRecoveryPlugin2
8 Configuration for combinatoric PFTau producer plugins.
10 Note that this plugin produces many taus for each PFJet!
11 To be useful the output from this module must be cleaned
12 using an implementation of the RecoTauCleaner module.
14 Author: Evan K. Friis, UC Davis
28 combinatoricDecayModeConfigs = cms.PSet(
29 config1prong0pi0 = cms.PSet(
31 nCharged = cms.uint32(1),
32 nPiZeros = cms.uint32(0),
33 maxTracks = cms.uint32(6),
34 maxPiZeros = cms.uint32(0),
36 config1prong1pi0 = cms.PSet(
38 nCharged = cms.uint32(1),
39 nPiZeros = cms.uint32(1),
40 maxTracks = cms.uint32(6),
41 maxPiZeros = cms.uint32(6),
43 config1prong2pi0 = cms.PSet(
45 nCharged = cms.uint32(1),
46 nPiZeros = cms.uint32(2),
47 maxTracks = cms.uint32(6),
48 maxPiZeros = cms.uint32(5),
50 config3prong0pi0 = cms.PSet(
52 nCharged = cms.uint32(3),
53 nPiZeros = cms.uint32(0),
54 maxTracks = cms.uint32(6),
55 maxPiZeros = cms.uint32(0),
57 config3prong1pi0 = cms.PSet(
59 nCharged = cms.uint32(3),
60 nPiZeros = cms.uint32(1),
61 maxTracks = cms.uint32(6),
62 maxPiZeros = cms.uint32(3),
66 _combinatoricTauConfig = cms.PSet(
67 name = cms.string(
"combinatoric"),
68 plugin = cms.string(
"RecoTauBuilderCombinatoricPlugin"),
69 pfCandSrc = cms.InputTag(
"particleFlow"),
70 usePFLeptons = cms.bool(
True),
71 isolationConeSize = cms.double(0.5),
72 qualityCuts = PFTauQualityCuts,
73 decayModes = cms.VPSet(
74 combinatoricDecayModeConfigs.config1prong0pi0,
75 combinatoricDecayModeConfigs.config1prong1pi0,
76 combinatoricDecayModeConfigs.config1prong2pi0,
77 combinatoricDecayModeConfigs.config3prong0pi0,
82 combinatoricRecoTaus = cms.EDProducer(
84 jetSrc = cms.InputTag(
"ak5PFJets"),
85 jetRegionSrc = cms.InputTag(
"recoTauAK5PFJets08Region"),
86 piZeroSrc = cms.InputTag(
"ak5PFJetsRecoTauPiZeros"),
87 buildNullTaus = cms.bool(
True),
91 _combinatoricTauConfig,
93 modifiers = cms.VPSet(
95 name = cms.string(
"sipt"),
96 plugin = cms.string(
"RecoTauImpactParameterSignificancePlugin"),
97 qualityCuts = PFTauQualityCuts,
101 name = cms.string(
"elec_rej"),
102 plugin = cms.string(
"RecoTauElectronRejectionPlugin"),
104 ElectronPreIDProducer = cms.InputTag(
"elecpreid"),
105 EcalStripSumE_deltaPhiOverQ_minValue = cms.double(-0.1),
106 EcalStripSumE_deltaPhiOverQ_maxValue = cms.double(0.5),
107 EcalStripSumE_minClusEnergy = cms.double(0.1),
108 EcalStripSumE_deltaEta = cms.double(0.03),
109 ElecPreIDLeadTkMatch_maxDR = cms.double(0.01),
110 maximumForElectrionPreIDOutput = cms.double(-0.1),
111 DataType = cms.string(
"AOD"),
115 pfTauEnergyRecoveryPlugin2,
116 name = cms.string(
"tau_en_recovery"),
117 plugin = cms.string(
"RecoTauEnergyRecoveryPlugin2")