CMS 3D CMS Logo

ALCARECOMuAlGlobalCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # HLT
5 ALCARECOMuAlGlobalCosmicsHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
6  andOr = True, ## choose logical OR between Triggerbits
7  eventSetupPathsKey = 'MuAlGlobalCosmicsInCollisions',
8  throw = False # tolerate triggers not available
9 )
10 
11 # DCS partitions
12 # "EBp","EBm","EEp","EEm","HBHEa","HBHEb","HBHEc","HF","HO","RPC"
13 # "DT0","DTp","DTm","CSCp","CSCm","CASTOR","TIBTID","TOB","TECp","TECm"
14 # "BPIX","FPIX","ESp","ESm"
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOMuAlGlobalCosmicsDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('DT0','DTp','DTm',"CSCp","CSCm"),
18  ApplyFilter = cms.bool(True),
19  AndOr = cms.bool(False), # False = at least one detector from DetectorType map above is ON
20  DebugOn = cms.untracked.bool(False)
21 )
22 
23 #________________________________Muon selection____________________________________
24 # AlCaReco selected muons for track based muon alignment
25 import Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi
26 ALCARECOMuAlGlobalCosmics = Alignment.CommonAlignmentProducer.AlignmentMuonSelector_cfi.AlignmentMuonSelector.clone(
27  src = cms.InputTag("muons"),
28  filter = cms.bool(True), # not strictly necessary, but provided for symmetry with MuAlStandAloneCosmics
29  ptMin = cms.double(10.0),
30  etaMin = cms.double(-100.0),
31  etaMax = cms.double(100.0),
32 )
33 
34 # AlCaReco selected Combinatorial Track Finder tracks for track based muon alignment
35 # (same cuts)
37 ALCARECOMuAlGlobalCosmicsCombinatorialTF = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
38  src = 'ctfWithMaterialTracksP5',
39  filter = cms.bool(True),
40  ptMin = cms.double(8.0),
41  etaMin = cms.double(-100.0),
42  etaMax = cms.double(100.0),
43  nHitMin = cms.double(7),
44  applyNHighestPt = cms.bool(True), ## select only 3 highest pT tracks
45  nHighestPt = cms.int32(3),
46  )
47 
48 # AlCaReco selected Cosmic Track Finder tracks for track based muon alignment
49 # (same cuts)
50 ALCARECOMuAlGlobalCosmicsCosmicTF = ALCARECOMuAlGlobalCosmicsCombinatorialTF.clone(
51  src = 'cosmictrackfinderP5'
52 )
53 
54 # AlCaReco selected Regional Cosmic Tracking tracks for track based muon alignment
55 # (same cuts)
56 ALCARECOMuAlGlobalCosmicsRegionalTF = ALCARECOMuAlGlobalCosmicsCombinatorialTF.clone(
57  src = 'regionalCosmicTracks'
58 )
59 
60 #________________________________Sequences____________________________________
61 seqALCARECOMuAlGlobalCosmics = cms.Sequence(ALCARECOMuAlGlobalCosmicsHLT + ALCARECOMuAlGlobalCosmicsDCSFilter + ALCARECOMuAlGlobalCosmics)
62 seqALCARECOMuAlGlobalCosmicsCombinatorialTF = cms.Sequence(ALCARECOMuAlGlobalCosmicsCombinatorialTF)
63 seqALCARECOMuAlGlobalCosmicsCosmicTF = cms.Sequence(ALCARECOMuAlGlobalCosmicsCosmicTF)
64 seqALCARECOMuAlGlobalCosmicsRegionalTF = cms.Sequence(ALCARECOMuAlGlobalCosmicsRegionalTF)
dont throw on unknown path names