import FWCore.ParameterSet.Config as cms process = cms.Process("TagProbe") process.load('FWCore.MessageService.MessageLogger_cfi') process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) ) process.MessageLogger.cerr.FwkReport.reportEvery = 100 from CMGTools.HtoZZ2l2nu.localPatTuples_cff import configureFromCommandLine process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring() ) castorDir, outputFile, process.source.fileNames = configureFromCommandLine() process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(5000) ) #selection muontype = "isGlobalMuon && isTrackerMuon" kinacc = muontype + " && pt > 20 && abs(eta) < 2.4" goodtrk = kinacc + " && globalTrack.normalizedChi2<10 && globalTrack.hitPattern.numberOfValidTrackerHits>11 && globalTrack.hitPattern.numberOfValidMuonHits>1" iso = goodtrk + " && (neutralHadronIso+chargedHadronIso+photonIso)/pt < 0.2" ## Tags. process.tagMuons = cms.EDFilter("PATMuonRefSelector", src = cms.InputTag("selectedPatMuonsPFlow"), cut = cms.string(kinacc) ) ## Probes. process.probeMuons = cms.EDFilter("PATMuonRefSelector", src = cms.InputTag("selectedPatMuonsPFlow"), cut = cms.string("isTrackerMuon && pt > 15"), )
import os, sys runOnMC = False trigFilter = 'mumu' cfgFile = os.path.expandvars( '${CMSSW_BASE}/src/LIP/Top/test/createPatTuple_cfg.py') from CMGTools.HtoZZ2l2nu.localPatTuples_cff import configureFromCommandLine castorDir, outFile, inputList = configureFromCommandLine() execfile(cfgFile)
import os,sys runOnMC=False trigFilter='mumu' cfgFile=os.path.expandvars('${CMSSW_BASE}/src/LIP/Top/test/createPatTuple_cfg.py') from CMGTools.HtoZZ2l2nu.localPatTuples_cff import configureFromCommandLine castorDir, outFile, inputList = configureFromCommandLine() execfile(cfgFile)