CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SUSYBSMAnalysis/Skimming/python/EXODiLepton_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 exoticaDiMuonHLT = hltHighLevel.clone()
00005 #Define the HLT path to be used.
00006 exoticaDiMuonHLT.HLTPaths =['HLT_DoubleMu3']
00007 exoticaDiMuonHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29") 
00008 
00009 exoticaDiElectronHLT = hltHighLevel.clone()
00010 exoticaDiElectronHLT.HLTPaths =['HLT_Ele10_LW_L1R']
00011 exoticaDiElectronHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00012 
00013 exoticaEMuHLT = hltHighLevel.clone()
00014 exoticaEMuHLT.HLTPaths =['HLT_Ele10_LW_L1R','HLT_Mu5']
00015 exoticaEMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00016 
00017 #Define the HLT quality cut 
00018 from HLTrigger.HLTfilters.hltSummaryFilter_cfi import *
00019 
00020 exoticaHLTDiMuonFilter = hltSummaryFilter.clone(
00021     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00022     member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection
00023     cut     = cms.string("pt>10"),                     # cut on trigger object
00024     minN    = cms.int32(2)                  # min. # of passing objects needed
00025  )
00026                                
00027 exoticaHLTDiElectronFilter =hltSummaryFilter.clone(                                                                               
00028     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00029     member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt10EleIdDphiFilter","","HLT8E29"),      # filter or collection
00030     cut     = cms.string("pt>10"),                     # cut on trigger object
00031     minN    = cms.int32(2)                  # min. # of passing objects needed
00032 )
00033 
00034 exoticaHLTMuonFilter = hltSummaryFilter.clone(
00035     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00036     member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection
00037     cut     = cms.string("pt>10"),                     # cut on trigger object
00038     minN    = cms.int32(1)                  # min. # of passing objects needed
00039  )
00040    
00041 exoticaHLTElectronFilter =hltSummaryFilter.clone(                                                                                 
00042     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00043     member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronLWEt10EleIdDphiFilter","","HLT8E29"),      # filter or collection
00044     cut     = cms.string("pt>10"),                     # cut on trigger object
00045     minN    = cms.int32(1)                  # min. # of passing objects needed
00046  )
00047 
00048 
00049    
00050 
00051 #Define the Reco quality cut
00052 exoticaRecoDiMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
00053         src = cms.InputTag("muons"),
00054     ptMin = cms.double(10.0),                                                                      
00055     minNumber = cms.uint32(2)                                                                      
00056 )
00057 exoticaRecoDiElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
00058         src = cms.InputTag("gsfElectrons"),
00059     ptMin = cms.double(10.0),                                                                      
00060     minNumber = cms.uint32(2)                                                                      
00061 )
00062 exoticaRecoMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
00063         src = cms.InputTag("muons"),
00064     ptMin = cms.double(10.0),                                                                      
00065     minNumber = cms.uint32(1)                                                                      
00066 )
00067 exoticaRecoElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
00068         src = cms.InputTag("gsfElectrons"),
00069     ptMin = cms.double(10.0),                                                                      
00070     minNumber = cms.uint32(1)                                                                      
00071 )
00072 
00073 
00074 #Define group sequence, using HLT/Reco quality cut. 
00075 exoticaDiMuonHLTQualitySeq = cms.Sequence(
00076         exoticaDiMuonHLT+exoticaHLTDiMuonFilter
00077 )
00078 exoticaDiElectronHLTQualitySeq = cms.Sequence(
00079         exoticaDiElectronHLT+exoticaHLTDiElectronFilter
00080 )
00081 exoticaEMuHLTQualitySeq = cms.Sequence(
00082     exoticaEMuHLT+exoticaHLTElectronFilter+exoticaHLTMuonFilter
00083 )
00084 #
00085 exoticaDiMuonRecoQualitySeq = cms.Sequence(
00086     exoticaDiMuonHLT+exoticaRecoDiMuonFilter
00087 )
00088 exoticaDiElectronRecoQualitySeq = cms.Sequence(
00089     exoticaDiElectronHLT+exoticaRecoDiElectronFilter
00090 )
00091 
00092 exoticaEMuRecoQualitySeq = cms.Sequence(
00093     exoticaEMuHLT+exoticaRecoElectronFilter+exoticaRecoMuonFilter
00094 )
00095