CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Alignment/CommonAlignmentProducer/python/ALCARECOTkAlMuonIsolated_cff.py

Go to the documentation of this file.
00001 # AlCaReco for track based Alignment using isolated muon tracks
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 import HLTrigger.HLTfilters.hltHighLevel_cfi
00005 ALCARECOTkAlMuonIsolatedHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00006     andOr = True, ## choose logical OR between Triggerbits
00007     eventSetupPathsKey = 'TkAlMuonIsolated',
00008     throw = False # tolerate triggers stated above, but not available
00009     )
00010 
00011 # DCS partitions
00012 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00013 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00014 # "BPIX","FPIX","ESp","ESm"
00015 import DPGAnalysis.Skims.skim_detstatus_cfi
00016 ALCARECOTkAlMuonIsolatedDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
00017     DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
00018                                'DT0','DTp','DTm','CSCp','CSCm'),
00019     ApplyFilter  = cms.bool(True),
00020     AndOr        = cms.bool(True),
00021     DebugOn      = cms.untracked.bool(False)
00022 )
00023 
00024 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
00025 ALCARECOTkAlMuonIsolatedGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
00026 ALCARECOTkAlMuonIsolatedRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
00027     src = 'ALCARECOTkAlMuonIsolatedGoodMuons'
00028 )
00029 
00030 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
00031 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
00032     filter = True, ##do not store empty events
00033     applyBasicCuts = True,
00034     ptMin = 2.0, ##GeV 
00035     etaMin = -3.5,
00036     etaMax = 3.5,
00037     nHitMin = 0
00038 )
00039 
00040 ALCARECOTkAlMuonIsolated.GlobalSelector.muonSource = 'ALCARECOTkAlMuonIsolatedRelCombIsoMuons'
00041 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
00042 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest = False
00043 ALCARECOTkAlMuonIsolated.GlobalSelector.minJetDeltaR = 0.1
00044 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter = True
00045 
00046 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter = False
00047 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter = False
00048 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter = False
00049 
00050 seqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedHLT+ALCARECOTkAlMuonIsolatedDCSFilter+ALCARECOTkAlMuonIsolatedGoodMuons+ALCARECOTkAlMuonIsolatedRelCombIsoMuons+ALCARECOTkAlMuonIsolated)