Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:45

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ### Diphoton CS                                                                                                                       
0004 superClusterMerger =  cms.EDProducer("EgammaSuperClusterMerger",
0005                                    src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
0006                                                        cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
0007                                    )
0008 superClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
0009                                    src = cms.InputTag("superClusterMerger"),
0010                                    particleType = cms.string('gamma')
0011                                    )
0012 superClusterCandsPt20 = cms.EDFilter("CandPtrSelector",  
0013                                      src = cms.InputTag("superClusterCands"),
0014                                      cut  = cms.string("pt > 20"),
0015                                      )
0016 #superClusterCandsPt50 = cms.EDFilter("CandPtrSelector",  
0017 #                                     src = cms.InputTag("superClusterCands"),
0018 #                                     cut  = cms.string("pt > 50"),
0019 #                                     filter = cms.bool(True),
0020 #                                     )
0021 twoSuperClustersPt20 = cms.EDFilter("CandViewCountFilter",
0022                                     src = cms.InputTag("superClusterCandsPt20"),
0023                                     minNumber = cms.uint32(2),
0024                                     )
0025 
0026 
0027 diSuperClusterSkimSequence = cms.Sequence(
0028     superClusterMerger *
0029     superClusterCands *
0030     superClusterCandsPt20 *
0031     twoSuperClustersPt20
0032     )
0033 
0034 #singleSuperClusterSkimSequence = cms.Sequence(
0035 #    superClusterMerger *
0036 #    superClusterCands *
0037 #    superClusterCandsPt50
0038 #    )
0039