1 import FWCore.ParameterSet.Config
as cms
4 muonsPt10 = cms.EDFilter(
"MuonSelector",
5 src = cms.InputTag(
'muons'),
9 'numberOfMatches > 1 &' 10 'globalTrack.hitPattern.numberOfValidMuonHits > 0 &' 14 filter = cms.bool(
False)
18 import SimMuon.MCTruth.MuonTrackProducer_cfi
19 muonInnerTrack = SimMuon.MCTruth.MuonTrackProducer_cfi.muonTrackProducer.clone()
21 muonInnerTrack.muonsTag = cms.InputTag(
"muonsPt10")
22 muonInnerTrack.selectionTags = (
'All',)
23 muonInnerTrack.trackType =
"innerTrack" 26 MonitorTrackMuonsInnerTrack = DQM.TrackingMonitor.TrackingMonitor_cfi.TrackMon.clone()
27 MonitorTrackMuonsInnerTrack.TrackProducer =
'muonInnerTrack' 28 MonitorTrackMuonsInnerTrack.AlgoName =
'inner' 29 MonitorTrackMuonsInnerTrack.FolderName =
'Muons/Tracking/innerTrack' 30 MonitorTrackMuonsInnerTrack.doBeamSpotPlots =
True 31 MonitorTrackMuonsInnerTrack.BSFolderName =
'Muons/Tracking/innerTrack/BeamSpotParameters' 32 MonitorTrackMuonsInnerTrack.doSeedParameterHistos =
False 33 MonitorTrackMuonsInnerTrack.doProfilesVsLS =
False 34 MonitorTrackMuonsInnerTrack.doAllPlots =
False 35 MonitorTrackMuonsInnerTrack.doGeneralPropertiesPlots =
True 36 MonitorTrackMuonsInnerTrack.doHitPropertiesPlots =
True 37 MonitorTrackMuonsInnerTrack.doTrackerSpecific =
True 38 MonitorTrackMuonsInnerTrack.doDCAPlots =
True 39 MonitorTrackMuonsInnerTrack.doDCAwrtPVPlots =
True 40 MonitorTrackMuonsInnerTrack.doDCAwrt000Plots =
False 41 MonitorTrackMuonsInnerTrack.doSIPPlots =
True 42 MonitorTrackMuonsInnerTrack.doEffFromHitPatternVsPU =
True 43 MonitorTrackMuonsInnerTrack.doEffFromHitPatternVsBX =
False 44 MonitorTrackMuonsInnerTrack.TkSizeBin = 10
45 MonitorTrackMuonsInnerTrack.TkSizeMax = 10.
46 MonitorTrackMuonsInnerTrack.phiErrMax = 0.001
47 MonitorTrackMuonsInnerTrack.etaErrMax = 0.001
48 MonitorTrackMuonsInnerTrack.PVBin = 40
49 MonitorTrackMuonsInnerTrack.PVMin = -0.5
50 MonitorTrackMuonsInnerTrack.PVMax = 79.5
53 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
54 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
55 phase1Pixel.toModify(MonitorTrackMuonsInnerTrack, EtaBin=31, EtaMin=-3., EtaMax=3.)
56 phase2_tracker.toModify(MonitorTrackMuonsInnerTrack, EtaBin=46, EtaMin=-4.5, EtaMax=4.5)
57 phase2_tracker.toModify(MonitorTrackMuonsInnerTrack, PVBin=125, PVMin=-0.5, PVMax=249.5)
61 MonitorTrackINNMuons = cms.Sequence(cms.ignore(muonsPt10)+muonInnerTrack+MonitorTrackMuonsInnerTrack)