CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOEcalCalIsolElectron_cff.py
Go to the documentation of this file.
2 
3 #==================================================== FILTER EVENTS WITH WZSkims
4 #from DPGAnalysis.Skims.WElectronSkim_cff import * # already imported by ZElectronSkim_cff
6 # tagGsfSeq for Zee
7 #
8 WSkimSeq = cms.Sequence( WEnuHltFilter * ele_sequence * elecMetFilter )
9 
10 #from calibration.SANDBOX.ZElectronSkimSandbox_cff import *
11 
12 #===================================================== removing events with trackerDrivenOnly electrons
13 # if you want to filter events with trackerDrivenOnly electrons
14 # you should produce a collection containing the Ref to the
15 # trackerDrivenOnly electrons and then you should filter these events
16 # the lines to produce the Ref collection are the following
17 # you should not need to uncomment those, because I've already
18 # produced them in the ALCARECO step
19 #trackerDrivenOnlyElectrons = cms.EDFilter("GsfElectronRefSelector",
20 # src = cms.InputTag( 'gedGsfElectrons' ),
21 # cut = cms.string( "(ecalDrivenSeed==0)" )
22 # )
23 
24 # these lines active a filter that counts if there are more than 0
25 # trackerDrivenOnly electrons
26 #trackerDrivenRemover = cms.EDFilter("PATCandViewCountFilter",
27 # minNumber = cms.uint32(0),
28 # maxNumber = cms.uint32(0),
29 # src = cms.InputTag("trackerDrivenOnlyElectrons")
30 # )
31 #trackerDrivenRemoverSeq = cms.Sequence( trackerDrivenOnlyElectrons * trackerDrivenRemover )
32 #trackerDrivenRemoverSeq = cms.Sequence( trackerDrivenOnlyElectrons)
33 
34 
35 # already imported by the WElectronSkim
36 #from RecoJets.Configuration.RecoPFJets_cff import *
37 #kt6PFJetsForRhoCorrection = kt6PFJets.clone(doRhoFastjet = True)
38 #kt6PFJetsForRhoCorrection.Rho_EtaMax = cms.double(2.5)
39 
40 
41 
42 
44 
45 
46 
47 seqALCARECOEcalCalElectronRECO = cms.Sequence( alCaIsolatedElectrons)
48 
49 
50 seqALCARECOEcalCalElectron = cms.Sequence( kt6PFJetsForRhoCorrection +
51  seqALCARECOEcalCalElectronRECO
52  )
53 
54 seqALCARECOEcalCalZElectron = cms.Sequence( tagGsfSeq * seqALCARECOEcalCalElectron)
55 seqALCARECOEcalCalWElectron = cms.Sequence( WSkimSeq * seqALCARECOEcalCalElectron)