1 import FWCore.ParameterSet.Config
as cms
5 hltPhotonHI = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6 hltPhotonHI.HLTPaths = [
"HLT_HIPhoton20"]
7 hltPhotonHI.throw =
False
8 hltPhotonHI.andOr =
True
11 goodPhotons = cms.EDFilter(
"PhotonSelector",
12 src = cms.InputTag(
"photons"),
13 cut = cms.string(
'et > 20 && hadronicOverEm < 0.1 && r9 > 0.8 && sigmaIetaIeta > 0.002')
16 goodPhotonsForZEE = goodPhotons.clone(
17 cut=cms.string(
'et > 20 && hadronicOverEm < 0.2 && r9 > 0.5 && sigmaIetaIeta > 0.002')
21 photonFilter = cms.EDFilter(
"EtMinPhotonCountFilter",
22 src = cms.InputTag(
"goodPhotons"),
23 etMin = cms.double(40.0),
24 minNumber = cms.uint32(1)
31 goodCleanPhotons = goodPhotons.clone(src=cms.InputTag(
"cleanPhotons"))
32 goodCleanPhotonsForZEE = goodPhotonsForZEE.clone(src=cms.InputTag(
"cleanPhotons"))
36 cleanPhotonFilter = photonFilter.clone(src=cms.InputTag(
"goodCleanPhotons"))
39 photonSkimSequence = cms.Sequence(hltPhotonHI
42 * hiPhotonCleaningSequence
48 primaryVertexFilterForZEE = cms.EDFilter(
"VertexSelector",
49 src = cms.InputTag(
"hiSelectedVertex"),
50 cut = cms.string(
"!isFake && abs(z) <= 25 && position.Rho <= 2"),
51 filter = cms.bool(
True),
55 twoPhotonFilter = cms.EDFilter(
"EtMinPhotonCountFilter",
56 src = cms.InputTag(
"goodPhotonsForZEE"),
57 etMin = cms.double(20.0),
58 minNumber = cms.uint32(2)
62 photonCombiner = cms.EDProducer(
"CandViewShallowCloneCombiner",
63 checkCharge = cms.bool(
False),
64 cut = cms.string(
'60 < mass < 120'),
65 decay = cms.string(
'goodCleanPhotonsForZEE goodCleanPhotonsForZEE')
68 photonPairCounter = cms.EDFilter(
"CandViewCountFilter",
69 src = cms.InputTag(
"photonCombiner"),
70 minNumber = cms.uint32(1)
76 rechits = cms.Sequence(siPixelRecHits*siStripMatchedRecHits)
77 electrons = cms.Sequence(rechits*hiPrimSeeds*hiElectronSequence)
80 zEESkimSequence = cms.Sequence(hltPhotonHI
81 * primaryVertexFilterForZEE
84 * hiPhotonCleaningSequence
85 * goodCleanPhotonsForZEE