CMS 3D CMS Logo

jetSkim_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 Jet2 = cms.EDFilter("EtaPtMinCandViewSelector",
18  src = cms.InputTag("iterativeCone5CaloJets"),
19  ptMin = cms.double(8),
20  etaMin = cms.double(-2),
21  etaMax = cms.double(2)
22  )
23 
24 Jet1 = cms.EDFilter("EtaPtMinCandViewSelector",
25  src = cms.InputTag("Jet2"),
26  ptMin = cms.double(8),
27  etaMin = cms.double(-1),
28  etaMax = cms.double(1)
29  )
30 #Define the Reco quality cut
31 #jetFilter = cms.EDFilter("CaloJetSelector",
32 # src = cms.InputTag("iterativeCone5CaloJets"),
33 # cut = cms.string('pt > 100 && abs(eta) < 2.0' ),
34 # filter = cms.bool(True),
35 # minNumber = cms.uint32(2)
36 # sizeSelector = cms.uint32(2)
37 # )
38 
39 dijetFilter = cms.EDFilter("CandViewCountFilter",
40  src = cms.InputTag("Jet2"),
41  minNumber = cms.uint32(2)
42  )
43 
44 jetFilter = cms.EDFilter("CandViewCountFilter",
45  src = cms.InputTag("Jet1"),
46  minNumber = cms.uint32(1)
47  )
48 
49 #===== add electrons =======
50 
51 jetSuperClusterMerger = cms.EDFilter("EgammaSuperClusterMerger",
52  src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
53  cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
54  )
55 jetSuperClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
56  src = cms.InputTag("jetSuperClusterMerger"),
57  particleType = cms.string('e-')
58  )
59 
60 goodJetSuperClusters = cms.EDFilter("CandViewRefSelector",
61  src = cms.InputTag("jetSuperClusterCands"),
62  cut = cms.string('et > 3.0')
63  )
64 
65 jetSuperClusterPt5Filter = cms.EDFilter("CandViewCountFilter",
66  src = cms.InputTag("goodJetSuperClusters"),
67  minNumber = cms.uint32(2)
68  )
69 
70 twoEmClusters = cms.Sequence(
71  jetSuperClusterMerger+jetSuperClusterCands+goodJetSuperClusters+jetSuperClusterPt5Filter
72  )
73 
74 #Define group sequence, using HLT/Reco quality cut.
75 #exoticaMuHLTQualitySeq = cms.Sequence()
76 jetRecoQualitySeq = cms.Sequence(
77 # twoEmClusters +
78  Jet2+Jet1+dijetFilter+jetFilter
79 )
80