CMS 3D CMS Logo

electronmuon_cff.py

Go to the documentation of this file.
00001 # The following comments couldn't be translated into the new config version:
00002 
00003 # Level 1 emulator
00004 
00005 # EMu L1 Seed 
00006 
00007 # Muon L1 Et filter
00008 
00009 # L1 electron, ECAL electron reconstruction
00010 
00011 # L1 electron iso <-> ECAL match filter
00012 
00013 # electron Et filter
00014 
00015 # electron HCAL Isolation
00016 
00017 # L2 MUONS (seed,mulocalreco,L2reco)
00018 
00019 # L2 muon pre- filter
00020 
00021 # L2 muon isolation reconstruction
00022 
00023 # L2 muon iso filter
00024 
00025 # Electron Pixel 
00026 
00027 # strip rechit for the electron tracking
00028 # L3 muon reco
00029 
00030 # L3 Mu pre Filter
00031 
00032 # L3 isolation producer
00033 
00034 # L3 Mu iso Filter
00035 
00036 # L3 electron tracking filter
00037 
00038 import FWCore.ParameterSet.Config as cms
00039 
00040 from HLTrigger.Egamma.EgammaHLTLocal_cff import *
00041 #include "HLTrigger/Configuration/data/common/HLTSetup.cff"
00042 #muon reco (L1,L2,L3; Iso, NonIso)
00043 from HLTrigger.Muon.CommonModules_1032_cff import *
00044 import copy
00045 from HLTrigger.HLTcore.hltPrescaler_cfi import *
00046 #pixelmatch -> included through HLT[Full|Fast]RecoForXchannel.cff
00047 # include "RecoEgamma/EgammaHLTProducers/data/pixelMatchElectronL1IsoSequenceForHLT.cff"
00048 # include "RecoEgamma/EgammaHLTProducers/data/pixelMatchElectronL1NonIsoSequenceForHLT.cff"
00049 # include "RecoEgamma/EgammaHLTProducers/data/l1IsoElectronsRegionalRecoTracker.cff"    
00050 #
00051 # Electron-Muon HLT Filters  ############################################
00052 #
00053 # PRESCALER
00054 hltemuPrescale = copy.deepcopy(hltPrescaler)
00055 import copy
00056 from HLTrigger.HLTfilters.hltLevel1GTSeed_cfi import *
00057 # MUON filters
00058 # HLT common filter for L1 input
00059 hltEMuonLevel1Seed = copy.deepcopy(hltLevel1GTSeed)
00060 import copy
00061 from HLTrigger.Egamma.hltEgammaL1MatchFilterRegional_cfi import *
00062 # ELECTRON Seeds, Producers, Filters
00063 #Ecal L1Iso + ECAL match filter
00064 #--------------------------------------------------------------------#
00065 # L1 MATCH
00066 #--------------------------------------------------------------------#
00067 #include "HLTrigger/Egamma/data/hltEgammaL1MatchFilter.cfi"
00068 #module hltemuL1IsoSingleL1MatchFilter = hltEgammaL1MatchFilter from "HLTrigger/Egamma/data/hltEgammaL1MatchFilter.cfi" 
00069 hltemuL1IsoSingleL1MatchFilter = copy.deepcopy(hltEgammaL1MatchFilterRegional)
00070 from HLTrigger.Egamma.hltEgammaEtFilter_cfi import *
00071 import copy
00072 from HLTrigger.Egamma.hltEgammaEtFilter_cfi import *
00073 hltemuL1IsoSingleElectronEtFilter = copy.deepcopy(hltEgammaEtFilter)
00074 from HLTrigger.Egamma.hltEgammaHcalIsolFilter_cfi import *
00075 import copy
00076 from HLTrigger.Egamma.hltEgammaHcalIsolFilter_cfi import *
00077 hltemuL1IsoSingleElectronHcalIsolFilter = copy.deepcopy(hltEgammaHcalIsolFilter)
00078 from HLTrigger.Egamma.hltElectronPixelMatchFilter_cfi import *
00079 import copy
00080 from HLTrigger.Egamma.hltElectronPixelMatchFilter_cfi import *
00081 hltemuL1IsoSingleElectronPixelMatchFilter = copy.deepcopy(hltElectronPixelMatchFilter)
00082 from HLTrigger.Egamma.hltElectronEoverpFilter_cfi import *
00083 import copy
00084 from HLTrigger.Egamma.hltElectronEoverpFilter_cfi import *
00085 hltemuL1IsoSingleElectronEoverpFilter = copy.deepcopy(hltElectronEoverpFilter)
00086 from HLTrigger.Egamma.hltElectronTrackIsolFilter_cfi import *
00087 import copy
00088 from HLTrigger.Egamma.hltElectronTrackIsolFilter_cfi import *
00089 hltemuL1IsoSingleElectronTrackIsolFilter = copy.deepcopy(hltElectronTrackIsolFilter)
00090 #L1 filter
00091 EMuL1MuonFilter = cms.EDFilter("HLTMuonL1Filter",
00092     MaxEta = cms.double(2.5),
00093     CandTag = cms.InputTag("hltEMuonLevel1Seed"),
00094     MinPt = cms.double(4.0),
00095     MinN = cms.int32(1),
00096     MinQuality = cms.int32(-1)
00097 )
00098 
00099 #L2 Pre filter
00100 # OLD
00101 #       module EMuL2MuonPreFilter = HLTMuonPreFilter {
00102 #               InputTag CandTag = hltL2MuonCandidates
00103 #               int32 MinN = 1
00104 #               double MaxEta = 2.5
00105 #               #int32 MinNhits = 4
00106 #               int32 MinNhits = 0
00107 #               double MaxDr = 9999.
00108 #               double MaxDz = 9999.
00109 #               double MinPt = 7.    
00110 #               double NSigmaPt = 3.9
00111 #       }
00112 EMuL2MuonPreFilter = cms.EDFilter("HLTMuonL2PreFilter",
00113     PreviousCandTag = cms.InputTag("EMuL1MuonFilter"),
00114     MinPt = cms.double(7.0),
00115     MinN = cms.int32(1),
00116     MaxEta = cms.double(2.5),
00117     MinNhits = cms.int32(0),
00118     NSigmaPt = cms.double(3.9),
00119     MaxDz = cms.double(9999.0),
00120     BeamSpotTag = cms.InputTag("offlineBeamSpot"),
00121     SeedTag = cms.InputTag("hltL2MuonSeeds"),
00122     MaxDr = cms.double(9999.0),
00123     CandTag = cms.InputTag("hltL2MuonCandidates")
00124 )
00125 
00126 #L2 iso filter
00127 EMuL2MuonIsoFilter = cms.EDFilter("HLTMuonIsoFilter",
00128     CandTag = cms.InputTag("EMuL2MuonPreFilter"),
00129     MinN = cms.int32(1),
00130     IsoTag = cms.InputTag("hltL2MuonIsolations")
00131 )
00132 
00133 #L3 Pre filter
00134 #       module EMuL3MuonPreFilter = HLTMuonPreFilter {
00135 #               InputTag CandTag = hltL3MuonCandidates
00136 #               int32 MinN = 1
00137 #               double MaxEta = 2.5
00138 #               #int32 MinNhits = 5
00139 #               int32 MinNhits = 0
00140 #               double MaxDr = 2.0
00141 #               double MaxDz = 9999.
00142 #               double MinPt = 7.  
00143 #               double NSigmaPt = 2.2
00144 #       }
00145 EMuL3MuonPreFilter = cms.EDFilter("HLTMuonL3PreFilter",
00146     PreviousCandTag = cms.InputTag("EMuL2MuonIsoFilter"),
00147     MinPt = cms.double(7.0),
00148     MinN = cms.int32(1),
00149     MaxEta = cms.double(2.5),
00150     MinNhits = cms.int32(0),
00151     LinksTag = cms.InputTag("hltL3Muons"),
00152     NSigmaPt = cms.double(2.2),
00153     MaxDz = cms.double(9999.0),
00154     BeamSpotTag = cms.InputTag("offlineBeamSpot"),
00155     MaxDr = cms.double(2.0),
00156     CandTag = cms.InputTag("hltL3MuonCandidates")
00157 )
00158 
00159 #L3 iso filter
00160 EMuL3MuonIsoFilter = cms.EDFilter("HLTMuonIsoFilter",
00161     CandTag = cms.InputTag("EMuL3MuonPreFilter"),
00162     MinN = cms.int32(1),
00163     IsoTag = cms.InputTag("hltL3MuonIsolations")
00164 )
00165 
00166 #      double pttrackisolcut = 0.06
00167 #      int32 ncandcut         = 1
00168 #--------------------------------------------------------------------#
00169 # Set Et thresholds for L1 e+mu
00170 #replace l1extraParticleMap.isoEmMuonMinEmEt = 7.
00171 #replace l1extraParticleMap.isoEmMuonMinMuonEt = 7.
00172 emuonsequence = cms.Sequence(hltemuPrescale+cms.SequencePlaceholder("hltBegin")+hltEMuonLevel1Seed+EMuL1MuonFilter+cms.SequencePlaceholder("doRegionalEgammaEcal")+l1IsolatedEcalClusters+l1IsoRecoEcalCandidate+hltemuL1IsoSingleL1MatchFilter+hltemuL1IsoSingleElectronEtFilter+cms.SequencePlaceholder("doLocalHcalWithoutHO")+l1IsolatedElectronHcalIsol+hltemuL1IsoSingleElectronHcalIsolFilter+l2muonreco+EMuL2MuonPreFilter+l2muonisoreco+EMuL2MuonIsoFilter+cms.SequencePlaceholder("doLocalPixel")+cms.SequencePlaceholder("doLocalStrip")+cms.SequencePlaceholder("pixelMatchElectronL1IsoSequenceForHLT")+hltemuL1IsoSingleElectronPixelMatchFilter+pixelMatchElectronL1IsoTrackingSequenceForHLT+hltemuL1IsoSingleElectronEoverpFilter+l3muonreco+EMuL3MuonPreFilter+l3muonisoreco+EMuL3MuonIsoFilter+cms.SequencePlaceholder("l1IsoElectronsRegionalRecoTracker")+l1IsoElectronTrackIsol+hltemuL1IsoSingleElectronTrackIsolFilter)
00173 hltEMuonLevel1Seed.L1SeedsLogicalExpression = 'L1_Mu3_IsoEG5'
00174 hltemuL1IsoSingleL1MatchFilter.candIsolatedTag = 'l1IsoRecoEcalCandidate'
00175 hltemuL1IsoSingleL1MatchFilter.L1SeedFilterTag = 'hltEMuonLevel1Seed'
00176 hltemuL1IsoSingleElectronEtFilter.inputTag = 'hltemuL1IsoSingleL1MatchFilter'
00177 hltemuL1IsoSingleElectronEtFilter.etcut = 8.0
00178 hltemuL1IsoSingleElectronHcalIsolFilter.candTag = 'hltemuL1IsoSingleElectronEtFilter'
00179 hltemuL1IsoSingleElectronHcalIsolFilter.isoTag = 'l1IsolatedElectronHcalIsol'
00180 hltemuL1IsoSingleElectronPixelMatchFilter.candTag = 'hltemuL1IsoSingleElectronHcalIsolFilter'
00181 hltemuL1IsoSingleElectronPixelMatchFilter.L1IsoPixelSeedsTag = 'l1IsoElectronPixelSeeds'
00182 hltemuL1IsoSingleElectronEoverpFilter.candTag = 'hltemuL1IsoSingleElectronPixelMatchFilter'
00183 hltemuL1IsoSingleElectronEoverpFilter.electronIsolatedProducer = 'pixelMatchElectronsL1IsoForHLT'
00184 hltemuL1IsoSingleElectronEoverpFilter.doIsolated = True
00185 hltemuL1IsoSingleElectronTrackIsolFilter.candTag = 'hltemuL1IsoSingleElectronEoverpFilter'
00186 hltemuL1IsoSingleElectronTrackIsolFilter.isoTag = 'l1IsoElectronTrackIsol'
00187 

Generated on Tue Jun 9 17:37:59 2009 for CMSSW by  doxygen 1.5.4