CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/DPGAnalysis/Skims/python/METSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #from HLTrigger.HLTfilters.hltHighLevel_cfi import *
00004 #exoticaMuHLT = hltHighLevel
00005 #Define the HLT path to be used.
00006 #exoticaMuHLT.HLTPaths =['HLT_L1MuOpen']
00007 #exoticaMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00008 
00009 #Define the HLT quality cut 
00010 #exoticaHLTMuonFilter = cms.EDFilter("HLTSummaryFilter",
00011 #    summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00012 #    member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection                                                                    
00013 #    cut     = cms.string("pt>0"),                     # cut on trigger object
00014 #    minN    = cms.int32(0)                  # min. # of passing objects needed
00015 # )
00016 
00017 Jets = cms.EDProducer("EtaPtMinCandViewSelector",
00018                       src = cms.InputTag("iterativeCone5CaloJets"),
00019                       ptMin   = cms.double(5),
00020                       etaMin = cms.double(-2),
00021                       etaMax = cms.double(2)
00022                       )
00023 
00024 jetsFilter = cms.EDFilter("CandViewCountFilter",
00025                            src = cms.InputTag("Jets"),
00026                            minNumber = cms.uint32(2)
00027                            )
00028 
00029 #Define the Reco quality cut
00030 METFilter = cms.EDFilter("HLTGlobalSumsMET",
00031                                inputTag = cms.InputTag("htMetKT4"),
00032                                saveTag = cms.untracked.bool( True ),
00033                                observable = cms.string( "sumEt" ),
00034                                Min = cms.double(50.0),
00035                                Max = cms.double( -1.0 ),
00036                                MinN = cms.int32(1)
00037                                )
00038     
00039 
00040 #Define group sequence, using HLT/Reco quality cut. 
00041 #exoticaMuHLTQualitySeq = cms.Sequence()
00042 METQualitySeq = cms.Sequence(
00043     #exoticaMuHLT+
00044     Jets+jetsFilter+METFilter
00045 )
00046