Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:47

0001 # AlCaReco for muon alignment using global cosmic ray tracks taken during collisions
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 # HLT
0005 import HLTrigger.HLTfilters.hltHighLevel_cfi
0006 ALCARECOMuAlGlobalCosmicsInCollisionsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0007     andOr = True, ## choose logical OR between Triggerbits
0008     eventSetupPathsKey = 'MuAlGlobalCosmicsInCollisions',
0009     throw = False # tolerate triggers not available
0010     )
0011 
0012 # DCS partitions
0013 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
0014 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
0015 # "BPIX","FPIX","ESp","ESm"
0016 import DPGAnalysis.Skims.skim_detstatus_cfi
0017 ALCARECOMuAlGlobalCosmicsInCollisionsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0018     DetectorType = cms.vstring('DT0','DTp','DTm'),
0019     ApplyFilter  = cms.bool(True),
0020     AndOr        = cms.bool(False),
0021     DebugOn      = cms.untracked.bool(False)
0022 )
0023 
0024 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
0025 
0026 ALCARECOMuAlGlobalCosmicsInCollisions = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
0027     src = cms.InputTag("muonsFromCosmics"),
0028     filter = True, # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics
0029     nHitMinGB = 1,
0030     ptMin = 10.0,
0031     etaMin = -100.0,
0032     etaMax =  100.0
0033     )
0034 
0035 seqALCARECOMuAlGlobalCosmicsInCollisions = cms.Sequence(ALCARECOMuAlGlobalCosmicsInCollisionsHLT + ALCARECOMuAlGlobalCosmicsInCollisionsDCSFilter + ALCARECOMuAlGlobalCosmicsInCollisions)