CMS 3D CMS Logo

ALCARECOSiPixelCalSingleMuonTight_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
7 ALCARECOSiPixelCalSingleMuonTightHLTFilter = hltHighLevel.clone()
8 ALCARECOSiPixelCalSingleMuonTightHLTFilter.andOr = True
9 ALCARECOSiPixelCalSingleMuonTightHLTFilter.throw = False
10 ALCARECOSiPixelCalSingleMuonTightHLTFilter.eventSetupPathsKey = 'SiPixelCalSingleMuon' # share the same trigger bit with the loose one
11 
12 
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOSiPixelCalSingleMuonTightDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17  DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
18  'DT0','DTp','DTm','CSCp','CSCm'),
19  ApplyFilter = cms.bool(True),
20  AndOr = cms.bool(True),
21  DebugOn = cms.untracked.bool(False)
22 )
23 
24 
27 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
28 ALCARECOSiPixelCalSingleMuonTightGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
29 ALCARECOSiPixelCalSingleMuonTightRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
30  src = 'ALCARECOSiPixelCalSingleMuonTightGoodMuons'
31 )
32 
33 
37 ALCARECOSiPixelCalSingleMuonTight = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
38  filter = True,
39  applyBasicCuts = True,
40  ptMin = 2.0,
41  etaMin = -3.5,
42  etaMax = 3.5,
43  nHitMin = 0
44 )
45 
46 
49 ALCARECOSiPixelCalSingleMuonTight.GlobalSelector.muonSource = 'ALCARECOSiPixelCalSingleMuonTightRelCombIsoMuons'
50 # Isolation is shifted to the muon preselection, and then applied intrinsically if applyGlobalMuonFilter = True
51 ALCARECOSiPixelCalSingleMuonTight.GlobalSelector.applyIsolationtest = False
52 ALCARECOSiPixelCalSingleMuonTight.GlobalSelector.minJetDeltaR = 0.1
53 ALCARECOSiPixelCalSingleMuonTight.GlobalSelector.applyGlobalMuonFilter = True
54 ALCARECOSiPixelCalSingleMuonTight.TwoBodyDecaySelector.applyMassrangeFilter = False
55 ALCARECOSiPixelCalSingleMuonTight.TwoBodyDecaySelector.applyChargeFilter = False
56 ALCARECOSiPixelCalSingleMuonTight.TwoBodyDecaySelector.applyAcoplanarityFilter = False
57 
58 
62 #from RecoTracker.Configuration.RecoTrackerP5_cff import *
64 
65 ALCARECOSiPixelCalSingleMuonTightTracksRefit = TrackRefitter.clone(src = cms.InputTag("ALCARECOSiPixelCalSingleMuonTight"),
66  NavigationSchool = cms.string("")
67  )
68 
69 
72 import Calibration.TkAlCaRecoProducers.NearbyPixelClustersProducer_cfi as NearbyPixelClusters
73 closebyPixelClusters = NearbyPixelClusters.NearbyPixelClustersProducer.clone(clusterCollection = 'siPixelClusters',
74  trajectoryInput = 'ALCARECOSiPixelCalSingleMuonTightTracksRefit')
75 
76 
79 ALCARECOSiPixelCalSingleMuonTightOffTrackClusters = cms.Sequence(ALCARECOSiPixelCalSingleMuonTightTracksRefit +
80  closebyPixelClusters)
81 
82 
85 import Calibration.TkAlCaRecoProducers.TrackDistanceValueMapProducer_cfi as TrackDistanceValueMap
86 trackDistances = TrackDistanceValueMap.TrackDistanceValueMapProducer.clone(muonTracks = 'ALCARECOSiPixelCalSingleMuonTight')
87 
88 
91 seqALCARECOSiPixelCalSingleMuonTight = cms.Sequence(offlineBeamSpot+
92  ALCARECOSiPixelCalSingleMuonTightHLTFilter+
93  ALCARECOSiPixelCalSingleMuonTightDCSFilter+
94  ALCARECOSiPixelCalSingleMuonTightGoodMuons+
95  ALCARECOSiPixelCalSingleMuonTightRelCombIsoMuons+
96  ALCARECOSiPixelCalSingleMuonTight+
97  trackDistances +
98  ALCARECOSiPixelCalSingleMuonTightOffTrackClusters)
99 
100 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
101 pp_on_AA.toModify(ALCARECOSiPixelCalSingleMuonTightHLTFilter,
102  eventSetupPathsKey='SiPixelCalSingleMuonHI'
103 )
dont throw on unknown path names