CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
METSkim_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #from HLTrigger.HLTfilters.hltHighLevel_cfi import *
4 #exoticaMuHLT = hltHighLevel
5 #Define the HLT path to be used.
6 #exoticaMuHLT.HLTPaths =['HLT_L1MuOpen']
7 #exoticaMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
8 
9 #Define the HLT quality cut
10 #exoticaHLTMuonFilter = cms.EDFilter("HLTSummaryFilter",
11 # summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
12 # member = cms.InputTag("hltL3MuonCandidates","","HLT8E29"), # filter or collection
13 # cut = cms.string("pt>0"), # cut on trigger object
14 # minN = cms.int32(0) # min. # of passing objects needed
15 # )
16 
17 Jets = cms.EDProducer("EtaPtMinCandViewSelector",
18  src = cms.InputTag("iterativeCone5CaloJets"),
19  ptMin = cms.double(5),
20  etaMin = cms.double(-2),
21  etaMax = cms.double(2)
22  )
23 
24 jetsFilter = cms.EDFilter("CandViewCountFilter",
25  src = cms.InputTag("Jets"),
26  minNumber = cms.uint32(2)
27  )
28 
29 #Define the Reco quality cut
30 METFilter = cms.EDFilter("HLTGlobalSumsMET",
31  inputTag = cms.InputTag("htMetKT4"),
32  saveTag = cms.untracked.bool( True ),
33  observable = cms.string( "sumEt" ),
34  Min = cms.double(50.0),
35  Max = cms.double( -1.0 ),
36  MinN = cms.int32(1)
37  )
38 
39 
40 #Define group sequence, using HLT/Reco quality cut.
41 #exoticaMuHLTQualitySeq = cms.Sequence()
42 METQualitySeq = cms.Sequence(
43  #exoticaMuHLT+
44  Jets+jetsFilter+METFilter
45 )
46