CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
singleElectronSkim_cff.py
Go to the documentation of this file.
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("gsfElectrons"),
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("gsfElectrons"),
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("gsfElectrons"),
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("gsfElectrons"),
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("gsfElectrons"),
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("gsfElectrons"),
77 # minNumber = cms.uint32(1)
78 # )
79 
80 #from RecoEgamma.EgammaElectronProducers.ecalDrivenElectronSeeds_cfi import *
81 
82 #ecalDrivenElectronSeeds.SCEtCut = cms.double(1.0)
83 #ecalDrivenElectronSeeds.applyHOverECut = cms.bool(False)
84 #ecalDrivenElectronSeeds.SeedConfiguration.SeedConfigurationnSigmasDeltaZ1 = cms.double(5.)
85 #ecalDrivenElectronSeeds.SeedConfiguration.z2MinB = cms.double(-0.9)
86 #ecalDrivenElectronSeeds.SeedConfiguration.z2MaxB = cms.double(0.9)
87 #ecalDrivenElectronSeeds.SeedConfiguration.r2MinF = cms.double(-1.5)
88 #ecalDrivenElectronSeeds.SeedConfiguration.r2MaxF = cms.double(1.5)
89 #ecalDrivenElectronSeeds.SeedConfiguration.rMinI = cms.double(-2.)
90 #ecalDrivenElectronSeeds.SeedConfiguration.rMaxI = cms.double(2.)
91 #ecalDrivenElectronSeeds.SeedConfiguration.DeltaPhi1Low = cms.double(0.3)
92 #ecalDrivenElectronSeeds.SeedConfiguration.DeltaPhi1High = cms.double(0.3)
93 #ecalDrivenElectronSeeds.SeedConfiguration.DeltaPhi2 = cms.double(0.3)
94 #gsfElectrons.applyPreselection = cms.bool(False)
95 #gsfElectrons.applyAmbResolution = cms.bool(True)
96 
97 #Define group sequence, using HLT/Reco quality cut.
98 #singleMuHLTQualitySeq = cms.Sequence()
99 singleElectronPt20RecoQualitySeq = cms.Sequence(
100  #singleElectronHLT+
101  singleRecoElectronPt20Filter
102 )
103 
104 singleElectronPt15RecoQualitySeq = cms.Sequence(
105  #singleElectronHLT+
106  singleRecoElectronPt15Filter
107 )
108 
109 singleElectronPt10RecoQualitySeq = cms.Sequence(
110  #singleElectronHLT+
111  singleRecoElectronPt10Filter
112 )
113 
114 singleElectronPt5RecoQualitySeq = cms.Sequence(
115  #singleElectronHLT+
116  singleRecoElectronPt5Filter
117  )
118 
119 singleElectronPt1RecoQualitySeq = cms.Sequence(
120  #singleElectronHLT+
121  singleRecoElectronPt1Filter
122  )
123 
124 #singleElectronSCRecoQualitySeq = cms.Sequence(
125 # singleRecoElectronPt5Filter
126 # )