CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DPGAnalysis/Skims/python/singleElectronSkim_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #from HLTrigger.HLTfilters.hltHighLevel_cfi import *
00004 #exoticaMuHLT = hltHighLevel
00005 #Define the HLT path to be used.
00006 #exoticaMuHLT.HLTPaths =['HLT_L1MuOpen']
00007 #exoticaMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00008 
00009 #Define the HLT quality cut 
00010 #exoticaHLTMuonFilter = cms.EDFilter("HLTSummaryFilter",
00011 #    summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00012 #    member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection                                                                    
00013 #    cut     = cms.string("pt>0"),                     # cut on trigger object
00014 #    minN    = cms.int32(0)                  # min. # of passing objects needed
00015 # )
00016                                
00017 
00018 #Define the Reco quality cut
00019 
00020 singleRecoElectronPt20Filter = cms.EDFilter("GsfElectronRefSelector",
00021                                         src = cms.InputTag("gsfElectrons"),
00022                                         cut = cms.string('pt > 20.0 && abs(eta) < 2.5 ' ),
00023                                         filter = cms.bool(True),
00024                                         minN    = cms.int32(1) 
00025                                         )
00026 
00027 singleRecoElectronPt15Filter = cms.EDFilter("GsfElectronRefSelector",
00028                                         src = cms.InputTag("gsfElectrons"),
00029                                         cut = cms.string('pt > 15.0 && abs(eta) < 2.5 ' ),
00030                                         filter = cms.bool(True),
00031                                         minN    = cms.int32(1)
00032                                         )
00033 
00034 singleRecoElectronPt10Filter = cms.EDFilter("GsfElectronRefSelector",
00035                                         src = cms.InputTag("gsfElectrons"),
00036                                         cut = cms.string('pt > 10.0 && abs(eta) < 2.5 ' ),
00037                                         filter = cms.bool(True),
00038                                         minN    = cms.int32(1)
00039                                         )
00040 
00041 singleRecoElectronPt5Filter = cms.EDFilter("GsfElectronRefSelector",
00042                                         src = cms.InputTag("gsfElectrons"),
00043                                         cut = cms.string('pt > 5.0 && abs(eta) < 2.5 ' ),
00044                                         filter = cms.bool(True),
00045                                         minN    = cms.int32(1)
00046                                         )
00047 
00048 singleRecoElectronPt1Filter = cms.EDFilter("GsfElectronRefSelector",
00049                                            src = cms.InputTag("gsfElectrons"),
00050                                            cut = cms.string('pt > 1.0 && abs(eta) < 2.5 ' ),
00051                                            filter = cms.bool(True),
00052                                            minN    = cms.int32(1)
00053                                            )
00054 
00055 
00056 #superClusterMerger =  cms.EDFilter("EgammaSuperClusterMerger",
00057 #                                   src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'),
00058 #                                                       cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
00059 #                                   )
00060 #superClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
00061 #                                   src = cms.InputTag("superClusterMerger"),
00062 #                                   particleType = cms.string('e-')
00063 #                                   )
00064 
00065 #goodSuperClusters = cms.EDFilter("CandViewRefSelector",
00066 #                                 src = cms.InputTag("superClusterCands"),
00067 #                                 cut = cms.string('et > 1.0')
00068 #                                 )
00069 
00070 #superClusterPt5Filter = cms.EDFilter("CandViewCountFilter",
00071 #                                      src = cms.InputTag("goodSuperClusters"),
00072 #                                      minNumber = cms.uint32(1)
00073 #                                      )
00074 
00075 #electronCounter = cms.EDFilter("CandViewCountFilter",
00076 #                               src = cms.InputTag("gsfElectrons"),
00077 #                               minNumber = cms.uint32(1)
00078 #                               )
00079 
00080 #from RecoEgamma.EgammaElectronProducers.ecalDrivenElectronSeeds_cfi import *
00081 
00082 #ecalDrivenElectronSeeds.SCEtCut = cms.double(1.0)
00083 #ecalDrivenElectronSeeds.applyHOverECut = cms.bool(False)
00084 #ecalDrivenElectronSeeds.SeedConfiguration.SeedConfigurationnSigmasDeltaZ1 = cms.double(5.)
00085 #ecalDrivenElectronSeeds.SeedConfiguration.z2MinB = cms.double(-0.9)
00086 #ecalDrivenElectronSeeds.SeedConfiguration.z2MaxB = cms.double(0.9)
00087 #ecalDrivenElectronSeeds.SeedConfiguration.r2MinF = cms.double(-1.5)
00088 #ecalDrivenElectronSeeds.SeedConfiguration.r2MaxF = cms.double(1.5)
00089 #ecalDrivenElectronSeeds.SeedConfiguration.rMinI = cms.double(-2.)
00090 #ecalDrivenElectronSeeds.SeedConfiguration.rMaxI = cms.double(2.)
00091 #ecalDrivenElectronSeeds.SeedConfiguration.DeltaPhi1Low = cms.double(0.3)
00092 #ecalDrivenElectronSeeds.SeedConfiguration.DeltaPhi1High = cms.double(0.3)
00093 #ecalDrivenElectronSeeds.SeedConfiguration.DeltaPhi2 = cms.double(0.3)
00094 #gsfElectrons.applyPreselection = cms.bool(False)
00095 #gsfElectrons.applyAmbResolution = cms.bool(True)
00096 
00097 #Define group sequence, using HLT/Reco quality cut. 
00098 #singleMuHLTQualitySeq = cms.Sequence()
00099 singleElectronPt20RecoQualitySeq = cms.Sequence(
00100     #singleElectronHLT+
00101     singleRecoElectronPt20Filter
00102 )
00103 
00104 singleElectronPt15RecoQualitySeq = cms.Sequence(
00105     #singleElectronHLT+
00106     singleRecoElectronPt15Filter
00107 )
00108 
00109 singleElectronPt10RecoQualitySeq = cms.Sequence(
00110     #singleElectronHLT+
00111     singleRecoElectronPt10Filter
00112 )
00113 
00114 singleElectronPt5RecoQualitySeq = cms.Sequence(
00115         #singleElectronHLT+
00116         singleRecoElectronPt5Filter
00117         )
00118 
00119 singleElectronPt1RecoQualitySeq = cms.Sequence(
00120             #singleElectronHLT+
00121             singleRecoElectronPt1Filter
00122                     )
00123 
00124 #singleElectronSCRecoQualitySeq = cms.Sequence(
00125 #    singleRecoElectronPt5Filter
00126 #    )