CMS 3D CMS Logo

PDWG_DoublePhotonSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ### Diphoton CS
4 photonCandsPt30HOverE01 = cms.EDFilter("PhotonRefSelector",
5  src = cms.InputTag("photons"),
6  cut = cms.string("(pt > 30) && (hadronicOverEm < 0.1)"),
7  )
8 
9 twoPhotonsPt30HOverE01 = cms.EDFilter("CandViewCountFilter",
10  src = cms.InputTag("photonCandsPt30HOverE01"),
11  minNumber = cms.uint32(2),
12  )
13 
14 diphotonSkimSequence = cms.Sequence(
15  photonCandsPt30HOverE01 *
16  twoPhotonsPt30HOverE01
17  )