CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/Alignment/CommonAlignmentProducer/python/ALCARECOMuAlGlobalCosmicsInCollisions_cff.py

Go to the documentation of this file.
00001 # AlCaReco for muon Alignment using global cosmic ray tracks taken during collisions
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 # HLT
00005 import HLTrigger.HLTfilters.hltHighLevel_cfi
00006 ALCARECOMuAlGlobalCosmicsInCollisionsHLT = 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 ALCARECOMuAlGlobalCosmicsInCollisionsDCSFilter = 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 ALCARECOMuAlGlobalCosmicsInCollisions = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
00027     src = cms.InputTag("muonsFromCosmics"),
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 seqALCARECOMuAlGlobalCosmicsInCollisions = cms.Sequence(ALCARECOMuAlGlobalCosmicsInCollisionsHLT + ALCARECOMuAlGlobalCosmicsInCollisionsDCSFilter + ALCARECOMuAlGlobalCosmicsInCollisions)