CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/Alignment/CommonAlignmentProducer/python/ALCARECOMuAlGlobalCosmics_cff.py

Go to the documentation of this file.
00001 # AlCaReco for muon Alignment using global cosmic ray tracks
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 # HLT
00005 import HLTrigger.HLTfilters.hltHighLevel_cfi
00006 ALCARECOMuAlGlobalCosmicsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00007     andOr = True, ## choose logical OR between Triggerbits
00008     eventSetupPathsKey = 'MuAlGlobalCosmics',
00009     throw = False # tolerate triggers not available
00010     )
00011 
00012 # DCS partitions
00013 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
00014 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
00015 # "BPIX","FPIX","ESp","ESm"
00016 import DPGAnalysis.Skims.skim_detstatus_cfi
00017 ALCARECOMuAlGlobalCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
00018     DetectorType = cms.vstring('DT0','DTp','DTm'),
00019     ApplyFilter  = cms.bool(True),
00020     AndOr        = cms.bool(False),
00021     DebugOn      = cms.untracked.bool(False)
00022 )
00023 
00024 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
00025 
00026 ALCARECOMuAlGlobalCosmics = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
00027     src = cms.InputTag("muons"),
00028     filter = True, # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics
00029     nHitMinGB = 1,
00030     ptMin = 10.0,
00031     etaMin = -100.0,
00032     etaMax =  100.0
00033     )
00034 
00035 seqALCARECOMuAlGlobalCosmics = cms.Sequence(ALCARECOMuAlGlobalCosmicsHLT + ALCARECOMuAlGlobalCosmicsDCSFilter + ALCARECOMuAlGlobalCosmics)