CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PDWG_SuperClusterSkim_cff.py
Go to the documentation of this file.
2 
3 ### Diphoton CS
4 superClusterMerger = cms.EDProducer("EgammaSuperClusterMerger",
5  src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
6  cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
7  )
8 superClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
9  src = cms.InputTag("superClusterMerger"),
10  particleType = cms.string('gamma')
11  )
12 superClusterCandsPt20 = cms.EDFilter("CandPtrSelector",
13  src = cms.InputTag("superClusterCands"),
14  cut = cms.string("pt > 20"),
15  )
16 #superClusterCandsPt50 = cms.EDFilter("CandPtrSelector",
17 # src = cms.InputTag("superClusterCands"),
18 # cut = cms.string("pt > 50"),
19 # filter = cms.bool(True),
20 # )
21 twoSuperClustersPt20 = cms.EDFilter("CandViewCountFilter",
22  src = cms.InputTag("superClusterCandsPt20"),
23  minNumber = cms.uint32(2),
24  )
25 
26 
27 diSuperClusterSkimSequence = cms.Sequence(
28  superClusterMerger *
29  superClusterCands *
30  superClusterCandsPt20 *
31  twoSuperClustersPt20
32  )
33 
34 #singleSuperClusterSkimSequence = cms.Sequence(
35 # superClusterMerger *
36 # superClusterCands *
37 # superClusterCandsPt50
38 # )
39