CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOMuAlGlobalCosmics_cff.py
Go to the documentation of this file.
1 # AlCaReco for muon alignment using global cosmic ray tracks
2 import FWCore.ParameterSet.Config as cms
3 
4 # HLT
6 ALCARECOMuAlGlobalCosmicsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7  andOr = True, ## choose logical OR between Triggerbits
8  eventSetupPathsKey = 'MuAlGlobalCosmics',
9  throw = False # tolerate triggers not available
10  )
11 
12 # DCS partitions
13 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
14 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
15 # "BPIX","FPIX","ESp","ESm"
16 import DPGAnalysis.Skims.skim_detstatus_cfi
17 ALCARECOMuAlGlobalCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
18  DetectorType = cms.vstring('DT0','DTp','DTm'),
19  ApplyFilter = cms.bool(True),
20  AndOr = cms.bool(False),
21  DebugOn = cms.untracked.bool(False)
22 )
23 
24 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
25 
26 ALCARECOMuAlGlobalCosmics = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
27  src = cms.InputTag("muonsBarrelOnly"),
28  filter = True, # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics
29  nHitMinGB = 1,
30  ptMin = 10.0,
31  etaMin = -100.0,
32  etaMax = 100.0
33  )
34 
35 seqALCARECOMuAlGlobalCosmics = cms.Sequence(ALCARECOMuAlGlobalCosmicsHLT + ALCARECOMuAlGlobalCosmicsDCSFilter + ALCARECOMuAlGlobalCosmics)