CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
singleElectronSkim_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 
18 #Define the Reco quality cut
19 
20 singleRecoElectronPt20Filter = cms.EDFilter("GsfElectronRefSelector",
21  src = cms.InputTag("gedGsfElectrons"),
22  cut = cms.string('pt > 20.0 && abs(eta) < 2.5 ' ),
23  filter = cms.bool(True),
24  minN = cms.int32(1)
25  )
26 
27 singleRecoElectronPt15Filter = cms.EDFilter("GsfElectronRefSelector",
28  src = cms.InputTag("gedGsfElectrons"),
29  cut = cms.string('pt > 15.0 && abs(eta) < 2.5 ' ),
30  filter = cms.bool(True),
31  minN = cms.int32(1)
32  )
33 
34 singleRecoElectronPt10Filter = cms.EDFilter("GsfElectronRefSelector",
35  src = cms.InputTag("gedGsfElectrons"),
36  cut = cms.string('pt > 10.0 && abs(eta) < 2.5 ' ),
37  filter = cms.bool(True),
38  minN = cms.int32(1)
39  )
40 
41 singleRecoElectronPt5Filter = cms.EDFilter("GsfElectronRefSelector",
42  src = cms.InputTag("gedGsfElectrons"),
43  cut = cms.string('pt > 5.0 && abs(eta) < 2.5 ' ),
44  filter = cms.bool(True),
45  minN = cms.int32(1)
46  )
47 
48 singleRecoElectronPt1Filter = cms.EDFilter("GsfElectronRefSelector",
49  src = cms.InputTag("gedGsfElectrons"),
50  cut = cms.string('pt > 1.0 && abs(eta) < 2.5 ' ),
51  filter = cms.bool(True),
52  minN = cms.int32(1)
53  )
54 
55 
56 #superClusterMerger = cms.EDFilter("EgammaSuperClusterMerger",
57 # src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
58 # cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
59 # )
60 #superClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
61 # src = cms.InputTag("superClusterMerger"),
62 # particleType = cms.string('e-')
63 # )
64 
65 #goodSuperClusters = cms.EDFilter("CandViewRefSelector",
66 # src = cms.InputTag("superClusterCands"),
67 # cut = cms.string('et > 1.0')
68 # )
69 
70 #superClusterPt5Filter = cms.EDFilter("CandViewCountFilter",
71 # src = cms.InputTag("goodSuperClusters"),
72 # minNumber = cms.uint32(1)
73 # )
74 
75 #electronCounter = cms.EDFilter("CandViewCountFilter",
76 # src = cms.InputTag("gedGsfElectrons"),
77 # minNumber = cms.uint32(1)
78 # )
79 
80 #Define group sequence, using HLT/Reco quality cut.
81 #singleMuHLTQualitySeq = cms.Sequence()
82 singleElectronPt20RecoQualitySeq = cms.Sequence(
83  #singleElectronHLT+
84  singleRecoElectronPt20Filter
85 )
86 
87 singleElectronPt15RecoQualitySeq = cms.Sequence(
88  #singleElectronHLT+
89  singleRecoElectronPt15Filter
90 )
91 
92 singleElectronPt10RecoQualitySeq = cms.Sequence(
93  #singleElectronHLT+
94  singleRecoElectronPt10Filter
95 )
96 
97 singleElectronPt5RecoQualitySeq = cms.Sequence(
98  #singleElectronHLT+
99  singleRecoElectronPt5Filter
100  )
101 
102 singleElectronPt1RecoQualitySeq = cms.Sequence(
103  #singleElectronHLT+
104  singleRecoElectronPt1Filter
105  )
106 
107 #singleElectronSCRecoQualitySeq = cms.Sequence(
108 # singleRecoElectronPt5Filter
109 # )