CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 
00005 goodHwwMuons = cms.EDFilter("MuonRefSelector",
00006                          src = cms.InputTag("muons"),
00007                          cut = cms.string("pt > 10 && " +
00008                                                       "(isolationR03().sumPt+isolationR03().emEt+isolationR03().hadEt)/pt < 1.0 && " +
00009                                                       "isGlobalMuon && isTrackerMuon"
00010                                                       ),
00011                                  )
00012 
00013               
00014 goodHwwElectrons = cms.EDFilter("GsfElectronRefSelector",
00015                              src = cms.InputTag("gsfElectrons"),
00016                              cut = cms.string(    "pt > 10 &&" +
00017                                                   " abs(deltaEtaSuperClusterTrackAtVtx) < 0.010 &&" +
00018                                                   " (( isEB && sigmaIetaIeta < 0.011) ||" +
00019                                                   "  (!isEB && sigmaIetaIeta < 0.031))"),
00020                              )
00021 
00022 diHwwMuons = cms.EDProducer("CandViewShallowCloneCombiner",
00023                                      decay       = cms.string("goodHwwMuons goodHwwMuons"),
00024                                      checkCharge = cms.bool(False),
00025                                      cut         = cms.string("mass > 5"),
00026                                  )
00027 
00028 diHwwElectrons = cms.EDProducer("CandViewShallowCloneCombiner",
00029                                          decay       = cms.string("goodHwwElectrons goodHwwElectrons"),
00030                                          checkCharge = cms.bool(False),
00031                                          cut         = cms.string("mass > 5"),
00032                                      )
00033 crossHwwLeptons  = cms.EDProducer("CandViewShallowCloneCombiner",
00034                                            decay       = cms.string("goodHwwMuons goodHwwElectrons"),
00035                                            checkCharge = cms.bool(False),
00036                                            cut         = cms.string("mass > 1"),
00037                                        )
00038 
00039 diHwwMuonsFilter = cms.EDFilter("CandViewCountFilter",
00040                              src = cms.InputTag("diHwwMuons"),
00041                              minNumber = cms.uint32(1)
00042 )
00043 diHwwElectronsFilter = cms.EDFilter("CandViewCountFilter",
00044                              src = cms.InputTag("diHwwElectrons"),
00045                              minNumber = cms.uint32(1)
00046 )
00047 crossHwwLeptonsFilter = cms.EDFilter("CandViewCountFilter",
00048                              src = cms.InputTag("crossHwwLeptons"),
00049                              minNumber = cms.uint32(1)
00050 )
00051 
00052 diMuonSequence = cms.Sequence( goodHwwMuons * diHwwMuons * diHwwMuonsFilter )
00053 
00054 diElectronSequence = cms.Sequence( goodHwwElectrons * diHwwElectrons * diHwwElectronsFilter )
00055 
00056 EleMuSequence = cms.Sequence( goodHwwMuons * goodHwwElectrons * crossHwwLeptons * crossHwwLeptonsFilter )
00057