CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoTauPiZeroProducer_cfi.py
Go to the documentation of this file.
2 
3 import RecoTauTag.RecoTau.RecoTauPiZeroBuilderPlugins_cfi as builders
4 import RecoTauTag.RecoTau.RecoTauPiZeroQualityPlugins_cfi as ranking
5 
6 ak5PFJetsRecoTauGreedyPiZeros = cms.EDProducer(
7  "RecoTauPiZeroProducer",
8  jetSrc = cms.InputTag("ak5PFJets"),
9  jetRegionSrc = cms.InputTag("recoTauAK5PFJets08Region"),
10  massHypothesis = cms.double(0.136),
11  outputSelection = cms.string('pt > 1.5'),
12  builders = cms.VPSet(
13  builders.comboStrips
14  ),
15  ranking = cms.VPSet(
16  ranking.greedy
17  ),
18 )
19 
20 ak5PFJetsRecoTauPiZeros = cms.EDProducer(
21  "RecoTauPiZeroProducer",
22  jetSrc = cms.InputTag("ak5PFJets"),
23  jetRegionSrc = cms.InputTag("recoTauAK5PFJets08Region"),
24  massHypothesis = cms.double(0.136),
25  outputSelection = cms.string('pt > 1.5'),
26  builders = cms.VPSet(
27  builders.combinatoricPhotonPairs,
28  #builders.strips
29  builders.modStrips
30  ),
31  ranking = cms.VPSet(
32  ranking.nearPiZeroMassBarrel, # Prefer pi zeros +- 0.05 GeV correct mass
33  ranking.nearPiZeroMassEndcap,
34  ranking.isInStrip # Allow incorrect masses if in strip
35  ),
36 )
37 
38 ak5PFJetsLegacyTaNCPiZeros = cms.EDProducer(
39  "RecoTauPiZeroProducer",
40  jetSrc = cms.InputTag("ak5PFJets"),
41  jetRegionSrc = cms.InputTag("recoTauAK5PFJets08Region"),
42  massHypothesis = cms.double(0.136),
43  outputSelection = cms.string('pt > 1.5'),
44  builders = cms.VPSet(
45  builders.allSinglePhotons,
46  builders.combinatoricPhotonPairs
47  ),
48  ranking = cms.VPSet(
49  ranking.legacyPFTauDecayModeSelection
50  ),
51 )
52 
53 ak5PFJetsLegacyHPSPiZeros = cms.EDProducer(
54  "RecoTauPiZeroProducer",
55  jetSrc = cms.InputTag("ak5PFJets"),
56  jetRegionSrc = cms.InputTag("recoTauAK5PFJets08Region"),
57  massHypothesis = cms.double(0.136),
58  outputSelection = cms.string('pt > 0'),
59  builders = cms.VPSet(
60  #builders.strips
61  builders.modStrips
62  ),
63  ranking = cms.VPSet(
64  ranking.isInStrip
65  )
66 )
67