CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/SUSYBSMAnalysis/Skimming/python/EXOEle_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 ########################################
00005 # definitions for cut on HLT variables #
00006 ########################################
00007 
00008 lowetMod = cms.EDFilter("HLTSummaryFilter",
00009     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00010     member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt10EleIdDphiFilter","","HLT8E29"),      # filter or collection
00011     cut     = cms.string("pt>30"),                     # cut on trigger object
00012     minN    = cms.int32(1)                  # min. # of passing objects needed
00013 )
00014 
00015 medetMod = cms.EDFilter("HLTSummaryFilter",
00016     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00017     member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt15PixelMatchFilter","","HLT8E29"),      # filter or collection
00018     cut     = cms.string("pt>50"),                     # cut on trigger object
00019     minN    = cms.int32(1)                  # min. # of passing objects needed
00020 )
00021 
00022 highetMod = cms.EDFilter("HLTSummaryFilter",
00023     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00024     member  = cms.InputTag("hltL1NonIsoHLTNonIsoSinglePhotonEt20HcalIsolFilter","","HLT8E29"),      # filter or collection
00025     cut     = cms.string("pt>80"),                     # cut on trigger object
00026     minN    = cms.int32(1)                  # min. # of passing objects needed
00027 )
00028 
00029 exoticaEleLowetSeq=cms.Sequence(lowetMod)
00030 exoticaEleMedetSeq=cms.Sequence(medetMod)
00031 exoticaEleHighetSeq=cms.Sequence(highetMod)
00032 
00033 ############################################
00034 # defintions for cuts on RECO variables    #
00035 ############################################
00036 # low and medium Et paths currently identical
00037 # low Et path is currently maintainted for
00038 # easy addition of isolation requirements in the future
00039 
00040 lowetModR  = cms.EDFilter("HLTHighLevel",
00041                                                    TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29"),
00042                                                    HLTPaths = cms.vstring('HLT_Ele15_LW_L1R',
00043                                                                                                                           'HLT_Photon20_L1R'),
00044                                                    andOr = cms.bool(True),
00045                                                    eventSetupPathsKey = cms.string(''),
00046                                                    throw = cms.bool(True)
00047                                                    )
00048 lowetsel = cms.EDFilter("GsfElectronSelector",
00049                                                 src =cms.InputTag("gsfElectrons"),
00050                                                 cut =cms.string("superCluster().get().energy()*sin(theta())>30")
00051                                                 )
00052 
00053 lowfilter = cms.EDFilter("CandViewCountFilter",
00054                                                   src = cms.InputTag("lowetsel"),
00055                                                   minNumber = cms.uint32(1),
00056                                                   )
00057 
00058 medetModR  = cms.EDFilter("HLTHighLevel",
00059                                                    TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29"),
00060                                                    HLTPaths = cms.vstring("HLT_Ele15_LW_L1R",
00061                                                                                                                           "HLT_Photon20_L1R"),
00062                                                    andOr = cms.bool(True),
00063                                                    eventSetupPathsKey = cms.string(''),
00064                                                    throw = cms.bool(True)
00065                                                    )
00066 medetsel = cms.EDFilter("GsfElectronSelector",
00067                                                 src =cms.InputTag("gsfElectrons"),
00068                                                 cut =cms.string("superCluster().get().energy()*sin(theta())>50")
00069                                                 )
00070 
00071 medfilter = cms.EDFilter("CandViewCountFilter",
00072                                                   src = cms.InputTag("medetsel"),
00073                                                   minNumber = cms.uint32(1),
00074                                                   )
00075 
00076 exoticaEleLowetSeqReco=cms.Sequence(lowetModR * lowetsel * lowfilter)
00077 exoticaEleMedetSeqReco=cms.Sequence(medetModR * medetsel * medfilter)
00078 exoticaEleHighetSeqReco=cms.Sequence(highetMod)