CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/SUSYBSMAnalysis/Skimming/python/EXOTriLepton_cff.py

Go to the documentation of this file.
00001 
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
00005 
00006 
00007 #Define the HLT path to be used.
00008 exoticaTriMuonHLT = hltHighLevel.clone()
00009 exoticaTriMuonHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00010 exoticaTriMuonHLT.HLTPaths =['HLT_DoubleMu3']
00011 
00012 exoticaTriElectronHLT = hltHighLevel.clone()
00013 exoticaTriElectronHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00014 exoticaTriElectronHLT.HLTPaths =['HLT_DoubleEle5_SW_L1R']
00015 
00016 
00017 exoticaEMuHLT = hltHighLevel.clone()
00018 exoticaEMuHLT.TriggerResultsTag = cms.InputTag("TriggerResults","","HLT8E29")
00019 exoticaEMuHLT.HLTPaths =['HLT_DoubleEle5_SW_L1R','HLT_DoubleMu3']
00020 
00021 
00022 #Define the HLT quality cut 
00023 from HLTrigger.HLTfilters.hltSummaryFilter_cfi import *
00024 exoticaHLTTriMuonFilter = hltSummaryFilter.clone(
00025     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00026     member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection
00027     cut     = cms.string("pt>5"),                     # cut on trigger object
00028     minN    = cms.int32(3)                  # min. # of passing objects needed
00029  )
00030                                
00031 exoticaHLTTriElectronFilter =hltSummaryFilter.clone(                                                                              
00032     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00033     member  = cms.InputTag("hltL1NonIsoRecoEcalCandidate","","HLT8E29"),      # filter or collection
00034     #member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronEt5PixelMatchFilter","","HLT8E29"),      # filter or collection
00035     cut     = cms.string("pt>5"),                     # cut on trigger object
00036     minN    = cms.int32(3)                  # min. # of passing objects needed
00037  )
00038 
00039 exoticaHLTDiMuonFilter = hltSummaryFilter.clone(
00040     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00041     member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection
00042     cut     = cms.string("pt>5"),                     # cut on trigger object
00043     minN    = cms.int32(2)                  # min. # of passing objects needed
00044  )
00045      
00046 exoticaHLTDiElectronFilter =hltSummaryFilter.clone(                                                                               
00047     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00048     member  = cms.InputTag("hltL1NonIsoRecoEcalCandidate","","HLT8E29"),      # filter or collection
00049 #    member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronEt5PixelMatchFilter","","HLT8E29"),      # filter or collection
00050     cut     = cms.string("pt>5"),                     # cut on trigger object
00051     minN    = cms.int32(2)                  # min. # of passing objects needed
00052  )
00053 
00054 exoticaHLTMuonFilter = hltSummaryFilter.clone(
00055     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00056     member  = cms.InputTag("hltL3MuonCandidates","","HLT8E29"),      # filter or collection
00057     cut     = cms.string("pt>5"),                     # cut on trigger object
00058     minN    = cms.int32(1)                  # min. # of passing objects needed
00059  )
00060      
00061 exoticaHLTElectronFilter =hltSummaryFilter.clone(                                                                                 
00062     summary = cms.InputTag("hltTriggerSummaryAOD","","HLT8E29"), # trigger summary
00063     member  = cms.InputTag("hltL1NonIsoRecoEcalCandidate","","HLT8E29"),      # filter or collection
00064  #   member  = cms.InputTag("hltL1NonIsoHLTNonIsoSingleElectronEt5PixelMatchFilter","","HLT8E29"),      # filter or collection
00065     cut     = cms.string("pt>5"),                     # cut on trigger object
00066     minN    = cms.int32(1)                  # min. # of passing objects needed
00067  )
00068 
00069 
00070 
00071 
00072 #Define the Reco quality cut
00073 exoticaRecoTriMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
00074         src = cms.InputTag("muons"),
00075     ptMin = cms.double(5.0),                                                                       
00076     minNumber = cms.uint32(3)                                                                      
00077 )
00078 exoticaRecoTriElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
00079         src = cms.InputTag("gsfElectrons"),
00080     ptMin = cms.double(5.0),                                                                       
00081     minNumber = cms.uint32(3)                                                                      
00082 )
00083 exoticaRecoDiMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
00084         src = cms.InputTag("muons"),
00085     ptMin = cms.double(5.0),                                                                       
00086     minNumber = cms.uint32(2)                                                                      
00087 )
00088 exoticaRecoDiElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
00089         src = cms.InputTag("gsfElectrons"),
00090     ptMin = cms.double(5.0),                                                                       
00091     minNumber = cms.uint32(2)                                                                      
00092 )
00093 exoticaRecoMuonFilter = cms.EDFilter("PtMinMuonCountFilter",
00094         src = cms.InputTag("muons"),
00095     ptMin = cms.double(5.0),                                                                       
00096     minNumber = cms.uint32(1)                                                                      
00097 )
00098 exoticaRecoElectronFilter = cms.EDFilter("PtMinGsfElectronCountFilter",
00099         src = cms.InputTag("gsfElectrons"),
00100     ptMin = cms.double(5.0),                                                                       
00101     minNumber = cms.uint32(1)                                                                      
00102 )
00103 
00104 
00105 #Define group sequence, using HLT/Reco quality cut. 
00106 exoticaTriMuonHLTQualitySeq = cms.Sequence(
00107         exoticaTriMuonHLT+exoticaHLTTriMuonFilter
00108 )
00109 exoticaTriElectronHLTQualitySeq = cms.Sequence(
00110         exoticaTriElectronHLT+exoticaHLTTriElectronFilter
00111 )
00112 exotica1E2MuHLTQualitySeq = cms.Sequence(
00113     exoticaEMuHLT+exoticaHLTElectronFilter+exoticaHLTDiMuonFilter
00114 )
00115 exotica2E1MuHLTQualitySeq = cms.Sequence(
00116     exoticaEMuHLT+exoticaHLTDiElectronFilter+exoticaHLTMuonFilter
00117 )
00118 
00119 #
00120 exoticaTriMuonRecoQualitySeq = cms.Sequence(
00121     exoticaTriMuonHLT+exoticaRecoTriMuonFilter
00122 )
00123 exoticaTriElectronRecoQualitySeq = cms.Sequence(
00124     exoticaTriElectronHLT+exoticaRecoTriElectronFilter
00125 )
00126 
00127 exotica1E2MuRecoQualitySeq = cms.Sequence(
00128     exoticaEMuHLT+exoticaRecoElectronFilter+exoticaRecoDiMuonFilter
00129 )
00130 exotica2E1MuRecoQualitySeq = cms.Sequence(
00131     exoticaEMuHLT+exoticaRecoDiElectronFilter+exoticaRecoMuonFilter
00132 )