CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Configuration/Skimming/python/PDWG_SuperClusterSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ### Diphoton CS                                                                                                                       
00004 superClusterMerger =  cms.EDProducer("EgammaSuperClusterMerger",
00005                                    src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
00006                                                        cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
00007                                    )
00008 superClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
00009                                    src = cms.InputTag("superClusterMerger"),
00010                                    particleType = cms.string('gamma')
00011                                    )
00012 superClusterCandsPt20 = cms.EDFilter("CandPtrSelector",  
00013                                      src = cms.InputTag("superClusterCands"),
00014                                      cut  = cms.string("pt > 20"),
00015                                      )
00016 #superClusterCandsPt50 = cms.EDFilter("CandPtrSelector",  
00017 #                                     src = cms.InputTag("superClusterCands"),
00018 #                                     cut  = cms.string("pt > 50"),
00019 #                                     filter = cms.bool(True),
00020 #                                     )
00021 twoSuperClustersPt20 = cms.EDFilter("CandViewCountFilter",
00022                                     src = cms.InputTag("superClusterCandsPt20"),
00023                                     minNumber = cms.uint32(2),
00024                                     )
00025 
00026 
00027 diSuperClusterSkimSequence = cms.Sequence(
00028     superClusterMerger *
00029     superClusterCands *
00030     superClusterCandsPt20 *
00031     twoSuperClustersPt20
00032     )
00033 
00034 #singleSuperClusterSkimSequence = cms.Sequence(
00035 #    superClusterMerger *
00036 #    superClusterCands *
00037 #    superClusterCandsPt50
00038 #    )
00039